Programmatic Filtering Not Working

4 posts, 0 answers
  1. Mo
    Mo avatar
    1 posts
    Member since:
    Mar 2012

    Posted 27 Mar 2012 Link to this post

    I have a raddataservicedatasource setup in my xaml like below:
    <telerik:RadDataServiceDataSource x:Name="dataServiceDataSource" 
        AutoLoad="True"   QueryName="Accounts" Margin="320,21,320,193">
                        <local:MyEntities />
    I am trying to filter in the backend using FilterDescriptors but for some reason it never seems to go back to the server and apply the filter descriptors. Also the canload property is false after I add the descriptor to the data source.
    Here is the code I am using to do the filtering:
    AccountDetailsFilter = new FilterDescriptor("accountID_pk", FilterOperator.IsEqualTo, a.accountID);

    Any advice would be greatly appreciated.
  2. Rossen Hristov
    Rossen Hristov avatar
    2477 posts

    Posted 28 Mar 2012 Link to this post


    One possible reason for CanLoad being false is that it cannot find a query named "Accounts" on the DataServiceContext or there is no property called "accountID_pk" on the entity, but we can't be sure since we do not have your project.

    In case this is not the problem, I have attached a working sample project. Can you please modify it so it does reproduce the issue you are having and send it back to us for debugging.

    Thanks in advance.

    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  3. Stella
    Stella avatar
    1 posts
    Member since:
    Sep 2017

    Posted 07 Sep 2017 Link to this post

    After looking this post I disappointed because few days ago I need to get helpful solution my project where similar issue I had to face but there was no way in front of me to obtain anyone's help and then I had to get that problem solved with web development company in London who acquire me some charges for it. But I extremely did not have an idea that through these kinds of platform where lots of people ask for solution of their problems and also they get positive answer by people. Now own words I will even recommend checking this type of place. 
  4. Muneeb
    Muneeb avatar
    2 posts
    Member since:
    Feb 2018

    Posted 21 Feb Link to this post

    I was very confused about the solution to this problem. I had also faced the same issue.  When I was started my project, programmatic filtering not working properly. I was searching for the solution so I found [url=]website development London Agency[/url] in this concerned. Now my problem has been solved by the experts.
Back to Top