DataList Events
MSDN Home
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
.NET Framework Class Library
System.Web.UI.WebControls Name ...
DataList Class
DataList Events
CancelCommand Event
DeleteCommand Event
EditCommand Event
ItemCommand Event
ItemCreated Event
ItemDataBound Event
UpdateCommand Event
DataList Class
DataList Members
DataList Constructor
DataList Fields
DataList Methods
DataList Properties
DataList Events
Switch View :
Classic
Lightweight Beta
ScriptFree
Feedback
.NET Framework Class Library
DataList Events
The
DataList
type exposes the following members.
Events
Name
Description
CancelCommand
Occurs when the
Cancel
button is clicked for an item in the
DataList
control.
DataBinding
Occurs when the server control binds to a data source.
(Inherited from
Control
.)
DeleteCommand
Occurs when the
Delete
button is clicked for an item in the
DataList
control.
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
.)
EditCommand
Occurs when the
Edit
button is clicked for an item in the
DataList
control.
Init
Occurs when the server control is initialized, which is the first step in its lifecycle.
(Inherited from
Control
.)
ItemCommand
Occurs when any button is clicked in the
DataList
control.
ItemCreated
Occurs on the server when an item in the
DataList
control is created.
ItemDataBound
Occurs when an item is data bound to the
DataList
control.
Load
Occurs when the server control is loaded into the
Page
object.
(Inherited from
Control
.)
PreRender
Occurs after the
Control
object is loaded but prior to rendering.
(Inherited from
Control
.)
SelectedIndexChanged
Occurs when a different item is selected in a data listing control between posts to the server.
(Inherited from
BaseDataList
.)
Unload
Occurs when the server control is unloaded from memory.
(Inherited from
Control
.)
UpdateCommand
Occurs when the
Update
button is clicked for an item in the
DataList
control.
Top
See Also
Reference
DataList Class
System.Web.UI.WebControls Namespace
Tags :