Click here to Skip to main content
15,883,978 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Experts,
I am working on a login page .When i click on login button Browser show a msg "Do you want browser save your password ?" . I need is ,this msg not shown when user click on login button.

Thanks
Posted
Comments
[no name] 24-Apr-14 1:37am    
<asp:TextBox ID="TextBox1" autocomplete="off" runat="server" TextMode="Password">
Member 12162845 27-Mar-19 4:58am    
wewe

<asp:TextBox ID="TextBox1" autocomplete="off" runat="server" TextMode="Password">
 
Share this answer
 
Try This
HTML
<input type="password" autocomplete="off"> </input>


For Details, Please refer to MSDN docs
autocomplete attribute | autocomplete property ||MSDN
 
Share this answer
 
v2
Comments
ErBhati 22-Apr-14 6:48am    
Asim
This is work for IE and Firefox not for Chrome....
XML
I find the solution...actually i make fool to Browser...like

<input type="text" name="username" style="display:none" value="fake input>
<asp:textbox id="TxtUser" runat="server" value="Username>
<input type="text" name="username" style="display:none" value="fake input>
   <asp:textbox id="TxtPwd" runat="server" autocomplete="off" value="Password</asp:textbox>;


This works for me
 
Share this answer
 
v4
C#
<asp:textbox id="TextBox1" autocomplete="off" runat="server" textmode="Password" xmlns:asp="#unknown"></asp:textbox>


try this one ;)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900