London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
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