Hi Guys,
I think this is a simple one - I'm missing something basic.
I'm running the following;
However Im not getting the right result. When I look at the control after this code has executed the combo box shows the first item in the list as opposed to the one I have just selected. If I exapnd the drop down list so I can see all the items, the one I have "selected" in my code is highlighted, but not the one shown when the box is not expanded.
How can I make the selected item the one that is shown in the collapsed combo box?
Shane
I think this is a simple one - I'm missing something basic.
I'm running the following;
' The item exists, so select it
inDDL.SelectedIndex = inDDL.FindItemIndexByValue(selectValue)
However Im not getting the right result. When I look at the control after this code has executed the combo box shows the first item in the list as opposed to the one I have just selected. If I exapnd the drop down list so I can see all the items, the one I have "selected" in my code is highlighted, but not the one shown when the box is not expanded.
How can I make the selected item the one that is shown in the collapsed combo box?
Shane