This question is locked. New answers and comments are not allowed.
I noticed the online documentation link doesn't work anymore
http://www.telerik.com/help/silverlight/radgridview-how-to-saveload-gridview-layout.html
When moving the to the new binaries the old code breaks. Somethings are mentioned in the Breaking Changes thread, but somethings are not.
SortDirection wasn't covered in the thread, I guessed:
FieldFilter.Filter1.Member doesn't work anymore, I guessed to remove it:
also, this doesn't work
FilterSetting setting = new FilterSetting();
setting.PropertyName = cfd.Column.DataMemberBinding.Path.Path;
Are these ok? Are you going to replace the documentation on how to restore settings?
Maybe alll of those functions have to be re-written, but I don't have time to do that right now. I was wondering if there are some quick fixes.
http://www.telerik.com/help/silverlight/radgridview-how-to-saveload-gridview-layout.html
When moving the to the new binaries the old code breaks. Somethings are mentioned in the Breaking Changes thread, but somethings are not.
SortDirection wasn't covered in the thread, I guessed:
IColumnFilterDescriptor columnDescriptor = (from c in grid.Columns.OfType<GridViewBoundColumnBase>() where c.GetDataMemberName() == setting.PropertyName select c).FirstOrDefault().ColumnFilterDescriptor;columnDescriptor.SuspendNotifications();columnDescriptor.Column.SortingState = SortListToSettings(setting.SortDirection);columnDescriptor.ResumeNotifications();FieldFilter.Filter1.Member doesn't work anymore, I guessed to remove it:
IColumnFilterDescriptor cfd = matchingColumn.ColumnFilterDescriptor; cfd.SuspendNotifications(); if (setting.Filter1 != null && setting.Filter1.Member != null) { cfd.FieldFilter.Filter1.Member = setting.Filter1.Member; cfd.FieldFilter.Filter1.Operator = setting.Filter1.Operator; cfd.FieldFilter.Filter1.Value = setting.Filter1.Value; }...cfd.ResumeNotifications();also, this doesn't work
FilterSetting setting = new FilterSetting();
setting.PropertyName = cfd.Column.DataMemberBinding.Path.Path;
Are these ok? Are you going to replace the documentation on how to restore settings?
Maybe alll of those functions have to be re-written, but I don't have time to do that right now. I was wondering if there are some quick fixes.