TextBox Class
.NET Framework 2.0
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)
Assembly: System.Web.Mobile (in system.web.mobile.dll)
[ValidationPropertyAttribute(L"Text")] public ref class TextBox : public 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.
| Topic | Location |
|---|---|
| Walkthrough: Creating Web Pages for Mobile Devices | Building ASP .NET Web Applications in Visual Studio |
- AspNetHostingPermission for operating in a hosted environment. Demand value: LinkDemand; Permission value: Minimal.
- AspNetHostingPermission for operating in a hosted environment. Demand value: InheritanceDemand; Permission value: Minimal.
System.Object
System.Web.UI.Control
System.Web.UI.MobileControls.MobileControl
System.Web.UI.MobileControls.TextControl
System.Web.UI.MobileControls.TextBox
System.Web.UI.Control
System.Web.UI.MobileControls.MobileControl
System.Web.UI.MobileControls.TextControl
System.Web.UI.MobileControls.TextBox
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.
Community Additions
ADD
Show: