DataList Events
.NET Framework 3.0
| 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. |
Reference
DataList ClassSystem.Web.UI.WebControls Namespace
BaseDataList
DataGrid
Repeater
Other Resources
DataList Web Server Control OverviewSecuring Standard Controls
How to: Protect Against Script Exploits in a Web Application by Applying HTML Encoding to Strings
Introduction to Validating User Input in ASP.NET Web Pages
ASP.NET Web Page Code Model
DataList Web Server Control
Community Additions
ADD
Show: