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

Executing Query on server side using plain WCF and RadDataFilter

0 Answers 83 Views
DataFilter
This is a migrated thread and some comments may be shown as answers.
Rajat Panwar
Top achievements
Rank 1
Rajat Panwar asked on 06 Dec 2012, 05:14 AM
Hello,

We have a scenario where we can use only plain WCF Services with Silverlight. Now we want to allow people doing filtering with the help of RadDataFilter. Point is filtering should be done on server side.

So we thought of playing around with FilterDescriptors from RadDataFilter. We were able to create a query in string which we can easily pass through WCF to the server and it looked like this

AccountId IsGreaterThan 100 && AccountName StartsWith "a" && ( (CreatedOn IsLessThan 05-12-2012 00:00:00 ) AND (AccountName Contains "a" ) )

Now the problem is how to execute this query on serer side. I thought of using LINQDataSource and passing this string to where clause, But that does not help and throws exception.

Can anyone please guide me how to execute this query on server OR some other way that I can achieve server side filtering using RadDataFilter.

Thanks and Regards,
Rajat Panwar

No answers yet. Maybe you can help?

Tags
DataFilter
Asked by
Rajat Panwar
Top achievements
Rank 1
Share this question
or