Checking All Checkboxes in a GridView Using jQuery

Posted on Internet.com See other posts from Internet.com
Published on Tue, 07 Dec 2010 05:00:00 +0100 Indexed on 2010/12/21 5:00 UTC
Read the original article Hit count: 195

Filed under:
In May 2006 I wrote two articles that showed how to add a column of checkboxes to a GridView and offer the ability for users to check (or uncheck) all checkboxes in the column with a single click of the mouse. The first article, Checking All CheckBoxes in a GridView, showed how to add "Check All" and "Uncheck All" buttons to the page above the GridView that, when clicked, checked or unchecked all of the checkboxes. The second article, Checking All CheckBoxes in a GridView Using Client-Side Script and a Check All CheckBox, detailed how to add a checkbox to the checkbox column in the grid's header row that would check or uncheck all checkboxes in the column.

© Internet.com or respective owner