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)
If you can reproduce this exception in a small sample project and post it here, I'd be happy to take a look at it.
Hello Scott
I have create a case for you by this forum thread with Ref number: CAS-64426-HCHB5Q . I suggest you to continue our conversation via this case. Please let us try to if you have any other question.
RegardsGeorgi
Mike,
The value lists are the same from both forms and have no null values. The text is changing because I'm typing in the control for the autocomplete to function, however the error happens as I type the first letter.
I get the same error. Same scenario with tab stop and auto complete mode.
So the initial text of the control is empty and the value is null?
Is there an item in the ValueList whose DataValue is empty or null? If so, then when you set the ValueList, the control will translate the null into the DisplayText for that ValueListItem. That might explain why the text is changing and why it only happens on this particular form since the ValueList on the other form probably doesn't have a null item.