More in this section

Forums / General Discussions / Select blog by category

Select blog by category

2 posts, 0 answered
  1. Tristan
    Tristan avatar
    22 posts
    30 Mar 2009
    23 Aug 2010
    Link to this post

    I want the user to be able to add a blog list to a page but restrict what posts get displayed based on a category. What's teh best way to tackle this as by defaul there aren't any category selection options in the admin section?

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    23 Aug 2010
    Link to this post
    Hello Tristan,

    You can use FilterExpression property of BlogPosts control and write a condition which category will be displayed. The property is located under Advanced tab >> Filters. The syntax is Category = "nameofcategory". You could use AND operand in case of more than one condition.

    All the best,
    Ivan Dimitrov
    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, 0 answered