WEBINAR: On-demand webcast
How to Boost Database Development Productivity on Linux, Docker, and Kubernetes with Microsoft SQL Server 2017 REGISTER >
In May 2006 Scott Mitchell wrote two articles that showed users how to add a column of checkboxes to a GridView with 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. Both articles showed how to implement such functionality on the client-side, thereby removing the need for a postback.
- Controlling our ClientIDs in ASP.NET 4
- 10 Common HTML Mistakes When Scripting for an ASP.NET Page
- Top 7 Features of the ASP.NET MVC Framework