FilterDescriptors to Expression

2 posts, 0 answers
  1. Oscar
    Oscar avatar
    3 posts
    Member since:
    Aug 2013

    Posted 07 Apr 2014 Link to this post

    I'm using ProLinq (http://prolinq.codeplex.com/) to expose IQueryable directly to clients of my service.

    I'm binding this Queryable to my RadfGridView but it's not working how i expected: The IQueryable that the service return is only for one use, when grid need to refresh (by a filter change for example) the grid must be obtain other IQueryable from the service.

    I'm trying to make this to work in several ways but i don't success for now :(
    - I'm overload Filtering and Sorting events to change grid filter every time
    - I'm try to convert the FilterDescriptor to System.Linq.Expression to get new IQueryable from service and apply the expression on it, but i don't know
    - I'm trying use VirtualQueryableCollectionView but when i filter the grid the service is not called.

    Any idea how i can complete this behavior?

    Thanks.
  2. Oscar
    Oscar avatar
    3 posts
    Member since:
    Aug 2013

    Posted 07 Apr 2014 in reply to Oscar Link to this post

    It's solved :O

    I had forgotten add the QueryableBehavior to service :(

    Sorry for inconvenience.
Back to Top