+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / DownloadList SortExpression values?

DownloadList SortExpression values?

2 posts, 0 answered
  1. Bryan
    Bryan avatar
    14 posts
    Registered:
    20 Aug 2008
    08 Jun 2010
    Link to this post
    Hello,

    I have a couple question in refrence to the SortExpression setting under the Advanced -> Filters section of the DownloadList control. The example given when you click the ? is "Publication_Date DESC", I have looked in the file DownloadListTemplate.ascx and found what I think are the other meta tag values I could sort by, but no matter what I put into the text box (that doesn't cause an error) it does not effect the order of the list. I thought that since the default was Publication_Date DESC that changing the value to Publication_Date ASC should flip the list, but it doesn't.

    My questions are:

    1. Where can I find the list of meta tag values I can sort on?
    2. Do I need to make some configuration changes withing the SF admin to get the SortExpression setting to take effect?

    Thanks.
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    08 Jun 2010
    Link to this post
    Hello Bryan,

    All metakeys are declared in the web.config - <metafields> section, so you can find them. The default metakeys are

    • Width
    • Height
    • Size
    • Extension
    • AlternateText
    • Author
    • Description
    • Category
    • PermaLink

    These are the default keys that you can use to filter the content items. To add additional metakeys Please take a look at our UserManual section Adding Custom fields, page 214

    Best wishes,
    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
2 posts, 0 answered