MobilePage.RaisePostBackEvent(IPostBackEventHandler, String) 方法

定义

通知导致回发的服务器控件应处理传入回发事件。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

protected:
 override void RaisePostBackEvent(System::Web::UI::IPostBackEventHandler ^ sourceControl, System::String ^ eventArgument);
protected override void RaisePostBackEvent(System.Web.UI.IPostBackEventHandler sourceControl, string eventArgument);
override this.RaisePostBackEvent : System.Web.UI.IPostBackEventHandler * string -> unit
Protected Overrides Sub RaisePostBackEvent (sourceControl As IPostBackEventHandler, eventArgument As String)

参数

sourceControl
IPostBackEventHandler

导致回发的 ASP.NET 服务器控件。 此控件必须实现 IPostBackEventHandler 接口。

eventArgument
String

回发参数。

注解

此成员重写 Page.RaisePostBackEvent 方法以确定控件是否为 Form. 在这种情况下,该方法尝试从活动移动 Web 表单查找和调用默认事件处理程序。 否则,将调用基方法。

适用于

另请参阅