System.Web.UI.WebControls.ImageButton.Command Event

Occurs when the System.Web.UI.WebControls.ImageButton is clicked.

Syntax

public event CommandEventHandler Command

Remarks

The ImageButton.Command event is raised when an System.Web.UI.WebControls.ImageButton control is clicked.

Note:

The ImageButton.Command event is raised through the control hierarchy in the form of the BubbleEvent.

Note:

This event causes the page to post back to the server.

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