ASP.NET - How to Show or hide remember Password Window on Browser

Asked By Ajay Paritala on 02-Jul-12 03:55 PM

We are having reset password page. Whenever user tries to reset the password,browser displaying the window to remember the password as show in below fig.
In our case we can reset the password in 2 ways.
user can reset his/her own password Admin also can set the password for the users.

We want to hide this window, If user is  setting the password. where as we want to display this window when user resetting his/her own password.
Can u suggest us, how to hide this window from the code behind wherever we needed.
I tried with autocomplete="off"  Still the box is displaying

Peter Bromberg replied to Ajay Paritala on 02-Jul-12 09:35 PM
You don't describe what controls you are using to display this window, but you can enclose it in an ASP.NET Panel control (which renders as an HTML DIV tag) and set the visibility property in your codebehind class.
Ajay Paritala replied to Peter Bromberg on 03-Jul-12 10:00 AM
We used  radtextbox.. can you please help me?
Peter Bromberg replied to Ajay Paritala on 03-Jul-12 10:12 AM
All controls in ASP.NET have a Visible property that can be set in codebehind. All you need is some variable or querystring value that tells your code that the control should not be shown.