John M
1/18/2005 10:43:00 AM
That part I know about and have had to always remember that whenever I coded
a combo box. But my problem is the dropdown list itself is not showing the
items. There are items there because the scroll bar show a range of items.
My entire list just draw blank lines. If I drop down the list and select one
of these blank lines, the correct text is actually displayed in the combo box
area.
"Jacques" wrote:
> I hate to see a sit question sitting unnoticed for days like that, so:
> Yes, many have experienced it. If you have a combobox with DropDownList
> style, populate it with a number of items, and don't want a blank
> initial selection, you need to explicitly set the SelectedIndex or
> SelectedItem property of the combobox. As our good friends in Redmond,
> WA say: This behavior is by design.
> HTH,
> Jacques
>
>