access row number OnCheckedChanged inside gridView [modified]
-
Hi, I'm using a gridview control. It has a checkbox template field with an OnCheckedChanged event. How do I access row number in gridview inside OnCheckedChanged event of my checkbox? Thanks!!! -- modified at 6:55 Wednesday 16th May, 2007
Gerri
Hi Are you calling a Javascript method from code behind for the event OnCheckedChangedEvent? So you might have attached the event in run time.. Right ??? Pass ClientID of the field Checkbox as a parameter to the calling method. Then using that parameter you can easily locate a row of GridView Hope this helps.
Harini
-
Hi Are you calling a Javascript method from code behind for the event OnCheckedChangedEvent? So you might have attached the event in run time.. Right ??? Pass ClientID of the field Checkbox as a parameter to the calling method. Then using that parameter you can easily locate a row of GridView Hope this helps.
Harini