A
A
I have a combo box that is databound to an ArrayList (IList to be more
exact)
I have a situation where if the user cancels a save I want the combo value
to go back to blank. This should be SIMPLE.
I have set the SelectedIndex to -1
I have set the SelectedValue to any option under the sun
I have set the every other known property to a value that would clear the
currently selected option.
All efforts only put the item above the currently selected item in the box.
For instance, if I have 2 items A and B in my combo and the user chooses A,
setting the SelectedIndex to -1 does the right thing--clears the combo box.
If the user chooses B setting the SelectedIndex to -1 puts A in the box.
Someone, please, enlighten me?
exact)
I have a situation where if the user cancels a save I want the combo value
to go back to blank. This should be SIMPLE.
I have set the SelectedIndex to -1
I have set the SelectedValue to any option under the sun
I have set the every other known property to a value that would clear the
currently selected option.
All efforts only put the item above the currently selected item in the box.
For instance, if I have 2 items A and B in my combo and the user chooses A,
setting the SelectedIndex to -1 does the right thing--clears the combo box.
If the user chooses B setting the SelectedIndex to -1 puts A in the box.
Someone, please, enlighten me?