When one sets the Text property in a TextBox with TextMode = Password, the default behaviour is to render the TextBox empty.
Basically for security reasons and that's the normal and correct behaviour.
But and there is always a BUTT, one may want to set the Text in a TextBox with TextMode = Password.
The way to do it is as follows:
txtPwd.Attributes.Add("value", customer.Password);
Showing posts with label ASP.Net Textbox TextMode Password. Show all posts
Showing posts with label ASP.Net Textbox TextMode Password. Show all posts
Monday, September 14, 2009
Subscribe to:
Posts (Atom)