More in this section

Forums / Bugs & Issues / Sorting on custom blog provider

Sorting on custom blog provider

2 posts, 0 answered
  1. Nigel
    Nigel avatar
    38 posts
    01 Dec 2004
    30 May 2008
    Link to this post

    I am having issues sorting posts in the BlogPosts control on a custom blog provider. I am trying to sort by Title ASC, but no sort expression I enter seems to have any effect on the order.

    I am using the control with Display Mode set to Category. The Title meta field for my provider in web.config has sortable="True" set.

    Also, if this can be fixed, I'd like to make sorting configurable on the page. Is there a recommended way for accomplishing that?

  2. Pepi
    Pepi avatar
    981 posts
    31 Jan 2017
    30 May 2008
    Link to this post
    Hi Nigel,

    As a workaround I would recommend you set DisplayMode property of the BlogPosts control to "ItemList". Then, you need to specify CategoryID to display only the posts that belong to a specific category.

    Configuring BlogPosts control in this way should fix the problem with the sorting by meta fields.

    Do let us know if this helps.

    Kind regards,
    the Telerik team

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