Redigera

Dela via


MobilePage.RaisePostBackEvent(IPostBackEventHandler, String) Method

Definition

Notifies the server control that caused the postback that it should handle an incoming postback event. This API is obsolete. For information about how to develop ASP.NET mobile applications, see 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)

Parameters

sourceControl
IPostBackEventHandler

The ASP.NET server control that caused the postback. This control must implement the IPostBackEventHandler interface.

eventArgument
String

The postback argument.

Remarks

This member overrides the Page.RaisePostBackEvent method to determine whether the control is a Form. In that case, the method attempts to locate and call the default event handler from the active mobile Web Form. Otherwise, the base method is called.

Applies to

See also