Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
DataList Class
DataList Events

  Switch on low bandwidth view
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
DataList Events

The DataList type exposes the following members.

  NameDescription
Public eventCancelCommand Occurs 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 eventDeleteCommand Occurs 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 eventEditCommand Occurs 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 eventItemCommand Occurs when any button is clicked in the DataList control.
Public eventItemCreated Occurs on the server when an item in the DataList control is created.
Public eventItemDataBound Occurs 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 eventSelectedIndexChanged Occurs 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 eventUpdateCommand Occurs when the Update button is clicked for an item in the DataList control.
Top
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker