More in this section

Forums / Developing with Sitefinity / Sorting and Filtering List

Sorting and Filtering List

2 posts, 0 answered
  1. Joe
    Joe avatar
    40 posts
    Registered:
    11 Sep 2007
    27 Nov 2007
    Link to this post
    With 3.0 I was able to Sort and Filter list using special Sitefinity (Company name should probably be in dictionary) syntax for equalities, but in 3.1 I do not see that property available when I add a list to a page. I know that a different thread specified how to sort News items
    http://www.sitefinity.com/support/forums/support-forum-thread/b1043S-baddmk.aspx, but I don't even see a SortBy option in the Appearance Group for Lists. Is there a way that I can do this aside from creating a custom control?


  2. Pepi
    Pepi avatar
    981 posts
    Registered:
    31 Jan 2017
    28 Nov 2007
    Link to this post
    Hello Joseph,

    You could wrap Lists control in a User Control and use its CustomDataSource property to implement the logic for sorting the lists by some criteria. In the attachment you could find a simple example how to achieve this.

    Hope this helps.

    All the best,
    Pepi
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
2 posts, 0 answered