1
Answer

JS Prompt box - OnCancel Click handle

Rp Singh

Rp Singh

7y
224
1
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)