Repeater::ItemCommand Event

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Occurs when a button is clicked in the Repeater control.

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

public:
event RepeaterCommandEventHandler^ ItemCommand {
	void add(RepeaterCommandEventHandler^ value);
	void remove(RepeaterCommandEventHandler^ value);
}

This event is raised when a button in the Repeater control is clicked.

This event causes a round-trip from the client to occur.

For more information about handling events, see NIB: Consuming Events.

The following example demonstrates how to specify and code a handler for the ItemCommand event of the Repeater control. Information about the button is displayed when a Button control within the Repeater control is clicked.

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

.NET Framework
Available since 1.1
Return to top
Show: