i am getting the below while udpating the itemsource in xamgridsorting event.
at System.Collections.Comparer.Compare(Object a, Object b) at System.Collections.Generic.ObjectComparer`1.Compare(T x, T y) at System.Linq.EnumerableSorter`2.CompareKeys(Int32 index1, Int32 index2) at System.Linq.EnumerableSorter`1.QuickSort(Int32[] map, Int32 left, Int32 right) at System.Linq.EnumerableSorter`1.Sort(TElement[] elements, Int32 count) at System.Linq.OrderedEnumerable`1.<GetEnumerator>d__0.MoveNext() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) 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.UpdateData() at Infragistics.Controls.Grids.RowsManager.InvalidateSort() at Infragistics.Controls.Grids.RowsManager.OnColumnLayoutPropertyChanged(ColumnLayout layout, String propertyName) at Infragistics.Controls.Grids.XamGridRowsManager.OnColumnLayoutPropertyChanged(ColumnLayout layout, String propertyName) at Infragistics.Controls.Grids.RowsManagerBase.OnColumnLayoutPropertyChanged(Object sender, PropertyChangedEventArgs e) at System.ComponentModel.PropertyChangedEventHandler.Invoke(Object sender, PropertyChangedEventArgs e) at Infragistics.DependencyObjectNotifier.OnPropertyChanged(String propertyName) at Infragistics.Controls.Grids.ColumnLayout.InvalidateSorting() at Infragistics.Controls.Grids.ColumnLayout.Column_PropertyChanged(Object sender, PropertyChangedEventArgs e) at System.ComponentModel.PropertyChangedEventHandler.Invoke(Object sender, PropertyChangedEventArgs e) at Infragistics.DependencyObjectNotifier.OnPropertyChanged(String propertyName) at Infragistics.Controls.Grids.Column.SetSortedColumnState(SortDirection state, Boolean multipleColumnSort) at Infragistics.Controls.Grids.Primitives.SortingBaseCommand.ExecuteCommandHelper(SortDirection sortDirection, Column col) at Infragistics.Controls.Grids.Primitives.SortToggleCommand.ExecuteCommand(Column col) at Infragistics.Controls.Grids.ColumnCommandBase.Execute(Object parameter) at Infragistics.Controls.CommandSource.Execute(ICommandTarget target, Boolean canExecute) at Infragistics.Controls.CommandSource.LookForCommandTarget(FrameworkElement parent, Boolean execute, ICommand command) at Infragistics.Controls.CommandSource.InvokeCommand(Boolean execute) at Infragistics.Controls.CommandSource.EventFired(Object sender, EventArgs e) at System.EventHandler.Invoke(Object sender, EventArgs e) at Infragistics.Controls.Grids.Primitives.SimpleClickableContainer.OnSimpleClick() at Infragistics.Controls.Grids.Primitives.SimpleClickableContainer.OnMouseLeftButtonUp(MouseButtonEventArgs e) at System.Windows.Controls.Control.OnMouseLeftButtonUp(Control ctrl, EventArgs e) at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName, UInt32 flags)
Hello,
I am just checking if you got this worked out or you still require any assistance or clarification on the matter.
Thank you for your post. I have been looking into it, but since this is not a known issue I cannot be completely sure what can cause this exception, so it will be great if you send me an isolated sample project, where the issue is reproduced, so I can investigate it further for you.
Looking forward for your reply.