Thursday, August 5, 2010

Disable Autocomplete in Textbox / form in

to disable auto complete in textbox you will have to set autocomplete="off" for textbox. this is not in its property so you will have to write it in aspx page by own.

or in code behind write : Textbox1.Attributes.Add("autocomplete", "off");

To turn off auto-complete for your entire form, all you need to do is add an attribute to your form tag, like this:

< form id="Form1" method="post" runat="server" autocomplete="off" >

Share This!

No comments:

Powered By Blogger · Designed By Seo Blogger Templates