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
195
Strange error with the ultraComboEditor
posted

I have an ultraComboEditor with AutoCompleteMode=Suggest and AutoSuggestFilterMode=Contains, the ValueList is set to a value list created dynamically.  IF the control is set to the 1st tab stop and you begin typing in the combo editor, you're receive the error below.  If I change the control to the 2nd tab stop everything works as expected.  If you change AutoComplete and AutoSuggest back to default, everything works as well.  I tried recreating this in another project without success, however, in my production app it is 100% reproducible.

We're using 10.3.20103.2083

System.NullReferenceException: Object reference not set to an instance of an object.
   at Infragistics.Win.ValueList.Infragistics.Win.IFilterableValueList.ApplyFilter(Object value, AutoSuggestFilterMode filterMode)
   at Infragistics.Win.EditorWithCombo.ProcessAutoComplete(Keys lastKeyDown)
   at Infragistics.Win.EditorWithCombo.ProcessTextBoxTextChanged(Boolean& selectionChangedByAutoEdit)
   at Infragistics.Win.EditorWithCombo.Infragistics.Win.IEmbeddableTextBoxListener.OnTextChanged()
   at Infragistics.Win.EmbeddableTextBox.OnTextChanged(EventArgs e)
   at System.Windows.Forms.TextBoxBase.WmReflectCommand(Message& m)
   at System.Windows.Forms.TextBoxBase.WndProc(Message& m)
   at System.Windows.Forms.TextBox.WndProc(Message& m)
   at Infragistics.Win.EmbeddableTextBoxWithUIPermissions.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Parents
No Data
Reply
  • 53790
    posted

    I also try to reproduce your issue in my test project, but unfortunatelly without success. I guess that one possible reason to getting such issue might be your dynamic loading of the value list. If your are saying that setting TabIndex to 2 resolves your issue,  this might be a timing issue. Since it is difficult for me to give you more accurate answer,  could you please provide me some specific steps that you are doing in your application like, how to you are populating your value list, is there any conditions that have to be met when you are populating it, are you using multithreading ?

     

    Please try to provide me more details and please keep me in touch.

Children