More in this section

Forums / Developing with Sitefinity / Manager.GetContent filter application

Manager.GetContent filter application

2 posts, 1 answered
  1. Bruno Michels
    Bruno Michels avatar
    125 posts
    16 Apr 2010
    25 May 2010
    Link to this post
    How can I change the Application filter?

    It is generating a SQL with the following parameters


    var list = manager.GetContent(0, 0, filters.ToArray(), new Guid[] { library.ID }).Cast<IContent>();

    I want @P_p1 to be '/Libraries'
  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    01 Feb 2016
    25 May 2010
    Link to this post
    Hi Bruno Michels,

    Thank you for using our services.

    You should then instantiate your manager with the Libraries provider instead of the Generic Content one:
    var manager = new ContentManager("Libraries");

    Radoslav Georgiev
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
2 posts, 1 answered