DotNet and AJAX

Thursday, December 1, 2011

Disable AutoComplete Feature in ASP.NET controls

a) There is an AutoCompleteType in TextBox Property and it will not disable in FireFox

b) in the TextBox set autocomplete="off"

Works both in IE and FireFox

c) the same above, but add as attribute in code behind
txtDate.Attributes.Add("autocomplete", "off");


Posted by Shibu at 11:49 AM No comments:
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

My Favorites

  • mattberseth
  • Encosia - AJAX
  • Joe on Dot Net
  • Scott Gurthie

About Me

View my complete profile

Blog Archive

  • ►  2012 (3)
    • ►  June (2)
    • ►  March (1)
  • ▼  2011 (13)
    • ▼  December (1)
      • Disable AutoComplete Feature in ASP.NET controls
    • ►  October (1)
    • ►  September (2)
    • ►  August (2)
    • ►  July (7)
  • ►  2010 (8)
    • ►  December (1)
    • ►  November (1)
    • ►  October (4)
    • ►  September (2)
  • ►  2009 (1)
    • ►  January (1)
  • ►  2008 (3)
    • ►  November (1)
    • ►  July (2)
  • ►  2007 (6)
    • ►  November (1)
    • ►  October (5)

My Tags

  • Best Practices
  • Cache
  • design
  • GridView
  • GridView RowDataBind
  • MySQL
  • Validation
Watermark theme. Powered by Blogger.