if you are using Hyperlink then use Target Attribute
Behavior for Target Attribute is depend on Browsers
target="_blank"
older browser --> In New Window cause No tabbing Support.
Newer browser---> new Tab.
and if You Want you use Button then markup your button definition like this,
<asp:Button ........OnClientClick="NameofForm.target ='_blank';"/>
in code behind use redirection
When user is authenticated, add a session variable to confirm authentication, use that session variable to check whether the user is authenticated or not and if authenticated, write a javascript code as:
window.open("http://www.yahoo.com");
So, after your page is refreshed post authentication, the window will open.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.