Via .NET Student Blog:
You can pre-fill password fields using the .AddAttribute(“value”, password); method on the control.

However, you should try to avoid this. But in some cases (i.e. display password strength / weakness during initial password entry on a “new user” page) this totally makes sense.