Sitemap sorting/reordering

Posted by Community Admin on 03-Aug-2018 16:36

Sitemap sorting/reordering

All Replies

Posted by Community Admin on 01-Feb-2012 00:00

Is there an option for fast sorting or reording the sitemap before it's bound to the navigation controls? For example, can I list pages alphabetically with a quick setting, or am I forced to do a manual drag/drop or up/down on each individual page on the pages module? Thanks.

Posted by Community Admin on 06-Feb-2012 00:00

Hello Steve,

In order to achieve this you would have to inherit from


and override the 

public override SiteMapNodeCollection GetChildNodes(SiteMapNode node)
public virtual SiteMapNodeCollection GetChildNodes(SiteMapNode parent, bool ifAccessible)

methods and use some OrderBy expression there. Then you should register the new provider in web.config under system.web -> siteMap -> providers - just replace the default one with yours.

Lubomir Velkov
the Telerik team
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

This thread is closed