HtmlButton::RaisePostBackEvent Method (String^)

 

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
)

Parameters

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
Show: