Subscribe Now!

Enter your email address:

Friday, January 21, 2011

Disable Autocomplete in Textbox / form in asp.net

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" >

0 comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...