More in this section

Forums / Developing with Sitefinity / Sorting of news items

Sorting of news items

4 posts, 0 answered
  1. Kwinten Volckaert
    Kwinten Volckaert avatar
    41 posts
    Registered:
    01 Mar 2005
    11 Oct 2007
    Link to this post
    Is it possible to sort the newsitems in the newslist control?
  2. Pepi
    Pepi avatar
    981 posts
    Registered:
    31 Jan 2017
    11 Oct 2007
    Link to this post
    Hi Kwinten,

    1. Go to NewsList Advanced properties
    2. In the Appearance section there is a property named SortBy that gets or sets the sort expression used to order News in the list.

    Hope this helps.

    Greetings,
    Pepi
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. OC
    OC avatar
    129 posts
    Registered:
    17 Nov 2004
    09 Nov 2007
    Link to this post

    What is possible values on this property?


    OC
  4. Pepi
    Pepi avatar
    981 posts
    Registered:
    31 Jan 2017
    09 Nov 2007
    Link to this post
    Hello Ole,

    For example, if you want to sort News items by Publication Date, SortBy expression should look as follows:

    Publication_Date DESC

    For more information you could investigate the following thread.

    Do let us know if you come up with other questions.

    Best wishes,
    Pepi
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Register for webinar
4 posts, 0 answered