Introduction:
Here I will explain how to make or disable IE/firefox stop asking remember passwords in asp.net.
Here I will explain how to make or disable IE/firefox stop asking remember passwords in asp.net.
Description:
In previous posts I explained jQuery increase decrease font size of website, Redirect to another page after some time delay, Show alert message to upgrade browser, jQuery Tooltip and many articles relating to jQuery, Asp.net. Now I will explain how to make IE/Firefox stop asking remember passwords in asp.net.
In previous posts I explained jQuery increase decrease font size of website, Redirect to another page after some time delay, Show alert message to upgrade browser, jQuery Tooltip and many articles relating to jQuery, Asp.net. Now I will explain how to make IE/Firefox stop asking remember passwords in asp.net.
To
stop browsers asking remember password we need to set property autocomplete=off
like this
<asp:TextBox ID="txtPwd"
runat="server"
TextMode="Password"
autocomplete="off"
/>
|
If
you want to see it in example check below code
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>How to make IE or firefox stop asking remember passwords in
asp.net</title>
</head>
<body>
<form id="form1"
runat="server">
<div>
<table>
<tr>
<td>UserName</td>
<td><asp:TextBox ID="txtName"
runat="server"/></td>
</tr>
<tr>
<td>Password</td>
<td><asp:TextBox ID="txtPwd"
runat="server"
TextMode="Password"
autocomplete="off"
/></td>
</tr>
<tr>
<td></td>
<td><asp:Button ID="btnSubmit"
runat="server"
Text="Submit"
/></td>
</tr>
</table>
</div>
</form>
</body>
</html>
|
If you enjoyed this post, please support the blog below. It's FREE! Get the latest Asp.net, C#.net, VB.NET, jQuery, Plugins & Code Snippets for FREE by subscribing to our Facebook, Twitter, RSS feed, or by email. |
|||
|
|||
14 comments :
Its not work For Google Chrome
this is not working at all for all browsers.my problem is , do not want to show popup "Do you want to save username and password?" like this .please help me
thanks
AutoCompleteType=disabled and autoaomplete="off"
put these 2 attributes in your textboxes
Hi,
I have placed both attributes in username and password text boxes but still it is not working with any browser . so please help me ,
thanks very much for your response.
Thanks,
Sandeep Sharma
Hi Sandeep
You can try this link.
http://stackoverflow.com/questions/24237449/remove-saved-usernames-and-passwords-of-browser-from-web-application
with this comments
http://stackoverflow.com/a/24244922/2358181
1
not working...
hi,
it's not working on latest browser u have any another code.
please suggest.
This Code Works
div style="display: none"
input type="password" /Div
added autocomplete="off" AutoCompleteType="Disabled"
but not working at all...
I tried autocomplete="off" and autocompletetype="Disabled" still it is not working.Kindly need a help.
Thanks and Regards.
does anyone got the solution as autocomplete dosent work ...plz help?
I am also use this code but not working in Chrome Browser.
Note: Only a member of this blog may post a comment.