I have a page that accepts a useraname/password combination for a connection. This is then stored with some other settings (yes it is encrypted).
If a site admin goes to the management page, they should be able to change various site settings, along with the above mentioned username/pasword if desired.
But if they do not want to change the username/password then I would like them to leave those fields alone. If the field was a normal textbox field this works fine. But we wanted to make the field a password field, so an admin casually browsing to the settings page would not see the password - just ********
However, as soon as you make this a password field (textmode="password") then it no longer fills in from the code behind.
This causes a problem, because when the page is then saved - if another setting was changed, it flushes the password.
It also is not a viable option to have the admin type in the password for this connection each time they want to make any of the other changes to the page.
Any ideas on how to be able to default fill in the password from the saved value?