I have a ultracomboeditor and I enter a text into it and on the third letter I search in a User table for users that begin with this text.
I have autocomplete set to suggest but the suggestions are not shown until I enter the fourth letter.
Is there a way that I can force the ultracomboeditor to show the suggestions right away eftir I added the datatable to the datasource?
Hello,
Thank you for the sample, based on it you should change a first if clause to .TextLegth == 2, becasue the valueChanged property is fired after the value has been changed. To order to work for the third letter you should set the DataSource a step earlier.
Please let me know if this is what you are looking for.
Sincerely,
Danko Valkov
Developer Support Engineer
Infragistics, Inc.
If I change the first if clause to .TextLenght == 2, then I would send 2 letters to the function instead of 3 letters. I want to send 3 letters (matter of load balance) to the function and not 2. Is there no possible way of getting the combobox to show the suggestions right after I call .DataSource ?
So you are not setting the DataSource on the combo until after the third character is typed? I don't think there is any way to make that work. The typing of the character is what triggers the auto-suggest, it will not be triggered by populating the list.
Also... this could be dangerous, anyway. If you are using DataValue and DisplayText, then not having the items exist on the list will be a problem, as the control will not be able to translate values which are not there.
Hi Mike,
Even i'm facing the same problem. LIke i set the AutoCompleteMode=Suggest.
In form Load itself i'm assigning data source for ultracomboeditor.
After that i tried to filter but its not happening. PLz help me mike. Its urgent.plz
THANKS
SUTHA
After that i tried to filter but its not happening.
Plz help me anyone...
Hi Sutha,
I'm sorry, but I don't understand what you are asking. Perhaps you could post a small sample project with more details about what the problem is and how to reproduce it.
Even i'm facing the same problem. Like i set the AutoCompleteMode=Suggest.
After that i tried scrolled the listed data in comboeditor and i tried to filter but its not happening.
with out scroll listed data and i tried its working filtering data. But i need after scrolled the listed data then need to filter.Its urgent. plz help me