Thursday, 20 February 2014

Disable Autocomplete in Asp.Net Textbox

In this article i will tell you how you can disable autocomplete in asp net textbox.This will help you to understand disable auto suggest in textbox.

There are two ways by which you can disable autosuggest first by adding autocomplete="off" on form tag and secnd by adding autocomplete="off" attribute on control.

First Way:



In above code auto suggest for all controls will get disables present in yout form.

Second Way:



In above code only auto suggest for the control present on the page will get disables.

Tags: Asp.Net , HTML , HTML5 , MVC

No comments:

Post a Comment