.NET Framework Class Library
DataList Events

The DataList type exposes the following members.

Events

  NameDescription
Public eventCancelCommandOccurs when the Cancel button is clicked for an item in the DataList control.
Public eventDataBindingOccurs when the server control binds to a data source. (Inherited from Control.)
Public eventDeleteCommandOccurs when the Delete button is clicked for an item in the DataList control.
Public eventDisposedOccurs 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.)
Public eventEditCommandOccurs when the Edit button is clicked for an item in the DataList control.
Public eventInitOccurs when the server control is initialized, which is the first step in its lifecycle. (Inherited from Control.)
Public eventItemCommandOccurs when any button is clicked in the DataList control.
Public eventItemCreatedOccurs on the server when an item in the DataList control is created.
Public eventItemDataBoundOccurs when an item is data bound to the DataList control.
Public eventLoadOccurs when the server control is loaded into the Page object. (Inherited from Control.)
Public eventPreRenderOccurs after the Control object is loaded but prior to rendering. (Inherited from Control.)
Public eventSelectedIndexChangedOccurs when a different item is selected in a data listing control between posts to the server. (Inherited from BaseDataList.)
Public eventUnloadOccurs when the server control is unloaded from memory. (Inherited from Control.)
Public eventUpdateCommandOccurs when the Update button is clicked for an item in the DataList control.
Top
See Also

Reference

Tags :


Page view tracker