DataList Events

 

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

NameDescription
System_CAPS_pubeventCancelCommand

Occurs when the Cancel button is clicked for an item in the DataList control.

System_CAPS_pubeventDataBinding

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

System_CAPS_pubeventDeleteCommand

Occurs when the Delete button is clicked for an item in the DataList control.

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_pubeventEditCommand

Occurs when the Edit button is clicked for an item in the DataList control.

System_CAPS_pubeventInit

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

System_CAPS_pubeventItemCommand

Occurs when any button is clicked in the DataList control.

System_CAPS_pubeventItemCreated

Occurs on the server when an item in the DataList control is created.

System_CAPS_pubeventItemDataBound

Occurs when an item is data bound to the DataList control.

System_CAPS_pubeventLoad

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

System_CAPS_pubeventPreRender

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

System_CAPS_pubeventSelectedIndexChanged

Occurs when a different item is selected in a data listing control between posts to the server.(Inherited from BaseDataList.)

System_CAPS_pubeventUnload

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

System_CAPS_pubeventUpdateCommand

Occurs when the Update button is clicked for an item in the DataList control.

Return to top
Show: