System.Web.UI.HtmlControls.HtmlInputButton.RaisePostBackEvent Method

Raises events for the System.Web.UI.HtmlControls.HtmlInputButton control when it posts back to the server.

Syntax

protected virtual void RaisePostBackEvent (string eventArgument)

Parameters

eventArgument
The argument for the event.

Remarks

The HtmlInputButton.RaisePostBackEvent(string) method is used by the System.Web.UI.HtmlControls.HtmlInputButton control, when it is clicked, to raise a HtmlInputButton.ServerClick event.

If the HtmlInputButton.CausesValidation property is true, the System.Web.UI.Page.Validate(string) method is called using the group of controls specified in the HtmlInputButton.ValidationGroup property.

This method is used primarily by control developers extending the functionality of the System.Web.UI.HtmlControls.HtmlInputButton control.

Requirements

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