I'm seeing some strange behavior with the UltraComboEditor when using keyboard input. I dropped the control onto a form and set the following properties:
AutoCompleteMode = AppendDropDownDownStyle = DropDownListHasMRUList = true
Let's say my dropdown contains US state names alphabetically. Initially if I have the combo selected and start typing 'c' it will show California, then when I hit 'o' it moves on to Colorado, and then when i get to 'n' it shows Connecticut. This is how I expect the combo to behave.
Now get a couple items in my MRU lists with some values the results are unpredictable. Sometimes it appears to complete properly as described above, other times it jumps to seemingly random locations in the list unrelated to the character that was actually entered. This seems to mostly impact items that are in the MRU list (like if Florida was in the MRU list and the 'f' is pressed, it takes me to somethign other than Florida...sometimes).
This is with build version: 9.2.20092.2119
Looking further, if I open up the dropdown and then begin typing an item in the MRU list, it correctly highlights the item in the MRU list but the selected value that is set (and is shown in the control itself) is not what is highlighted.
Here's a graphical example. I open the dropdown and then type 'c', 'o', 'l'. COLORADO, which is currently in the MRU list, is properly highlighted in the open dropdown, but the last item that shows in the dropdown, "ALABAMA", winds up showing as the selected value.
If COLORADO was at the bottom of the MRU list, when it was highlighted in the open dropdown there would be more "normal list" items showing under the underline and the value appearing as the selected value would be whatever the last visible value in the dropdown is.
rastedt, someone from Developer Support will be working on this and will update you on Monday. We agree, this sounds worthy of investigation.
Do you happen to have an isolated sample that demonstrates the issue, even if the behavior is inconsistent?
This issue has been logged as a development issue with a reference number 73039. I will send you more details through the Developer Support case.
Michael S.
So in summary, it appears that when autocomplete finds the item in the MRU list it says "hey, the item is at index 1 of the MRU list", but it when setting the selected value it applies that index to the full list shown below the MRU list (item 1 of the full list).
It seems perfectly reproducable now that I understand what it's doing. I tried to explain in my previous post but here's a concrete example.
Having the combo dropdown open is just to illustrate how it's getting the selection (last visible item in the dropdown). If you close the dropdown and hit the keyboard key for another letter in the MRU list you'll see it select a letter that isn't the one you pressed.