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!
CurrentPage.Property["PageChildOrder"]
.
Also, if you need it, the property that corresponds to "Sort Index" in edit mode is named "PagePeerOrder".
/Mark
CurrentPage.Property["PageChildOrder"]
will give you an int that corresponds to the EPiServe.Filters.FilterSortOrder that Frank mentioned.
I tried the following variation to the Sort order
pageListDataControl.SortOrder = (EPiServer.Filters.FilterSortOrder)Enum.Parse(typeof(EPiServer.Filters.FilterSortOrder), CurrentPage["PageChildOrderRule"].ToString());