V24s

"Get Updates : Subscribe to our e-mail newsletter to receive updates........" "Good Luck frnds" Admission 2019 Application Form 2019 Colleges Entrance Exam 2019 Results 2019 Notification 2019 University Educational Jobs 2019 Government Jobs 2019

Search This Blog v24s guys

15 April, 2013

Disable Firefox/IE Remember Password Prompt Option in Asp.net

Introduction
   
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.

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>

No comments:

Popular Posts

Recent Posts

Google Analytics