Consider a GridView with a checkbox column. We want to select all checkboxes or clear all checkboxes within this column using a Select All
checkbox in the header row.
GridView Definition
The GridView has a template column. Template defines the header row as well as the item row. In the header row, we have the Select All
checkbox. And within in the item row, we have a checkbox to select an item.…