SharePoint - Select event on SPGrid - Asked By Bookworm on 04-Jan-12 07:30 AM

Hi,

I have a SPGridView, and in the left side i have button select for each row
i want to know how to generate the select event handler, because i need that in the moment that the user click select button, to do smth with the fields of that row?
any help?

thnx in advance

   
Riley K replied to Bookworm on 04-Jan-12 07:35 PM


you can use JQuery/JavaScript to find the button in the page and raise the click event. If no, register a click event for the button while creating it and adding it to the grid view. 

http://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/99e457d7-9b5c-4f8b-b5d4-0ee9b0c5b124/ 
http://social.msdn.microsoft.com/Forums/en/sharepointdevelopment/thread/42b9a0cb-d213-448d-a609-f1056c76562e 


Regards