Reputation: 657
Response.Write("<td><a href= view5.aspx?file=" + strheadlinesid + "\\" + FI.Name + "> " +
FI.Name + "</a></td>");
I have above line in my code which is redirecting my page to view5.aspx. But I want to open the view5.aspx in new tab how can I do that.
Upvotes: 0
Views: 3168
Reputation: 2796
Response.Write("<td><a target='blank' href= view5.aspx?file=" + strheadlinesid + "\\" + FI.Name + "> " +
FI.Name + "</a></td>");
Add target='blank' in a tag
Upvotes: 1