More in this section

Forums / Developing with Sitefinity / How do I sort images in a gallery?

How do I sort images in a gallery?

2 posts, 0 answered
  1. Devin
    Devin avatar
    149 posts
    Registered:
    09 Jun 2009
    29 Jul 2009
    Link to this post
    Hello fellow users.  I have created a custom metaKey called "Ordinal" (integer) so that I can manually sort images in a gallery.  The SortExpression in the ImageGallery is Ordinal ASC.  I can set Sort Order (Ordinal) values in the image library but when I view the page the images do not appear unless I take out the SortExpression.  Has anyone else had this problem?

    BTW I'm using Sitefinity 3.6 SP 2 with ASP.NET 2.0.
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    30 Jul 2009
    Link to this post
    Hello Devin,

    We debugged the code and it turned out that there is a problem with nolics. Then only way to sort this out is removing all libraries and images. Then recreating them and set the value. It is not convenient, but this is the only way.

    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.
2 posts, 0 answered