Friday, September 28, 2007

Populating a Password Textbox at Runtime

Having an with a password property (TextMode="Password"), you cannot simply set the textbox's .Text attribute at runtime to populate the control with a value. Rather, you have to do the following:

this.txtPassword.Attributes["value"] = {whatever value from variable or DB}

Many thanks to:

No comments: