System.Web.UI.HtmlControls.HtmlInputImage.RaisePostBackEvent Method

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

Syntax

protected virtual void RaisePostBackEvent (string eventArgument)

Parameters

eventArgument
The argument for the event.

Remarks

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

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

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

Requirements

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