I have a editable autocomplete combo bound to an IEnumerable under the current 2014.1 version.Everything works fine.. however after I change the value three times by selecting different values in the combo I get this error:
System.NullReferenceException: "Object reference not set to an instance of an object." at MS.Internal.XcpImports.CheckHResult(UInt32 hr) at MS.Internal.XcpImports.UIElement_Measure(UIElement element, Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at Infragistics.Controls.Editors.ComboEditorBase`2.InvalidateDropDownPosition(Boolean adjustHeight) at Infragistics.Controls.Editors.ComboEditorBase`2.DataManager_DataUpdated(Object sender, EventArgs e) at Infragistics.DataManagerBase.OnDataUpdated() at Infragistics.DataManager`1.ApplyClientDataManipulations(Boolean setSortedFilteredDataSource) at Infragistics.DataManager`1.ResolveFilteredSortedPagedDataSource() at Infragistics.DataManagerBase.InvalidateSortedFilterdDataSource() at Infragistics.DataManagerBase.ClearCachedDataSource(Boolean invalidateTotalRowCount) at Infragistics.DataManager`1.ClearCachedDataSource(Boolean invalidateTotalRowCount) at Infragistics.DataManagerBase.set_Filters(RecordFilterCollection value) at Infragistics.Controls.Editors.ComboEditorBase`2.SearchAndFilterItemsByText(String text, Boolean performAutoComplete) at Infragistics.Controls.Editors.ComboEditorBase`2.ProcessEditorText(Boolean allowDropDown, Boolean attemptAutoComplete) at Infragistics.Controls.Editors.ComboEditorBase`2.ProcessEditorText(Boolean allowDropDown) at Infragistics.Controls.Editors.ComboEditorBase`2.Editor_LostFocus(Object sender, RoutedEventArgs e) at MS.Internal.CoreInvokeHandler.InvokeEventHandler(UInt32 typeIndex, Delegate handlerDelegate, Object sender, Object args) at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName, UInt32 flags)
Hello Greg,
Thank you for your post!
I have been looking into your issue and have created a small sample application to test the functionality you have mentioned and I was not able to reproduce the issue.
Currently the XamComboEditor supports collections of type IEnumerabe with complex properties. For example ObservableCollection<Person>.
I am attaching the sample application I have been testing with for your reference. Would you please modify it with the functionality you are using, so it reproduces the issue. This way I would be able to further investigate this issue for you.
Thank you for the cooperation. Looking forward to hearing from you.
It's probably that I'm not implementing the complex properties. I found the error message really confusing though.
I have since switched to the standard Silverlight combobox which seems to work ok with the same collection.
Maybe I will revisit this in the future if the standard combobox doesn't suit my needs.
Thank you for your help,
Greg
Thanks for the workaround. In the instance where I was experiencing the error I was able to get by with a regular combobox.
However, I am using this control in several projects which may or may not develop the same problem now that I've upgraded.
If there is a way to notify me when the service release comes out for this please do.
I have been looking into your question. On our web site you would be able to find a schedule for the future service releases. Here is a link for the schedule: https://ko.infragistics.com/support/service-releases.
Please do not hesitate to let me know if you have any further questions on this matter.
The recently published Service release fixed this issue.
The issue is still present (SL 14.1.20141.2009). It is very annoying as it crashes whole SL application.
When can we expect a fix for this issue?
Hello Igor,
I have been looking into your post!
The latest service release for Silverlight for Infragistics 14.1 version is - 2083. This is why what I can suggest is to try to update your project to the latest version of Infragistics controls - 14.1.20141.2083.