This question is locked. New answers and comments are not allowed.
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
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