MobilePage.RaisePostBackEvent(IPostBackEventHandler, String) 方法

定義

告知造成回傳的伺服器控制項,應該處理收到的回傳事件。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with 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 Form尋找並呼叫預設事件處理程式。 否則會呼叫基底方法。

適用於

另請參閱