ASP.NET TextBox AutoCompleteType property
Definition and Usage
AutoCompleteType property sets or returns the type of AutoComplete TextBox control.
AutoComplete feature can create a list of values entered in the text box. When using the text box again, the list of values entered will be displayed. Users can directly select values without the need to retype the previous value has been entered.
grammar
<asp:TextBox AutoCompleteType="cat" runat="server"/>
属性 | 描述 |
---|---|
cat | 规定 AutoComplete 种类。 可能的值:
|
Examples
The following examples are put AutoCompleteType property to "FirstName":
<form runat="server">
<asp:TextBox id="tb1" runat="server" AutoCompleteType="FirstName" />
</form>
<asp:TextBox id="tb1" runat="server" AutoCompleteType="FirstName" />
</form>
The demonstration >>
TextBox controls