C
Christian Ista
Hello,
I have 2 questions :
1. On an ASP.NET page I have several controls (5 TextBox, 1 Dropdown and 1
button)
Only the dropdown is AutoPostBack = true, the TextBox are SingleLine
When I execute the page, I fill in the textbox, I change the dropdown
selection, the page is reloaded no problem I see the textbox still fill in.
Now I change TextMode to Password for 2 TextBox. I execute the page, I fill
in, I change the Dropdown selection when the page is reloaded the TextBox
with TextMode to password are empty.
Is it normal ? How can I solve that ?
2. How can I give the focus to the first textbox of the page ? For the
moment I use a javascript in the bottom of the page but that's not work very
well mainly when I use the dropdown the focus is on the first control.
Thanks,
C.
I have 2 questions :
1. On an ASP.NET page I have several controls (5 TextBox, 1 Dropdown and 1
button)
Only the dropdown is AutoPostBack = true, the TextBox are SingleLine
When I execute the page, I fill in the textbox, I change the dropdown
selection, the page is reloaded no problem I see the textbox still fill in.
Now I change TextMode to Password for 2 TextBox. I execute the page, I fill
in, I change the Dropdown selection when the page is reloaded the TextBox
with TextMode to password are empty.
Is it normal ? How can I solve that ?
2. How can I give the focus to the first textbox of the page ? For the
moment I use a javascript in the bottom of the page but that's not work very
well mainly when I use the dropdown the focus is on the first control.
Thanks,
C.