More in this section

Forums / Developing with Sitefinity / Display only the items within a subcategory in the Download List

Display only the items within a subcategory in the Download List

2 posts, 0 answered
  1. Greg
    Greg avatar
    1 posts
    Registered:
    23 Apr 2009
    24 Apr 2009
    Link to this post
    Is it possible to only display items from a seleted subcategory that exist within the Document Manager in the Download List ?

    Currently it displays everything, and when promoted for 'Which items to display to download?', it offers only the top level 'Document Manager' and none of it subcategories.

    Is it possible to display limited results in this way, or do these categories have to be created at the top level ?

    Many thanks,
  2. Stoyanka Assenova
    Stoyanka Assenova avatar
    113 posts
    Registered:
    01 Dec 2016
    24 Apr 2009
    Link to this post
    Hello Greg,

    Please take the following steps:
    1. Edit a DownloadList control
    2. Browse to the Advanced>Filters>FilterExpression and write filter expression in the "FilterExpression" property
    For example:
    Category = "name of category"  and press "I'm done" button.

    If you want to filter by more than one category you should use Category IN ("name of category_1", "name of category_2",...., "name of category_n" ) in the "FilterExpression" property.

    Regards,
    Stoyanka Assenova
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
2 posts, 0 answered