Filter not working with custom DataRow

6 posts, 0 answers
  1. Benedikt
    Benedikt avatar
    19 posts
    Member since:
    Apr 2014

    Posted 23 Sep 2015 Link to this post

    I have problem with the RadGridView, and my own ObservableDataRowThe grid throws an exception if i click on the filter symbol in a grid. This problem occures if i bind to the following object:

    RadObservableCollection<ObservableDataRow> items = new RadObservableCollection<ObservableDataRow>();
    // Items will be filled with instances of ObservableDataRow instances...

    The error does NOT occure if i declare the collection like this:

    RadObservableCollection<DataRow> items = new RadObservableCollection<DataRow>();

    But i also fill the list with instances of ObservableDataRow.

    The exception: No generic method 'Select' for the type 'System.Linq-Quieryable' is with the provided type argument and arguments compatible. No type argument should be provided, if the method is not generic. (Translated from a german error message - may not the same as thrown in english.)

    Using RadObservableCollection<DataRow> solved the problem, but there must be a bug.

    Or did i some thing else wrong?

    As an additional information, i have also created my own ObservableDataTable for creating instances of ObservableDataRow.

    Thank you.

  2. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 25 Sep 2015 Link to this post

    Hello Sebastian,

    I resolved similar issue a while back. Could you test whether you can reproduce the behavior with our current official release Q2 2015 SP ?

    Regards,
    Maya
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for WPF is Visual Studio 2017 Ready
  4. Benedikt
    Benedikt avatar
    19 posts
    Member since:
    Apr 2014

    Posted 25 Sep 2015 in reply to Maya Link to this post

    I've used the newest Q2 2015 release in the project. So yes, i could.
  5. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 25 Sep 2015 Link to this post

    Hi,

    Great, let me know how it goes. 

    Regards,
    Maya
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  6. Benedikt
    Benedikt avatar
    19 posts
    Member since:
    Apr 2014

    Posted 25 Sep 2015 in reply to Maya Link to this post

    In my case the exists in the newest version. Nothing changed from previous versions. Thank you.

     

  7. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 28 Sep 2015 Link to this post

    Hello Sebastian,

    That's a bit strange. Could you send a small reproducible project that I can debug on my side and investigate the cause of the problem ?  

    Regards,
    Maya
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top
UI for WPF is Visual Studio 2017 Ready