GridView Events

 

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

NameDescription
System_CAPS_pubeventCallingDataMethods

Occurs when data methods are being called.(Inherited from DataBoundControl.)

System_CAPS_pubeventCreatingModelDataSource

Occurs when the ModelDataSource object is being created.(Inherited from DataBoundControl.)

System_CAPS_pubeventDataBinding

Occurs when the server control binds to a data source.(Inherited from Control.)

System_CAPS_pubeventDataBound

Occurs after the server control binds to a data source.(Inherited from BaseDataBoundControl.)

System_CAPS_pubeventDisposed

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.)

System_CAPS_pubeventInit

Occurs when the server control is initialized, which is the first step in its lifecycle.(Inherited from Control.)

System_CAPS_pubeventLoad

Occurs when the server control is loaded into the Page object.(Inherited from Control.)

System_CAPS_pubeventPageIndexChanged

Occurs when one of the pager buttons is clicked, but after the GridView control handles the paging operation.

System_CAPS_pubeventPageIndexChanging

Occurs when one of the pager buttons is clicked, but before the GridView control handles the paging operation.

System_CAPS_pubeventPreRender

Occurs after the Control object is loaded but prior to rendering.(Inherited from Control.)

System_CAPS_pubeventRowCancelingEdit

Occurs when the Cancel button of a row in edit mode is clicked, but before the row exits edit mode.

System_CAPS_pubeventRowCommand

Occurs when a button is clicked in a GridView control.

System_CAPS_pubeventRowCreated

Occurs when a row is created in a GridView control.

System_CAPS_pubeventRowDataBound

Occurs when a data row is bound to data in a GridView control.

System_CAPS_pubeventRowDeleted

Occurs when a row's Delete button is clicked, but after the GridView control deletes the row.

System_CAPS_pubeventRowDeleting

Occurs when a row's Delete button is clicked, but before the GridView control deletes the row.

System_CAPS_pubeventRowEditing

Occurs when a row's Edit button is clicked, but before the GridView control enters edit mode.

System_CAPS_pubeventRowUpdated

Occurs when a row's Update button is clicked, but after the GridView control updates the row.

System_CAPS_pubeventRowUpdating

Occurs when a row's Update button is clicked, but before the GridView control updates the row.

System_CAPS_pubeventSelectedIndexChanged

Occurs when a row's Select button is clicked, but after the GridView control handles the select operation.

System_CAPS_pubeventSelectedIndexChanging

Occurs when a row's Select button is clicked, but before the GridView control handles the select operation.

System_CAPS_pubeventSorted

Occurs when the hyperlink to sort a column is clicked, but after the GridView control handles the sort operation.

System_CAPS_pubeventSorting

Occurs when the hyperlink to sort a column is clicked, but before the GridView control handles the sort operation.

System_CAPS_pubeventUnload

Occurs when the server control is unloaded from memory.(Inherited from Control.)

Return to top
Show: