WmlMobileTextWriter.RenderTextBox Method

Renders a text-box element.

Namespace: System.Web.UI.MobileControls.Adapters
Assembly: System.Web.Mobile (in system.web.mobile.dll)

public virtual void RenderTextBox (
	string id,
	string value,
	string format,
	string title,
	bool password,
	int size,
	int maxLength,
	bool generateRandomID,
	bool breakAfter
)
public void RenderTextBox (
	String id, 
	String value, 
	String format, 
	String title, 
	boolean password, 
	int size, 
	int maxLength, 
	boolean generateRandomID, 
	boolean breakAfter
)
public function RenderTextBox (
	id : String, 
	value : String, 
	format : String, 
	title : String, 
	password : boolean, 
	size : int, 
	maxLength : int, 
	generateRandomID : boolean, 
	breakAfter : boolean
)
Not applicable.

Parameters

id

Identifies the control.

value

Specifies the initial value of the text box.

format

Specifies an optional WML format string.

title

Contains the title of the text box.

password

Specifies 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 control is rendered.

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

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1

Community Additions

ADD
Show: