1
Reply

JS Prompt box - OnCancel Click handle

Rp Singh

Rp Singh

Feb 7 2017 12:02 AM
212
Hi All,
 
I am creating an application  in APSP.NET where i have to redirect to homepage if user clicks  Cancel button in JS Prompt box.
 
<asp:Button runat="server" ID="btnsubmit" Text="Submit" OnClick="OnSubmitClick" />
 
 
can i give as - OnClientClick="Response.Redirect("Home.aspx");" 
 
Please HELP.
 
Thanks,
 

Answers (1)