TextBox | .NET 1.1, disposable |
System.Web.UI.MobileControls (system.web.mobile.dll) | class |
The TextBox control allows the user to input a
single line of text. You can retrieve the text through the
Text property. In addition, you can set the
Boolean Password field so that all input
characters are masked (typically using an asterisk) or the Boolean
Numeric field so that only number characters will
are allowed. Not all devices support the Numeric
property (for example, it will have no effect in an HTML page), so it
is recommended that you use some type of validation or validation
controls if you need to ensure that input is numeric.
public class TextBox : TextControl, System.Web.UI.IPostBackDataHandler {
// Public Constructors
public TextBox( );
// Public Instance Properties
public int MaxLength{set; get; }
public bool Numeric{set; get; }
public bool Password{set; get; }
public int Size{set; get; }
public string Title{set; get; }
// Protected Instance Methods
protected virtual void OnTextChanged(EventArgs e);
// Events
public event EventHandler TextChanged;
}
Hierarchy
System.Object
System.Web.UI.Control(System.ComponentModel.IComponent,
System.IDisposable,
System.Web.UI.IParserAccessor,
System.Web.UI.IDataBindingsAccessor)
MobileControl(System.Web.UI.IAttributeAccessor)
TextControl
TextBox(System.Web.UI.IPostBackDataHandler)
Returned By
System.Web.UI.MobileControls.Adapters.HtmlTextBoxAdapter.Control,
System.Web.UI.MobileControls.Adapters.WmlTextBoxAdapter.Control
|