I'm using an UltraCombo and I have the DropDownStyle set to DropDownList. When the user types a letter, the control displays the first matching item starting with that letter. That's great. The users want to be able to type the same letter again and get the second item in the list starting with that letter. e.g. A state list where the user types I and gets Idaho. Then they type I again and Illinois, etc. I looked at all of the properties and looked around this forum but I don't see how to do it. Can this be done with the UltraCombo?
Set the AutoCompleteMode of the UltraCombo to AutoComplete.None and this will give you the behavior you are looking for:
this.ultraCombo1.AutoCompleteMode = AutoCompleteMode.None;
Let me know if you have any questions with this matter.
Thanks for the reply. I couldn't find the AutoCompleteMode property. I'm running ver 8.1. I did a little research and I found that AutoCompleteMode replaces AutoEdit. I tried combo.AutoEdit = AutoCompleteMode.None. It worked!! I was surprised though that the AutoCompleteMode enum was available in my version but the AutoCompleteMode property wasn't??
Anyway, it works. Thanks again!
I have a follow up question to my earlier post. The above situation works. The users want to be able to type one char and go to the first matching item. If they type 2 or more characters they will go to that matching list item, if found. They also want to be able to type that same character repeatedly and cycle through all of the list items that start with that letter.
Type "I" in a state list, go to IA
Type "IL", goto "IL"
Type "III", cycle through IA, ID, IL.
Right now when they type the same letter two or more times (without pausing), the combo will look for a matching list item (one that starts with "II" in my example) if it is not found, it does nothing. If they type slowly, they can cycle through the matching items but they must pause after each key press.
Is there a way to get the desired functionality.
There's no way to do this. In fact... I'm not sure I see how that could possibly work. If you press "I" and then press "I" again, how would the control know whether you wanted to go to the first item beginning with "II" or the second item that starts with "I"?
Thanks for the response. We are replacing a VB6 application. The current combo box will look for an item that has multiple characters that the user typed. If it does not exist in the list, then it goes to the next item starting with that character. It responds very quickly. The current combo is a user control and I don't have the code for it.
There's no built-in way to do this with UltraCombo. You could create your own combo and then handle the searching however you like, of course. It's not a trivial amount of code to write, but it's probably not as bad as you might think, because you can combine the UltraComboEditor with an UltraGrid control as it's dropdown.
UltraComboEditor - Can I Use a Custom Control for the DropDown? - Infragistics Community
I have a client that demands this behavior as that is how it worked in the VB6 application. Is there a solution for this yet?
I'm not sure I understand exactly what the issue was. It sounds like the problem was that if you press the same letter twice in a row too quickly (without a pause) that it didn't respond to the second keypress.
If that's the issue, then I can no longer reproduce that in the latest version (18.1). I tried it out in a quick sample with both UltraCombo and UltraComboEditor and they both respond immediately when I press the same letter more than once by selecting the next item on the list beginning with that letter.
I have attached my sample here in case you would to try it out with whatever version you are using and/or the trial version of 18.1 and compare.