text box does not save input records
------》》》》
Set the input tag to: autocomplete= "Off"
If all form elements do not want to use the auto-prompt feature, simply set autocomplete= "off" on the form form.
<form autocomplete= "Off" >
<input type= "text" name= "name" >
<input type= "text" name= "password" >
</form>
Server control:
The ASP. NET TextBox control also provides the AutoCompleteType property, which provides the enhanced version of AutoComplete. Not only can you turn automatic prompts on and off, but you can also automatically prompt by type. As soon as you set the TextBox's AutoCompleteType to "Disable", the AutoComplete prompt does not appear at all.
<asp:textbox id= "txtUserName" runat= "Server" autocompletetype= "Disabled" width= "150px" ></asp:TextBox>
AutoCompleteType is an enumeration type with all of its supporting projects as follows:
Member name Description
Businesscity Office Address City category.
Businesscountryregion the country/region in which the office address is located.
Businessfax the fax Number category of the office address.
Businessphone the phone number category of the office address.
Businessstate Office Address State category.
Businessstreetaddress the street category where the office address is located.
Businessurl the URL category of the business Web site.
Businesszipcode The postal Code category of the office address.
Cellular mobile phone number category.
Company Enterprise name category.
Department the sectoral categories within the enterprise.
Disabled disables auto-completion for TextBox controls.
DisplayName The name category that is displayed for the user.
Email user's e-mail address category.
FirstName User name category.
Gender User Gender category.
Homecity the city category where the home address is located.
Homecountryregion the country/region in which the home address is located.
Homefax the fax number category for the home address.
The URL category of the homepage site.
HomePhone the phone number category for the home address.
Homestate the state category in which the home address resides.
Homestreetaddress the street category where the home address is located.
Homezipcode The postal Code category of the home address.
JobTitle the job category of the user.
LastName the last name category of the user.
The middle name category of the MiddleName user.
None is associated with a TextBox control without any categories. All TextBox controls with the same ID share the same value list.
Any supplemental information that Notes wants to include in the form category.
Office Business Office Location category.
Pager Pager Number category.
Search searches for a keyword category for a Web page or Web site.
text box does not save input records