Rediger

Del via


HtmlButton.RaisePostBackEvent(String) Method

Definition

Raises events for the HtmlButton control when it posts back to the server.

protected:
 virtual void RaisePostBackEvent(System::String ^ eventArgument);
protected virtual void RaisePostBackEvent (string eventArgument);
abstract member RaisePostBackEvent : string -> unit
override this.RaisePostBackEvent : string -> unit
Protected Overridable Sub RaisePostBackEvent (eventArgument As String)

Parameters

eventArgument
String

The argument for the event.

Remarks

The RaisePostBackEvent method is used by the HtmlButton control, when it is clicked, to raise a ServerClick event.

If the CausesValidation property is true, the Page.Validate method is called using the group of controls specified in the ValidationGroup property.

This method is used primarily by control developers extending the functionality of the HtmlButton control.

Applies to

See also