Hello,
I have a radDataGrid and the source is a List<customerClass>, where curstomer class have nullable fields ( DateTime? and int? ).
When i want to set the filter in the filterRow on such a column I get the following exception.
How can I make the filter working on such columns?
Regards
Roland
I have a radDataGrid and the source is a List<customerClass>, where curstomer class have nullable fields ( DateTime? and int? ).
When i want to set the filter in the filterRow on such a column I get the following exception.
How can I make the filter working on such columns?
Regards
Roland
System.InvalidCastException wurde nicht behandelt.
Message=
"UngĀltige Umwandlung von \"System.DateTime\" in \"System.Nullable`1[[System.DateTime, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]\"."
Source=
"mscorlib"
StackTrace:
bei System.Convert.DefaultToType(IConvertible value, Type targetType, IFormatProvider provider)
bei System.DateTime.System.IConvertible.ToType(Type type, IFormatProvider provider)
bei System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider)
bei Telerik.WinControls.UI.GridFilterCellElement.SetFilterValue(Object value)
bei Telerik.WinControls.UI.GridFilterCellElement.set_Value(Object value)
bei Telerik.WinControls.UI.RadGridView.UpdateFiltering()