More in this section
Forums / General Discussions / news by category

news by category

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. NuToSitefinity
    NuToSitefinity avatar
    140 posts
    Registered:
    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
    Registered:
    12 Sep 2017
    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.

    Regards,
    Ivan Dimitrov
    the Telerik team
2 posts, 0 answered