Infolink

 

Search This Blog

Showing posts with label Stop default Auto-Complete of ASP.net TextBox on all browser. Show all posts
Showing posts with label Stop default Auto-Complete of ASP.net TextBox on all browser. Show all posts

Oct 16, 2012

Stop default Auto-Complete of ASP.net TextBox on all browser

If you use textBox properties AutoCompleteType="Disabled" it disables the autocompletes of textBox on only Internet explorer. There's another way to stop auto-complete on all browsers. Use autocomplete="off" on from tag instead of AutoCompleteType = "Disabled". Again you can use the TextBox1.Attributes.Add("autocomplete", "off"); to stop auto-complete on only specific TextBox control.

So, my findings are use the following code to stop autocomplete on specific control
Related Posts Plugin for WordPress, Blogger...