Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
450
SuggestAppend Issue In Combo
posted

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

Parents Reply Children