Executing Query on server side using plain WCF and RadDataFilter

1 posts, 0 answers
  1. Rajat Panwar
    Rajat Panwar avatar
    11 posts
    Member since:
    Aug 2009

    Posted 05 Dec 2012 Link to this post


    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

Back to Top