Repeater::OnItemCreated Method (RepeaterItemEventArgs^)

 

Raises the ItemCreated event.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

protected:
virtual void OnItemCreated(
	RepeaterItemEventArgs^ e
)

Parameters

e
Type: System.Web.UI.WebControls::RepeaterItemEventArgs^

The RepeaterItemEventArgs object that contains the event data.

Raising an event invokes the event handler through a delegate. For more information, see NIB: Consuming Events.

Notes to Inheritors:

When overriding OnItemCreated in a derived class, be sure to call the base class's OnItemCreated method.

The following example illustrates a way to handle the ItemCreated event of the Repeater control. A new line of text indicating the item type is displayed whenever a Repeater item is created.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: