Ms_ Dev

Ms_ Dev

  • NA
  • 236
  • 91.8k

JS Prompt box - OnCancel Click handle

Feb 7 2017 12:02 AM
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)