RadGrid for ASP .NET version
RadControls for ASP .NET AJAX version |
3.5.1 and later
2008.1.415 and later
|
.NET version |
1.x (RadGrid for ASP .NET)
2.0 and later (RadControls for ASP .NET AJAX)
|
Visual Studio version |
2002/2003 (RadGrid for ASP .NET)
2005 and later(RadControls for ASP .NET AJAX)
|
Programming language |
C#, VB.NET
|
Browser support |
all supported by RadGrid for ASP .NET
all browsers supported by RadControls for ASP .NET AJAX
|
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.
In addition, row selection is enabled (
AllowRowSelect = true) which allows each item to be selected when clicking on a grid row with the mouse or clicking the checkbox inside the row.
Note: The last active item in the grid will retain highlighted when you check/uncheck all rows from the checkbox in the header. You can modify the application to extend the check/uncheck/selection logic as per your custom requirements.