Hi,
I am having an issue with the UltraComboEditor control. We are using this control to display a list of enum values along with an icon for each value. Below is a simple example that can demonstrate my issue. It appears there is an issue with the SuggestAppend behavior when DisplayTextAndPicture is set. When set, the type ahead functionality does not work correctly. If this is not set, SuggestAppend seems to work as expected. Can you provide me any information on what is causing this problem?
public Form1()
{
InitializeComponent();
ultraComboEditor1.LimitToList = true;
ultraComboEditor1.AutoCompleteMode = Infragistics.Win.AutoCompleteMode.SuggestAppend;
// THIS LINE SEEMS TO BE THE ISSUE. COMMENT OUT AND THE SUGGEST WHILE TYPING
// WORKS BETTER.
ultraComboEditor1.ValueList.DisplayStyle = Infragistics.Win.ValueListDisplayStyle.DisplayTextAndPicture;
ultraComboEditor1.ValueList.ValueListItems.Add(MyEnum.OneEnum, "One Enum");
ultraComboEditor1.ValueList.ValueListItems.Add(MyEnum.SecondEnum, "Second Enum");
ultraComboEditor1.ValueList.ValueListItems.Add(MyEnum.ThirdEnum, "Third Enum");
}
public enum MyEnum
OneEnum = 1,
SecondEnum = 2,
ThirdEnum = 3
Thanks,
~Corey
Hi Corey,
What exactly is not working correctly? I tried this out using your code and everything seems to work fine for me.
I am attaching my sample project (with your code) here so you can check it out.
I, of course, am using the latest service release, so maybe there's a bug in the version you are using and you just need to update.
How to get the latest service release - Infragistics Community
Mike,
Your project does work correctly for me. However, we are using Visual Studio 2010, so when I opened it with 2010 and converted the project, built, and ran, it is now not working!
My behavior is if I first type an "S" into the box, "Second Enum" will display as the suggested text in the box like it should. If I then continue to type the second letter "e", so I now have typed "Se", I no longer receive any suggestion and the only text in the box is "Se" even though it should be "Second Enum".
My version of Infragistics is 10.3.20103.2107. .NET 4.0.
It's not very big. The forum attachment option is telling me that the max size is 200 KB. I don't think any sample project is smaller than that number, haha!
My sample above is 14.5 KB. Nowhere near 200.
If you include a sample that I can compile and run, you do not need to include the bin and obj folders which include the exe files. Those add a lot of unnecessary size to the sample.
Ok, I have attached the project without the extra files. Hopefully you will be able to see the issue. If not, it might be better to send you my exact copy of the project with all files included?
This still works just fine for me. After I type the 'Se', the form looks like this:
This is what mine looks like:
Hello,
I will be happy to help you out with this issue.
I have created case # CAS-79539-3NRWPD for you to better assist you with this issue going forward. You can use this case to upload your entire sample so that I can view if the issue is reproducible with your larger project. To access the case, simply log into your IG account and click on My Support Activity.
Please let me know if you have further questions in this matter utilizing the case created.
I think the best thing to do for now is wait for the December SR. Hopefully that will fix it. If not, please let me know and we will look into it some more.