Click here to Skip to main content
15,902,299 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
please help me in creating a alert before deleting a row in gridview, as for my requirement i created a grid in ascx page and calling in aspx page. I have a LinkButton for deleting and the functionality is working fine but i'm unable to get a popup warning before delete. If i use "return confirmation('alert before delete')" it's working fine, instead of alert i need a popup. I need to all it in onClientClick as i have code behind calling in onClick

please help me thanks
Posted
Updated 12-Mar-14 22:54pm
v2

1 solution

1. You can show popup using jQueryUI. Visit below link:

http://jqueryui.com/dialog/[^]

2. If you do not want to use jQueryUI then you can use CSS. Visit below links:

http://jsfiddle.net/B4t3V/[^]

http://www.alessioatzeni.com/blog/login-box-modal-dialog-window-with-css-and-jquery/[^]

http://stackoverflow.com/questions/1328723/how-to-generate-a-simple-popup-using-jquery[^]


Hope above links will help you.
 
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