This is a migrated thread and some comments may be shown as answers.

EmptyMessage equals to item bug

0 Answers 25 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Jeff
Top achievements
Rank 1
Jeff asked on 10 Feb 2011, 02:22 PM
Hi,

 I am using LoadOnDemand Combo box. And I would like to set the Empty Message to a value that also appears in the items of the combobox.
When the Combobox is loaded, the EmptyMessage is shown correctly. When clicking on the dropdown the items are shown. After clicking outside the combobox and again on the dropdown arrow, the Text property of the combobox is also filled with the empty message value.

When I use an empty message that doesn't appear in the items, there is no problem.

Is there a solution for this problem?

I've added some printscreens of what happens
Picture 1: ComboBox is loaded (with EmptyMessage = "Delhaize") -> OK
Picture 2: Dropdown arrow is clicked -> OK
Picture 3: Click outside the combobox (EmptyMessage = "Delhaize") -> OK
Picture 4: Dropdown arrow is clicked (Text is automatically set equally to the EmptyMessage) -> NOT OK

Thx,
Jeff

No answers yet. Maybe you can help?

Tags
ComboBox
Asked by
Jeff
Top achievements
Rank 1
Share this question
or