Share via


RenderTextBox Method (Common)

Renders a text-box element.

public void RenderTextBox(
   string id,
   string value,
   string format,
   string title,
   bool password,
   int size,
   int maxLength,
   bool generateRandomID,
   bool breakAfter
)

Parameters

  • id
    The identifier of the control.
  • value
    The initial value of the text box.
  • format
    Specifies an optional WML format string.
  • title
    Contains the title of the text box.
  • password
    The password.
  • size
    Sets the size of the string.
  • maxLength
    Specifies the maximum length of the string.
  • generateRandomID
    Determines whether the identifier for the control (id) is encrypted.
  • breakAfter
    Set to true if a break is required after the TextBox control is rendered.

Remarks

This method can also scramble client IDs that must be encrypted for security reasons.

See Also

RenderBeginLink | RenderEndLink

Applies to: WmlMobileTextWriter Class | UpWmlMobileTextWriter Class