More in this section

Forums / Developing with Sitefinity / SortExpression editor

SortExpression editor

4 posts, 0 answered
  1. Jean
    Jean avatar
    90 posts
    Registered:
    06 Nov 2008
    22 Jun 2009
    Link to this post
    Hi There,

    Has anyone created a sortexpression editor to make it easier for the user to select which way he wants to sort the content. It's not always ideal for the user to have to know all the metafields.

    Regards,
    Jean Erasmus
  2. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    22 Jun 2009
    Link to this post
    Hi Jean,

    I am not sure if someone from the community has it already, but the idea is great. We will see when we can add such feature.

    Kind regards,
    Georgi
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. Jean
    Jean avatar
    90 posts
    Registered:
    06 Nov 2008
    22 Jun 2009
    Link to this post
    Hi Georgi,

    Any pointers to get me started. Maybe I can contribute to the community once I've managed to crack it.

    Regards,
    Jean Erasmus
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    22 Jun 2009
    Link to this post
    Hi Jean,

    You should create a custom user control that has different providers. You can add the providers in a DropDownList then create a CheckBox list with the provider metakeys. You can have a button as a trigger, so that when a provider and a checkbox is selected you can show a list of the Content items for this provider filtered by passed parameters. You can use GetContent methiod.

    Kind regards,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Register for webinar
4 posts, 0 answered