RenderBeginSelect Method

Begins rendering a selection list.

public virtual void RenderBeginSelect(
   string name, 
   string indexName, 
   string value, 
   string title,
   bool multiSelect
)

Parameters

  • name
    The name of the control.
  • indexName
    The name that the browser must use to submit the selected index back to the server.
  • value
    The initial value.
  • title
    The Title attribute on WML devices.
  • multiselect
    Whether to allow multiple selections.

Remarks

Either name or indexName must be non-null.

This 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.

See Also

Applies to: WmlMobileTextWriter Class