More in this section

Forums / Developing with Sitefinity / Sorting a Simple list Classification.

Sorting a Simple list Classification.

1 posts, 0 answered
  1. Seattle Web Group
    Seattle Web Group avatar
    29 posts
    Registered:
    03 May 2011
    03 Jul 2012
    Link to this post
    In a module created in the module builder we have it associated with a Simple List (Industries).  When managing the industries through the Sitefinity Classifications module they are sorted alphabetically.

    The control for displaying the Industries in the custom module uses the following code to display the list of industries, but the industries do not appear sorted on the site front end.  Is there an easy way to adjust the classification sorting when using the FlatTaxonField control?

    <sf:FlatTaxonField
            HideWhenNoTaxaFound="true"
            Title="<h2>Industries</h2>"
            runat="server"
            DisplayMode="Read"
            WebServiceUrl="~/Sitefinity/Services/Taxonomies/FlatTaxon.svc"
            TaxonomyId="3143381f-bef3-473e-b8c5-3d7f95f1247b"
            AllowMultipleSelection="true"
            TaxonomyMetafieldName="industries"
            Expanded="false"
            BindOnServer="true"
            />
1 posts, 0 answered