System.Web.UI.HtmlControls Namespace
Allows programmatic access to the HTML <input type=text> and <input type=password> elements on the server.
Use the HtmlInputText control to create a single line text box that allows the user to enter text or a password. The Size property allows to specify the width of the text box, while the MaxLength property allows to limit the number of characters that can be entered in the text box.
The HtmlInputText control provides a ServerChange event that is raised when its Value changes between posts to the server. This allows you to define a custom handler to perform some action each time the event is raised.
The HtmlInputText control does not not provide a built-in way to post back to the server. You must provide another control on the Web page that supports posting to the server, such as an HtmlButton control, to send the value of the control back to the server.
To create a multiline text box, use the HtmlTextArea control.
For examples illustrating use of this control, see the individual member types of this class. For syntax information, see HtmlInputText in ASP.NET Syntax for HTML Controls.
HtmlInputButton HtmlInputRadioButton HtmlInputCheckBox HtmlInputImage HtmlInputHidden HtmlInputFile HtmlTextArea