DataGrid
Controls Suite 4.5 |
![](/Skins/Menu_Side/LineTop.gif) | Overview |
![](/Skins/Menu_Side/LineMiddle.gif) | Features |
![](/Skins/Menu_Side/Expand.gif) | Reference Book |
![](/Skins/Menu_Side/Collapse.gif) | Live Demos |
| ![](/Skins/Menu_Side/Expand.gif) | Populating with Data |
| ![](/Skins/Menu_Side/Expand.gif) | Columns |
| ![](/Skins/Menu_Side/Collapse.gif) | Rows |
| ![](/Skins/Menu_Side/Expand.gif) | Appearance & Layout |
| ![](/Skins/Menu_Side/Expand.gif) | Behavior |
| ![](/Skins/Menu_Side/Expand.gif) | Bottom Bar |
| ![](/Skins/Menu_Side/Expand.gif) | Application scenarios |
| | ![](/Skins/Menu_Side/LineMiddle.gif) | Master/Detail Grids |
| | ![](/Skins/Menu_Side/LineMiddle.gif) | CheckBoxes |
| | ![](/Skins/Menu_Side/LineMiddle.gif) | DropDowns |
| | ![](/Skins/Menu_Side/LineMiddle.gif) | Images |
| | ![](/Skins/Menu_Side/LineBottom.gif) | Update Panel |
|
|
|
This example causes an ASP.NET postback when a row is selected and raises a OnRowClick event on the server side. Click on any row to launch the server-side event.
- The AutoPostBackOnRowClick property specifies whether the control causes a postback to the server when a row is clicked.
- The AutoPostBackOnRowDblClick property specifies whether the control causes a postback to the server when a row is double-clicked.
- The HighlightSelectedRow property specifies the value indicating whether the selected row is highlighted.
- The method GetSelectedRow() returns the selected row.
- The property Selected specifies a Boolean value that indicates whether the row is selected.
|