Here is the column definition in my editforms child grid: The following example demonstrates how to select or deselect all rows in a Grid by checking the Select All column header of the template checkbox.. You can also select multiple rows by using the checkboxes and apply custom styling of the checkboxes. PROJECT DESCRIPTION The demo presents how to check/uncheck all grid rows upon clicking the checkbox inside a template column HeaderTemplate.To accomplish this task we attach the CheckAll() function to the onclick attribute of the checkbox inside the column header. Further during the implementation, I faced a validation requirement of “Select at least one checkbox” before proceeding. To select all the CheckBoxes in listview, when header CheckBox is selected & vice-versa Set "setOnClickListener" NOT "setOnCheckedChangeListener" for CheckBox in header "checkBox_header" /* * Select All / None DO NOT USE "setOnCheckedChangeListener" here. I have a grid that when put in edit mode has a popup editform that has another grid containing records with checkboxes in the grid column edit template. Here is two example both are doing different - different work the code given below is for changing the check of all child checkbox of a table, gridview as header checkbox check change and the second code is for changing the check of all checkboxes of the particular specific column as header checkbox check change. $('#headerCheckbox').click(function () { var isheaderChecked = this.checked; $(".childCheckBox").each(function () { this.checked = isChecked; }) })but also remember that you need to deselect the header checkbox when any one of the child checkbox … The first column of WebGrid will contain the CheckBoxes and the check all (select all) CheckBoxes functionality will be implemented using jQuery in ASP.Net MVC Razor. Solution. Here Mudassar Ahmed Khan has explained with an example, how to check all (select all) CheckBoxes in WebGrid using a CheckBox in Header row in ASP.Net MVC Razor. The check and uncheck of Checkboxes us controlled from Header Row CheckBox, when Header CheckBox is checked all the CheckBoxes are selected and when unchecked then all the CheckBoxes … Hi. Here Mudassar Ahmed Khan has explained with an example and attached sample code, how to check or uncheck all checkbox or checkboxes in GridView using JavaScript in ASP.Net. In the header there is a "check all" checkbox. How can I select or deselect all rows in the Kendo UI Grid for jQuery with a Select All header checkbox?.