Check Uncheck all checkboxes in ASP.Net Gridview using jquery
Select deselect all checkboxes Asp.Net Gridview using jquery
Select deselect all checkboxes jquery
Multiple checkbox Select/Deselect using jquery

In this blog post, we will see a small example to check or uncheck all checkboxes in a html table using jquery. You can implement the same code in Asp.net gridview.

To make this work, first you need to use jquery in your web page.

There are many articles on web providing code samples to check or uncheck all checkboxes.
But here we will also see how a header checkbox acts indeterminate when few of the checkboxes are checked/unchecked.

The working example code is given below.

check-uncheck-all-checkboxes-jquery