sorry, accidentally hit enter!
title should read
"problem loading saved grid settings"
using the provided code from your demo, the 'loadstate' method in the radgridviewsettings file
causes the following exception
{"The binary operator Equal is not defined for the types 'System.Object' and 'System.Boolean'."}
This happens when I load a saved a filter setting, with a column that has boolean types filtered to false or true (nothing works fine).
it seems to arise from:
Spent several hours trying to figure this out, any help that can point me in the right direction would be much appreciated!
regards,
Andrew
title should read
"problem loading saved grid settings"
using the provided code from your demo, the 'loadstate' method in the radgridviewsettings file
causes the following exception
{"The binary operator Equal is not defined for the types 'System.Object' and 'System.Boolean'."}
This happens when I load a saved a filter setting, with a column that has boolean types filtered to false or true (nothing works fine).
it seems to arise from:
For Each fds As FilterDescriptorSetting In setting.SelectedDistinctValues Dim fd As New Telerik.Windows.Data.FilterDescriptor() fd.Member = fds.Member fd.[Operator] = fds.[Operator] fd.Value = fds.Value cfd.DistinctFilter.FilterDescriptors.Add(fd)NextMe.grid.FilterDescriptors.Add(cfd)Spent several hours trying to figure this out, any help that can point me in the right direction would be much appreciated!
regards,
Andrew