Click here to Skip to main content
15,892,517 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi all,

I want to show modal popup on delete command of gridveiw .
How to implement it please let me know.

Thanking You
Mohammad Wasif
Posted
Comments
Ankur\m/ 27-Jan-11 4:57am    
Have you tried anything, at least Google?!
saini arun 27-Jan-11 4:59am    
The best thing about googling for the solution of a problem is you do not have to wait for the replies.

http://www.google.com/search?q=show+modal+popup+on+delete+command+of+gridveiw&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a#hl=en&client=firefox-a&hs=el4&pwst=1&rls=org.mozilla:en-US:official&&sa=X&ei=wUFBTcvwKcfIrQesuNkC&ved=0CBMQvwUoAQ&q=show+modal+popup+on+delete+command+of+gridview&spell=1&fp=db5121e134bb281b

1 solution

You have to just take a one ajax popup extender control in aspx pahe. Take one lable and give that label id as targercontrolid in Extender control.

At Coding side on grod rowcommand event handle delete button commandname event and show your modelpopup like mpPopup.Show()
 
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