Hi! I want use target in Response.Redirect(“example.aspx” target=”_newtab”) without javascript. Because ext.net button not supported this with javascript code. Can I use this method?
Hi Nurali,
You can't. The browser is the only thing that can open up a new window. You have to write like below.
Response.Write("<script>window.open('example.aspx','_blank')</script>");
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.