SaaS CMS has officially launched! Learn more now.
AI OnAI Off
SaaS CMS has officially launched! Learn more now.
using EPiServer.Filters;
PageTree myPageTree; // assumes id="myPageTree" in markup
FilterPropertySort propertySort = new FilterPropertySort("PageCreated", FilterSortDirection.Asc);
myPageTree.Filter += new FilterEventHandler(propertySort.Filter);
A clean solution would be to create a new webcontrol and let it derive from PageTree and
override the CreateSortFilters() method to implement multiple SortBy (possibly separated by , ).
Regards,
Johan Olofsson