When placing a link using html, it's easy to have a new window opened for
the link instead of redirecting the current page to the destination. IE:
<a href="../folder5/anotherpage.asp x" target=_blank>A nother Page</a>
I've placed a button on the page that I would like to have do the same
thing:
<asp:button id="btnAnotherP ageLink" runat="Server" text="Another Page" />
Protected Sub btnAnotherPageL ink_Click(ByVal sender As Object, ByVal e As
System.EventArg s) Handles btnActiveDialup .Click
Response.Redire ct("../folder5/anotherpage.asp x")
End Sub
This will cause the current page to navigate to the destination page. How
can I have a new window open up and load the destination page instead?
TIA,
Jim
the link instead of redirecting the current page to the destination. IE:
<a href="../folder5/anotherpage.asp x" target=_blank>A nother Page</a>
I've placed a button on the page that I would like to have do the same
thing:
<asp:button id="btnAnotherP ageLink" runat="Server" text="Another Page" />
Protected Sub btnAnotherPageL ink_Click(ByVal sender As Object, ByVal e As
System.EventArg s) Handles btnActiveDialup .Click
Response.Redire ct("../folder5/anotherpage.asp x")
End Sub
This will cause the current page to navigate to the destination page. How
can I have a new window open up and load the destination page instead?
TIA,
Jim
Comment