Re: Password TextBox loses value

Tech-Archive recommends: Fix windows errors by optimizing your registry



"Hans Kesting" <news.2.hansdk@xxxxxxxxxxxxxxx> wrote in message
news:mn.b35c7d6bb3ecc763.43821@xxxxxxxxxxxxxxxxxx

By design (for security reasons) the value of the password textbox can not
be set from the server-side.
This includes postback situations.

??? Of course it can!

txtPassword.Attributes.Add("value", txtPassword.Text);


.