System.Web.UI.WebControls.Button.Click Event

Occurs when the System.Web.UI.WebControls.Button control is clicked.

Syntax

public event EventHandler Click

Remarks

The Button.Click event is raised when the System.Web.UI.WebControls.Button control is clicked. This event is commonly used when no command name is associated with the System.Web.UI.WebControls.Button control (for instance, with a Submit button).

For more information about handling events, see Consuming Events.

Requirements

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