Click here to Skip to main content
15,885,044 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi All.
How is it possible to get the value of the selected row of a gridview through a button click event.Actually this is the case.The gridview delete button when hit displays a modalpopup to confirm if a user wants to delete.Now if the user hits OK then the button click event of the OK button needs to get the value of that particular row.

Thanks
Posted
Updated 31-Oct-12 13:24pm
v2
Comments
Sergey Alexandrovich Kryukov 31-Oct-12 17:44pm    
Modal popup? Application type, please. Tag it.
--SA
Ed Nutting 31-Oct-12 18:21pm    
OP responded below on a new thread by the way.
Ed
Sergey Alexandrovich Kryukov 31-Oct-12 19:08pm    
Thank you, Ed.
--SA
Member 9291223 31-Oct-12 18:11pm    
well its a web application
Ed Nutting 31-Oct-12 18:21pm    
Would help if you replied to Sergey's comment rather than posting a new thread... Use the 'Reply' button on the right hand side not the 'New Comment' as you have done.
Ed

1 solution

Please refer to link for the solution[^]

I think this solves your problem.
 
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