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.
I can't imagine any reason why the version of Visual Studio should matter. I tried it out in VS2010 and it worked fine for me.
Are you sure nothing else changed, like the version of the NetAdvantage assemblies you are using?
What you describe sounds a lot like a bug that was recently fixed. I'm not sure if it's in the latest service release or if it's waiting to go out with the next one, but I can tell you that the version you are using is not the latest. The latest version on the web site if 20103.2140.
So I recommend downloading the latest SR and see if that helps. If not, the next one is due out at the end of December. You can find the schedule here:
Infragistics Service Releases
I tried using the latest version, 2140, and I am still seeing the problem. I can wait until the December release and see if it is fixed in there. I'm still confused on why I see the problem and you don't. I tried attaching my project but it was over the size limit. (200kb). Is there another way I can send you my project? It is basically the same one attached before, I would just like to see if it works or doesn't work for you when you use my copy.
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.
This is what mine looks like:
This still works just fine for me. After I type the 'Se', the form looks like this:
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?