Redigera

Dela via


WmlMobileTextWriter.RenderFormDoEvent Method

Definition

Renders a < do > event for the current form. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

protected:
 void RenderFormDoEvent(System::String ^ doType, System::String ^ arg, System::Web::UI::MobileControls::Adapters::WmlPostFieldType postBackType, System::String ^ text);
protected void RenderFormDoEvent (string doType, string arg, System.Web.UI.MobileControls.Adapters.WmlPostFieldType postBackType, string text);
member this.RenderFormDoEvent : string * string * System.Web.UI.MobileControls.Adapters.WmlPostFieldType * string -> unit
Protected Sub RenderFormDoEvent (doType As String, arg As String, postBackType As WmlPostFieldType, text As String)

Parameters

doType
String

The type of action to render. Maps to the type attribute of the <do> element. Usually "accept" or "options".

arg
String

The argument for the action. The argument is included in the postback generated when the user selects the action.

postBackType
WmlPostFieldType

The WmlPostFieldType type used for arg.

text
String

The label associated with the action. This usually appears as a softkey label on the device.

Remarks

Called internally by the writer and inherited classes.

Applies to

See also