Exception for filter on byte columns

6 posts, 0 answers
  1. Dario Concilio
    Dario Concilio avatar
    129 posts
    Member since:
    Apr 2016

    Posted 11 Oct Link to this post

    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>

  2. Dilyan Traykov
    Admin
    Dilyan Traykov avatar
    371 posts

    Posted 13 Oct Link to this post

    Hello Dario,

    This issue has been fixed with our latest internal build (2016.3.1010) which you can download from your account.

    Could you please try updating to this version of the controls and let me know if this resolves the matter?

    Regards,
    Dilyan Traykov
    Telerik by Progress
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Dario Concilio
    Dario Concilio avatar
    129 posts
    Member since:
    Apr 2016

    Posted 13 Oct in reply to Dilyan Traykov Link to this post

    I tryed.

    Same exception.

    However, I read release detailed of 2016.3.1010 build, but I didn't find about GridView......

  5. Dilyan Traykov
    Admin
    Dilyan Traykov avatar
    371 posts

    Posted 13 Oct Link to this post

    Hello Dario,

    I'm attaching a sample project where I'm unable to reproduce the exception using the latest internal build.

    Could you please have a look at it and let me know if it differs from the setup you have at your end in any way?

    Regards,
    Dilyan Traykov
    Telerik by Progress
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  6. Dario Concilio
    Dario Concilio avatar
    129 posts
    Member since:
    Apr 2016

    Posted 14 Oct in reply to Dilyan Traykov Link to this post

    I tryed to download it, but it shows me "Oh, no! It seems we've lost this page".....
  7. Dilyan Traykov
    Admin
    Dilyan Traykov avatar
    371 posts

    Posted 14 Oct Link to this post

    Hello Dario,

    We are currently experiencing an issue with our public forums which will be resolved as soon as possible. Please excuse us for the inconvenience.

    In case the matter is urgent, you can open a new support ticket and I will send you the project there, but I am basically just defining a column for the byte property for my business objects and trying to filter the grid though the search panel, which does not throw an exception with the latest internal build (2016.3.1010) as opposed to the R3 2016 release.

    Are these the action steps you are taking at your end as well?

    Regards,
    Dilyan Traykov
    Telerik by Progress
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Back to Top
UI for WPF is Visual Studio 2017 Ready