Click here to Skip to main content
16,020,459 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to give confirmation box in asp.net? If i select Yes then some action should happen like update or delete. i cant use ajax since it is causing conflict issues with the application.
Posted
Comments
j snooze 3-Jun-14 17:40pm    
can't you just us a javascript confirm("Are you sure you want to delete?")
Member 10755410 3-Jun-14 17:53pm    
i could but the team lead wants it to look more nice, so that is why i am trying this modal popup.
j snooze 3-Jun-14 17:54pm    
jqueryui has a nice modal pop up. works great.

The simplest one is the Javascript confirm(): http://www.w3schools.com/jsref/met_win_confirm.asp[^].

For something fancier, you can use jQuery dialog: http://jqueryui.com/dialog[^].

There are a lot of other jQuery plug-ins with modal behavior: http://bit.ly/YBKflp[^].

—SA
 
Share this answer
 
XML
<telerik:RadWindowManager ID="RadWindowManager1" Skin="WebBlue" runat="server" EnableShadow="true">
   </telerik:RadWindowManager>


in .Cs


XML
RadWindowManager1.RadAlert("Your Message" + Resources.Messages.InsertSuccess, 300, 150, "Alert Message", "", "");
 
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