How do I make asp:hyperlink control force to open a new page?
I have a asp:hyperlink control for which I am setting the NavigateURL value dynamically. I want to 'force' the link to ALWAYS open in a new window across ALL browsers. With Target="_blank" currently it sometimes opens in a tab and sometimes in a new window, but for this specific instance I want it to always open a new window.
You can not control the behavior of the browser.Opening a new tab/window is functionality defined by the browser.
Say for example for the following code
Open in new window
Chrome Version 31.0.1650.63 m open up new window
firefox opens new tab
IE-11 opens up tab
IE-9 opens up new window
So that's browser developers who are making this thing variant.
hope this is helpful :)