This question is locked. New answers and comments are not allowed.
Hello,
I have a grid with the following column in it:
Each time I click on the filter icon (standard Telerik grid filters), the following exception is shown in the output:
The filtering seems to work however, but I'd still like to get rid of this exception.
Any ideas?
Thanks,
Sodi
I have a grid with the following column in it:
<telerikGrid:GridViewDataColumn DataMemberBinding="{Binding Date}" Width="120" DataFormatString="{}{0:dd/MM/yyyy HH:mm}"/>Each time I click on the filter icon (standard Telerik grid filters), the following exception is shown in the output:
System.Windows.Data Error: 'MS.Internal.Data.DynamicValueConverter' converter failed to convert value '' (type 'Telerik.Windows.Data.FilterDescriptor+FilterDescriptorUnsetValue'); BindingExpression: Path='Value' DataItem='Telerik.Windows.Controls.GridView.FilterDescriptorViewModel' (HashCode=66662461); target element is 'Telerik.Windows.Controls.RadDateTimePicker' (Name=''); target property is 'SelectedValue' (type 'System.Nullable`1[System.DateTime]').. System.InvalidOperationException: Can't convert type Telerik.Windows.Data.FilterDescriptor+FilterDescriptorUnsetValue to type System.DateTime. bij MS.Internal.Data.DefaultValueConverter.Create(Type sourceType, Type targetType, Boolean targetToSource) bij MS.Internal.Data.DefaultValueConverter.Create(Type sourceType, Type targetType, Boolean targetToSource) bij MS.Internal.Data.DynamicValueConverter.EnsureConverter(Type sourceType, Type targetType) bij MS.Internal.Data.DynamicValueConverter.Convert(Object value, Type targetType, Object parameter, CultureInfo culture) bij System.Windows.Data.BindingExpression.ConvertToTarget(Object value).The filtering seems to work however, but I'd still like to get rid of this exception.
Any ideas?
Thanks,
Sodi