Click here to Skip to main content
16,011,608 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
Hi all

i am using ScriptScriptManager.RegisterStartupScript to display result
ScriptManager.RegisterStartupScript(Page, GetType(), "MyScript", "alert('Sucessfully Saved.');", true);

it has option ok only

I want same message box with ok and cancel ..when i click ok only i want to proceed to next step.otherwise want to be there in the same page

How to do that ..

Thanks in advance

Regards

Amritha
Posted
Updated 3-May-11 0:48am
v2

Use the confirm() function of the javascipt.
 
Share this answer
 
use the confirm box insted of alert http://www.w3schools.com/JS/js_popup.asp
 
Share this answer
 
v2

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