HtmlButton.RaisePostBackEvent(String) 方法

定义

HtmlButton 控件回发到服务器时引发此控件的事件。

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)

参数

eventArgument
String

该事件的参数。

注解

RaisePostBackEvent控件在单击方法时使用 HtmlButton 方法引发ServerClick事件。

CausesValidation如果 属性为 truePage.Validate则使用 属性中指定的ValidationGroup控件组调用 方法。

此方法主要由扩展控件功能的 HtmlButton 控件开发人员使用。

适用于

另请参阅