I have several controls on a .aspx page. There are 2 text boxes: one for the user name and one for the password. There is also a button and a dropdownlist.
Clicking the button takes the user and password text and populates the dropdownlist. The problem is that the password text box loses its value. What would be the best way to remedy this? Right now the click event for the button is handled in the code behind. Should I use AJAX instead to populate the dropdown?
I know saving the password text to a string would be a security risk, but that's okay... as long as it works.