NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

HtmlInputText Control

The HtmlInputText control allows developers to run server code against the HTML <input type=text> and <input type=password> elements. As with standard HTML, these controls can be used to enter user names and passwords into HTML forms.

Developers can use this control in conjunction with the HtmlInputButton, HtmlInputImage, or HtmlButton control to process user input on the server. Developers can retrieve or assign values the HtmlInputText MaxLength, Size, and Value properties.

Note   This control does not require a closing tag.

ASP+ Syntax

Required properties are noted in boldface type.

<input
   type=text | password
   runat=server
   id="programmaticID"
   maxlength="max#ofcharacters"
   size="widthoftextbox"
   value="defaulttextboxcontents"
>

Tasks

Checking the Contents of a Text Box

See Also

Web Forms Controls by Function | HtmlInputText Class | HtmlInputButton Control | HtmlInputControl Class