we have some comboboxes in our application displaying large lists of data. Our customer is asking us to have some kind of fulltext search in them.
Ie: if in the combo we have these values :
they want to type just “Ru” in the combobox so the selection jumps to “Sam Russell” and if they type “R” the proposed values are “Jimmy Jefferson” and “Sam Russell”. Is there a way to achieve this behavior?
By applying these settings:
comboBox1.DropDownStyle = ComboBoxStyle.DropDown;
comboBox1.AutoCompleteMode = AutoCompleteMode.SuggestAppend;
I obtained the combo automatically selects the values starting with the letters the user typed, but I want it selecting also the values containing them. Am I missing something?
Thanks and regards,
you might also want to take a look at our Wisej.SearchBox sample (attached) that comes pretty close to the functionality you are searching for.
It´s based on a Textbox though but the user experience could be what you are looking for, especially when you have a large number of items that no user wants to scroll through without a prefilter.
Thanks for your quick reply, Frank! I forgot to specify I’m using Wisej.Web.Combobox (not sure if you have non-web components too)
Do the suggested Winforms based samples fit in my scenario?
this is not supported by AutoComplete. Neither in Wisej nor in Winforms.
In that case you will have to do your own custom filtering of the ComboBox.
There are various Winforms based samples around that you might want to adapt to Wisej.
Please login first to submit.