L
Linna
Hi,
I have 3 drop downs and when i try to set default values as below,
they all pre-select to 3
DD1.Databind()
DD2.Databind()
DD3.Databind()
DD1.SelectedIndex = 1
DD2.SelectedIndex = 2
DD3.SelectedIndex = 3
When i switch the statements around, for example as below, then they
all pre-select to 2
DD1.SelectedIndex = 1
DD3.SelectedIndex = 3
DD2.SelectedIndex = 2
SO for some reason, it all pre-selects to the last statement.
Does anyone know how i can fix this?
Thanks!
Linna
I have 3 drop downs and when i try to set default values as below,
they all pre-select to 3
DD1.Databind()
DD2.Databind()
DD3.Databind()
DD1.SelectedIndex = 1
DD2.SelectedIndex = 2
DD3.SelectedIndex = 3
When i switch the statements around, for example as below, then they
all pre-select to 2
DD1.SelectedIndex = 1
DD3.SelectedIndex = 3
DD2.SelectedIndex = 2
SO for some reason, it all pre-selects to the last statement.
Does anyone know how i can fix this?
Thanks!
Linna