You can't set the password field's value when sending a response to the
browser. This is due to security restrictions, it's read-only, and loses
its value when the page is sent back to the client (hence ASP.NET cannot
save it via viewstate). But most users use a password manager of their own,
which is a client feature out of your control, that is the only (safe) way
to do it. Another way would be to use Javascript, I believe someone said
you can do that, but of course you'd pry want to be using SSL then, as the
password would be in clear text. Plus that's not really the problem,
usually it's to compare the value to the user's actual password, so you
don't want it in the page then at all for them to 'view source' on....