System.Web.UI.WebControls.ImageButton.RaisePostBackEvent Method

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

Syntax

protected virtual void RaisePostBackEvent (string eventArgument)

Parameters

eventArgument
The argument for the event.

Remarks

The ImageButton.RaisePostBackEvent(string) member is used primarily by control developers when deriving a custom class from the System.Web.UI.WebControls.ImageButton control.

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

Requirements

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