WmlMobileTextWriter.RenderTextBox Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Renders a text-box element. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.
public:
virtual void RenderTextBox(System::String ^ id, System::String ^ value, System::String ^ format, System::String ^ title, bool password, int size, int maxLength, bool generateRandomID, bool breakAfter);
public virtual void RenderTextBox (string id, string value, string format, string title, bool password, int size, int maxLength, bool generateRandomID, bool breakAfter);
abstract member RenderTextBox : string * string * string * string * bool * int * int * bool * bool -> unit
override this.RenderTextBox : string * string * string * string * bool * int * int * bool * bool -> unit
Public Overridable Sub RenderTextBox (id As String, value As String, format As String, title As String, password As Boolean, size As Integer, maxLength As Integer, generateRandomID As Boolean, breakAfter As Boolean)
Parameters
- id
- String
Identifies the control.
- value
- String
Specifies the initial value of the text box.
- format
- String
Specifies an optional WML format string.
- title
- String
Contains the title of the text box.
- password
- Boolean
Specifies the password.
- size
- Int32
Sets the size of the string.
- maxLength
- Int32
Specifies the maximum length of the string.
- generateRandomID
- Boolean
Determines whether the identifier for the control (ID) is encrypted.
- breakAfter
- Boolean
Set to true
if a break is required after the control is rendered.
Remarks
This method can also scramble client IDs that must be encrypted for security reasons.