HtmlButton.RaisePostBackEvent Method (String)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

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

protected virtual void RaisePostBackEvent(
	string eventArgument


Type: System.String

The argument for the event.

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.

.NET Framework
Available since 2.0
Return to top