B
Bryan Poteet
Hello,
Here is the problem. I have a dropdownlist control on my page and it holds 4
items.
EnableViewState=True and AutoPostBack=False.
When I click the submit button I want to get the Selected Value and Text
from the control.
Here Are the Results
Values in the control
Index - Value
0 - Item1
1 - Item2
2 - Item3
3 - Item4
Selected Item -> What the property says on PostBack
0 - Item1 -> 0 - Item1
1 - Item2 -> 1 - Item2
2 - Item3 -> 2 - Item3
3 - Item4 -> 1 - Item2
What am I overlooking??
Thanks
Bryan
Here is the problem. I have a dropdownlist control on my page and it holds 4
items.
EnableViewState=True and AutoPostBack=False.
When I click the submit button I want to get the Selected Value and Text
from the control.
Here Are the Results
Values in the control
Index - Value
0 - Item1
1 - Item2
2 - Item3
3 - Item4
Selected Item -> What the property says on PostBack
0 - Item1 -> 0 - Item1
1 - Item2 -> 1 - Item2
2 - Item3 -> 2 - Item3
3 - Item4 -> 1 - Item2
What am I overlooking??
Thanks
Bryan