System.Web.UI.WebControls.Button.RaisePostBackEvent Method

Raises events for the System.Web.UI.WebControls.Button control when it posts back to the server.

Syntax

protected virtual void RaisePostBackEvent (string eventArgument)

Parameters

eventArgument
The argument for the event.

Remarks

This event is used internally by the System.Web.UI.WebControls.Button control, when it is clicked, to raise a Button.Click event, and if defined, a Button.Command event.

Requirements

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