How to open a link in new tab without using target property?

Posted by Loganathanav under ASP.NET on 2/6/2012 | Points: 10 | Views : 2618 | Status : [Member] | Replies : 2
I want to open the link in a new tab of the browser. But, should not use the target="_blank" property. How to achieve this in ASP.Net, C#?




Responses

Posted by: Blessyjees on: 2/6/2012 [Member] Bronze | Points: 25

Up
0
Down
hi,

Try this
<a href="javascript:window.open('about.aspx','_blank')">test</a>

Blessy Baby
Digitalmesh Softech pvt Ltd
https://blessybaby.wordpress.com/

Loganathanav, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Tra072011 on: 8/19/2012 [Member] Starter | Points: 25

Up
0
Down
Hi

You can find this info by using search box in the top of website with some keywords related before posting questions.

If you want to get more materials that related to this topic, you can visit: http://interviewquestionstoask.info/target-interview-questions/

Best regards.



Loganathanav, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response