Description: All the major browsers
such as Google Chrome , Mozilla Firefox and Internet Explorer etc has a default
Auto complete feature that stores the filled information in browser cache and
show that previously filled data when we start typing again in those fields
e.g. TextBox controls in asp.net web pages.

This default feature of browsers
actually helps user while filling the data on the forms where same information
is to be filled again and again. But if the form has the fields for entering
confidential or sensitive information e.g. bank account number or Credit Card
Number etc then this feature should be turned off.

Let's say if the user fills up an
online form on a public computer e.g. in cyber cafe then the values enter by
him will be cached by the browser and will be visible to other users of that public
computer. So in that case it is always recommended to developers to turn this
feature off in this situation.

There are 3 ways to turn off this
feature that is listed below. Just pick any one of these:

1)
Setting theautocomplete="off" in the Form
tag to disable autocomplete on entire form as:

<formid="form1"method="post"runat="server"autocomplete="off">

2)
Setting the autocomplete="off" in all the
Textbox controls where you want to disable autocomplete as:

Now run the application and enter
any record and click on submit. Refresh the browser by pressing F5 and again
try to enter the same record and you will see previously filled data is not
showing while entering.

Now over to you:

"If you like my work; you can appreciate by leaving your comments,
hitting Facebook like button, following on Google+, Twitter, Linked in and
Pinterest, stumbling my posts on stumble upon and subscribing for receiving
free updates directly to your inbox . Stay tuned and stay connected for more
technical updates."

Related Post

If you have any question about any post, Feel free to ask.You can simply drop a comment below post or contact via Contact Us form. Your feedback and suggestions will be highly appreciated. Also try to leave comments from your account not from the anonymous account so that i can respond to you easily..
ConversionConversionEmoticonEmoticon