WmlMobileTextWriter.RenderTextBox Method

Definition

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.

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

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.

Applies to

Proizvod Verzije
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also