Hi,
I am using one grid on a silverlight window;
Columns are customly generated and with radio buttons I toggle one data type with different columns in the grid;
Unpredictably, it sometimes throws this exception, usually on the first toggle function:
[Arg_NullReferenceException]Arguments:Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem.See http://go.microsoft.com/fwlink/?linkid=106663&version=4.0.60831.0&File=mscorlib.dll&Key=Arg_NullReferenceException at Infragistics.Controls.Grids.XamGridRowsManager.InvalidateGroupBy(Boolean reset) at Infragistics.Controls.Grids.RowsManager.InvalidateData() 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.InvalidateData() at Infragistics.Controls.Grids.ColumnLayout.OnColumnAdded(ColumnBase columnBase) at Infragistics.Controls.Grids.ColumnBaseCollection.AddItem(Int32 index, ColumnBase item) at Infragistics.Collections.CollectionBase`1.Add(T item) at MVVM_Smo.Client.Controls.SMOGrid.SMOGridBase.addColumnsTrivialAction(KeyValuePair`2 p)
please help
thanks
Hello Asanka,
Thank you for your post I have been looking into it but without a sample project where this is reproduced I cannot conclude what can cause this behavior, so could you please send an isolated sample project, where the issue is reproduced, so I can investigate it further for you.
Looking forward for your reply.
Hi i have a similar error message,
Application designed in Lightswitch
error message above only comes in the published 2 tier desktop application after pressing the save button.
we have looked at the http://localhost:xxx/trace.axd and couldnt see any errors. (of course we enable tracing in web.config)
any help
Thanks Darrell,
The SR seemed to be it !
This sounds like an issue that was resolved in a Service Release. Are you using the latest SR for your product?
When the ItemSource changes to a new list, then the GroupBy should be clearing, so what you could also try is setting the ItemSource to null prior to putting on your new Itemsource which by default clears all groups.
But first I would check that the version you are using is the latest.