We have a mature application which handles sensitive data and has grown to several hundred pages and controls. It is now a requirement to set autocomplete=off for all the forms and textboxes in the entire application. I don’t believe there is a global web.config setting that would do this, so what would be the best way? My initial thought was to use a PageBase class (which all pages inherit from) to dynamically find all Form and TextBox controls and dynamically add the attribute autocomplete=”off”. Does this seem reasonable or is there a better way? Thanks for any recommendations.
We have a mature application which handles sensitive data and has grown to several
Share
If all your pages have master page then try to disable autocomplete for input controls using Jquery in the master page.
You can place the below code in the master page