This is a migrated thread and some comments may be shown as answers.

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

1 Answer 233 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Aleksandar
Top achievements
Rank 1
Aleksandar asked on 04 Apr 2013, 03:26 PM
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.

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 09 Apr 2013, 09:35 AM
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!
Tags
General Discussions
Asked by
Aleksandar
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or