+1-888-365-2779
Try Now
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
    Registered:
    01 Dec 2004
    30 May 2008
    Link to this post
    Hi

    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?

    Thanks
  2. Pepi
    Pepi avatar
    981 posts
    Registered:
    28 Oct 2016
    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,
    Pepi
    the Telerik team

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