Replace password in textbox after postback. HOW?
Posted on 2006-07-03
I've got System.Web.UI.WebControls.TextBox with TextMode set to Password. When a postback occurs and something ELSE is wrong on the form, the password field is AUTOMATICALLY ERASED. I find this BAD! The user fixes the OTHER problem then re-submits the form, but now THE PASSWORD IS MISSING!
How do I repopulate a TextBox (with TextMode=Password) with a Password on a form postback?