DotNet Academy of Rajesh Rolen

Solutions by Rajesh Rolen

Disable Autocomplete in Textbox / form in asp.net

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

0 comments:

Post a Comment

About this blog

My Blog List

Advertise On This Site

Site Info

Advertise on this Site

To advertise on this site please mail on RajeshRolen@gmail.com

Information Source

About

Pages

Dot Net Academy

Advertis in This Area of Site

Powered by Blogger.

Followers

Search This Blog