System.Web.UI.WebControls.DataList.ItemCreated Event

Occurs on the server when an item in the System.Web.UI.WebControls.DataList control is created.

Syntax

public event DataListItemEventHandler ItemCreated

Remarks

The DataList.ItemCreated event is raised when an item in the System.Web.UI.WebControls.DataList control is created, both during round-trips and at the time data is bound to the control.

The DataList.ItemCreated event is commonly used to control the content and appearance of a row in the System.Web.UI.WebControls.DataList control.

For more information about handling events, see How to: Consume Events in a Web Forms Application.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0