This question is locked. New answers and comments are not allowed.
I really need to upgrade our solution to the latest release, but I am not yet certain how to fix this code.
I have read this posting: http://www.telerik.com/community/forums/silverlight/gridview/sortdescriptor-and-groupdescriptor-broke-in-q3-release.aspx
But the reply there doesn't give me a good indication what I need to change given the loss of the Member property:
I have read this posting: http://www.telerik.com/community/forums/silverlight/gridview/sortdescriptor-and-groupdescriptor-broke-in-q3-release.aspx
But the reply there doesn't give me a good indication what I need to change given the loss of the Member property:
private static void SaveSortPreferences(CustomDataGrid gridView, GridPreference preference) { if (gridView.SortDescriptors == null) return; // Starts clean foreach (var entity in preference.SortLayout.SortInfos) { preference.SortLayout.SortInfos.Remove(entity); } foreach (var d in gridView.SortDescriptors) { var setting = preference.SortLayout.SortInfos.FirstOrDefault(q => q.PropertyName == d.Member); if (setting == null) { setting = new SortInfo(); setting.ParentId = preference.SortLayout.Id; setting.PropertyName = d.Member; preference.SortLayout.SortInfos.Add(setting); } setting.SortDirection = d.SortDirection; } }