Reputation: 5098
Even though "Text" property is set to Text=""
asp:TextBox MaxLength="256" runat="server" ID="passwordTxt" TextMode="Password" Text=""
I also tried this on Page_load :-
passwordTxt.Text="";
I am still seeing 5 dots in the Password text box..How to make it go away ? Why is it there anyway ? like why ?
[EDIT]
I was not able to see Bold, Code tag buttons when posting this ques..so couldnt include my code lines inside of code tags..whats wrong with this website ??
[EDIT2] ok I can see the buttons now
Upvotes: 0
Views: 586
Reputation: 84
To stop firefox auto prompting to save this data in a form, add the following property to the form tag
autocomplete="off"
i.e. : form id="myForm" runat="server" autocomplete="off"
Upvotes: 0
Reputation: 55082
It's probably the browser auto-populating for you. View the source, it will be empty.
Upvotes: 2