Redigera

Dela via


WmlMobileTextWriter.RenderBeginSelect Method

Definition

Begins rendering a selection list. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public:
 virtual void RenderBeginSelect(System::String ^ name, System::String ^ iname, System::String ^ ivalue, System::String ^ title, bool multiSelect);
public virtual void RenderBeginSelect (string name, string iname, string ivalue, string title, bool multiSelect);
abstract member RenderBeginSelect : string * string * string * string * bool -> unit
override this.RenderBeginSelect : string * string * string * string * bool -> unit
Public Overridable Sub RenderBeginSelect (name As String, iname As String, ivalue As String, title As String, multiSelect As Boolean)

Parameters

name
String

The name of the control.

iname
String

The name that the browser must use to submit the selected index back to the server.

ivalue
String

The initial value.

title
String

The Title attribute on WML devices.

multiSelect
Boolean

Whether to allow multiple selections.

Remarks

Either name or iname must be non-null.

This method can be followed by calls to the RenderSelectOption method for each option, followed by a call to the RenderEndSelect method to end the selection list.

Applies to

See also