Click here to Skip to main content
15,921,694 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have the following code to show a confirmation messagebox in asp.net and it's work well.
but now I want to know how can I get the result of that confirmation message box
(To know wethere yes or no button is clicked by the user ,to make decision upon it)

current code is:


string Message = "This is your Confirm Message !";
ClientScript.RegisterStartupScript
(
this.GetType(), "confirm", "confirm('" + Message + "');", true
);
Posted

 
Share this answer
 
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900