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

callback failure

0 Answers 59 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Bort
Top achievements
Rank 1
Bort asked on 09 Mar 2011, 10:37 PM
In EnableLoadOnDemand mode, there are some instances where the control fails to perform the dropdown refresh callback. This causes the posted data to be unpredictable when compared to what the user sees or things he has posted.

To reproduce the problem (must be done exactly in this order):
    - type something that pulls up some list items
    - select item from list
    - click on textbox (all text should now be selected)
    - press <End> then <BackSpace>; alternatively selecting a text subset with <Shift-Arrows> and then <Del>; or even <Ctrl-A> and the <Del> 

In all these instances the callback does not occur as it should. 
The problems resulting from this bug are different depending if the MarkFirstMatch is True.

If True, the selected item ID is cleared but the returned Text is different than what is shown.
If False, the ID and Text from a previous callback (before the one that was missed) are returned which is expecialy bad when you have just cleared the dropdown and one is under the impression that nothing is selected.

I think fixing the missed callbacks will fix all these issues.

No answers yet. Maybe you can help?

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