Converting IList<IFilterDescriptor> and IList<SortDescriptor> sortDescriptors to string

2 posts, 0 answers
  1. Aleksandar
    Aleksandar avatar
    2 posts
    Member since:
    Jun 2011

    Posted 04 Apr 2013 Link to this post

    Hi,
    do you already have somewhere methods that can convert IFilterDescriptor and SortDescriptor to string representations that System.Linq.Dynamic can accept?

    I am using WCF Plain Service generated with "Add OpenAcces Service..." tool and it accepts strings as filter and sort parameters, while on gui side I am using Kendo MVC that passes filter and sort descriptors.

    I can make the converters myself, but would prefer to use library methods if you have already developed them yourself.

    Thanks in advance.
  2. Daniel
    Admin
    Daniel avatar
    2117 posts

    Posted 09 Apr 2013 Link to this post

    Hello Aleksandar,

    There is not a built-in method that translates the descriptors to strings in a format that can be processed by the Find method. The Kendo MVC server API translates the descriptors directly to LINQ expressions.

    Regards,
    Daniel
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. UI for ASP.NET MVC is VS 2017 Ready
Back to Top