Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

TextBox Class

Provides a text-based control that allows the user to enter text.

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

[ValidationPropertyAttribute("Text")] 
public class TextBox : TextControl, IPostBackDataHandler
/** @attribute ValidationPropertyAttribute("Text") */ 
public class TextBox extends TextControl implements IPostBackDataHandler
ValidationPropertyAttribute("Text") 
public class TextBox extends TextControl implements IPostBackDataHandler

The TextBox allows only single-line text input. This control also implements the IPostBackDataHandler interface; it can accept input and generate postbacks. With devices using WML, however, entered data might not post back to the server. When the user enters values in a text box, the values are stored in the Text property, which is inherited from the TextControl base class.

TopicLocation
Walkthrough: Creating Web Pages for Mobile DevicesBuilding ASP .NET Web Applications in Visual Studio
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 98, Windows 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 .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.