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?
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 ?
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.
I'm using Infragistics version 8.2.20082.1000.
I made a little demo of my problem, you can download it at http://212.30.214.23/out/FaktaUltraComboTest.zip
It's a Visual Studio 2008 project.
As you can see in the code that the user inputs a string in the combobox and when he has entered 3 letters the code is supposed to search an employee database for names that begin with these 3 letters. To fake this I load the datatable with a couple of fake names. So if you type in "aaa" the code fills the datatable but there are no suggestions until I type the fourth letter (b).
I am not sure why is that, and could you provide me more information when exactly you are adding the datasoure to your UltraComboEditor?
Also could you please check what is the version of the NetAdvantage controls that you are using and if there is any service release applied to it?