Click here to Skip to main content
15,896,435 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi to all
my requirement is

how to implement confirm button in in grid view and if user click on OK button in confirm box we have to write any update query and if cancel back to the operation.
Posted

1 solution

Add a ButtonField or TemplateField with a normal Button. Then you can handle the button's client click. Inside the client click, open a confirm box.

Then you can also write your logic for "Ok" and "Cancel" buttons.
 
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