DataGrid Events
Assembly: System.Web (in System.Web.dll)
| Name | Description | |
|---|---|---|
![]() | CancelCommand | Occurs when the Cancel button is clicked for an item in the DataGrid control. |
![]() | DataBinding | Occurs when the server control binds to a data source.(Inherited from Control.) |
![]() | DeleteCommand | Occurs when the Delete button is clicked for an item in the DataGrid control. |
![]() | Disposed | Occurs when a server control is released from memory, which is the last stage of the server control lifecycle when an ASP.NET page is requested.(Inherited from Control.) |
![]() | EditCommand | Occurs when the Edit button is clicked for an item in the DataGrid control. |
![]() | Init | Occurs when the server control is initialized, which is the first step in its lifecycle.(Inherited from Control.) |
![]() | ItemCommand | Occurs when any button is clicked in the DataGrid control. |
![]() | ItemCreated | Occurs on the server when an item in the DataGrid control is created. |
![]() | ItemDataBound | Occurs after an item is data bound to the DataGrid control. |
![]() | Load | |
![]() | PageIndexChanged | Occurs when one of the page selection elements is clicked. |
![]() | PreRender | |
![]() | SelectedIndexChanged | Occurs when a different item is selected in a data listing control between posts to the server.(Inherited from BaseDataList.) |
![]() | SortCommand | Occurs when a column is sorted. |
![]() | Unload | Occurs when the server control is unloaded from memory.(Inherited from Control.) |
![]() | UpdateCommand | Occurs when the Update button is clicked for an item in the DataGrid control. |
