Try Now
More in this section

Forums / General Discussions / news by category

news by category

2 posts, 0 answered
  1. NuToSitefinity
    NuToSitefinity avatar
    140 posts
    01 Sep 2010
    25 Mar 2011
    Link to this post
    Is it possible in 3.7 to get all news items that are in a certain category and bind to a asp repeater or datalist? I'm creating a custom user control that will show this
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    19 Oct 2016
    30 Mar 2011
    Link to this post
    Hello NuToSitefinity,

    Yes, get all items by using GetContent method of the ContentManager and use a filter expression. Then inside ItemDataBound event of the Repater you can populate its ItemTemplate.

    Ivan Dimitrov
    the Telerik team
2 posts, 0 answered