JavaScript CheckAll checkbox changes not being picked up by GridView code behind

If you need to use JavaScript to do a Check All on all the checkboxes in the column, be sure to use this guy's code:

http://www.highoncoding.com/Articles/81_Selecting_Checkboxes_inside_GridView_Control.aspx

If your code simply change the state (...checked == true), it does not get registered and does not get passed into the code behind.  Instead, follow AzamSharp's article and make sure you initiate a click() event.

 

Print | posted on Wednesday, February 24, 2010 4:03 PM

Feedback

No comments posted yet.

Your comment:





 

Copyright © Kevin Shyr

Design by Bartosz Brzezinski

Design by Phil Haack Based On A Design By Bartosz Brzezinski