GridView Events
Assembly: System.Web (in System.Web.dll)
| Name | Description | |
|---|---|---|
![]() | CallingDataMethods | Occurs when data methods are being called.(Inherited from DataBoundControl.) |
![]() | CreatingModelDataSource | Occurs when the ModelDataSource object is being created.(Inherited from DataBoundControl.) |
![]() | DataBinding | Occurs when the server control binds to a data source.(Inherited from Control.) |
![]() | DataBound | Occurs after the server control binds to a data source.(Inherited from BaseDataBoundControl.) |
![]() | 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.) |
![]() | Init | Occurs when the server control is initialized, which is the first step in its lifecycle.(Inherited from Control.) |
![]() | Load | |
![]() | PageIndexChanged | Occurs when one of the pager buttons is clicked, but after the GridView control handles the paging operation. |
![]() | PageIndexChanging | Occurs when one of the pager buttons is clicked, but before the GridView control handles the paging operation. |
![]() | PreRender | |
![]() | RowCancelingEdit | Occurs when the Cancel button of a row in edit mode is clicked, but before the row exits edit mode. |
![]() | RowCommand | Occurs when a button is clicked in a GridView control. |
![]() | RowCreated | Occurs when a row is created in a GridView control. |
![]() | RowDataBound | Occurs when a data row is bound to data in a GridView control. |
![]() | RowDeleted | Occurs when a row's Delete button is clicked, but after the GridView control deletes the row. |
![]() | RowDeleting | Occurs when a row's Delete button is clicked, but before the GridView control deletes the row. |
![]() | RowEditing | Occurs when a row's Edit button is clicked, but before the GridView control enters edit mode. |
![]() | RowUpdated | Occurs when a row's Update button is clicked, but after the GridView control updates the row. |
![]() | RowUpdating | Occurs when a row's Update button is clicked, but before the GridView control updates the row. |
![]() | SelectedIndexChanged | Occurs when a row's Select button is clicked, but after the GridView control handles the select operation. |
![]() | SelectedIndexChanging | Occurs when a row's Select button is clicked, but before the GridView control handles the select operation. |
![]() | Sorted | Occurs when the hyperlink to sort a column is clicked, but after the GridView control handles the sort operation. |
![]() | Sorting | Occurs when the hyperlink to sort a column is clicked, but before the GridView control handles the sort operation. |
![]() | Unload | Occurs when the server control is unloaded from memory.(Inherited from Control.) |
