Grouping in GridView
How to use the control?
- Download the control from the link below
- Add the control to your ToolBox panel by locating the dll file.
- Drag ZNetGridView on your .aspx form
- Define the properties of the control
- For grouping, make EnableGrouping = true and set the CSS for Grouping header inside the "Grouping" cateogry of properties window. To make grouping inside the control, you have to first specify the datakey(s) for data binding and then specify the "GroupingDataKeyIndex" for grouping so that the control will group with respect to that particular datakey. Care should be taken that the GroupingDataKeyIndex should always be less than count of datakey(s)
- User has the option to make the header visible inside each group (multi header gridview) as below.
To enable it, make "ShowColumnHeaderInsideGroups" = true - For record indexing, make "EnableRecordIndexing" = true in the "Record Indexing" cateogory of property dialog box. You can set the header text for indexing column and CSS styles as well

Download
The latest release of the control is available for downlad at http://code.msdn.microsoft.com/ZNetControls
Tested Platforms : IE and FireFox browsers.