1,128
99.9
Apr 04, 2011
As far as I know, this is not possible to do using Response.Redirect since it is on the server side. Your best bet would probably be to use JavaScript... but that will not work if the user has JavaScriptdisabled.
Good Luck!
50
50
Apr 30, 2012
hi
u try this one!!!!
<asp:Button ID="btnSubmit" runat="server" Text="Submit" OnClick="btnSubmit_Click" />
-----------------------------------------------------------------------------------------------------------------------------
protected void btnSubmit_Click(object sender, EventArgs e)
{
Response.Write("<script>window.open( '../yourpage.aspx' , '-blank' );</script>");
}
72
96.0
Feb 24, 2013
This question was posed almost 2 years ago.
Is there anything new in JavaScript or HTML 5 that makes this possible?
Thank you.