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,
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.
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!
I will ping Developer Support and see if there is some other way you can submit a project to them. But why is it so big?
Mike,
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.
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.
How to get the latest service release - Infragistics Community
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