Hi,
I added a GridColumn in binding with byte property, when I try to filter with value greater thant 255 I receive an exception.
Thi is my grid, my column "Ultima Revisione" is a byte,
When I try to filter (for example "106", see attached screenshot), it's all ok, but if I add "8", I receive an overflow exception, because byte can't compare with a value 1068.
I thought the filter handles all types of primitive variables....
How can I resolve this issue? (Do not tell me to do a string variable alternative ...)
<
telerik:RadGridView
x:Name
=
"radGridView"
Style
=
"{StaticResource ListStyle}"
ItemsSource
=
"{Binding Items}"
MouseDoubleClick
=
"RadGridViewMouseDoubleClick"
SelectedItem
=
"{Binding SelectedItem,Mode=TwoWay}"
IsLocalizationLanguageRespected
=
"False"
>
<
telerik:RadGridView.Columns
>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding Codice}"
Header
=
"Codice"
/>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding Descrizione}"
Header
=
"Descrizione"
/>
<
telerik:GridViewCheckBoxColumn
DataMemberBinding
=
"{Binding Ricambio}"
Header
=
"Ricambio"
/>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding CodiceValuta}"
Header
=
"Valuta"
/>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding UltimaRevisione}"
Header
=
"Ultima Revisione"
/>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding UltimaRevisioneReference.InizioValidità, StringFormat=\{0:d\}}"
Header
=
"Inizio Validità"
/>
</
telerik:RadGridView.Columns
>