Don't miss out Virtual Happy Hour this Friday (April 26).
Try our conversational search powered by Generative AI!
AI OnAI Off
Don't miss out Virtual Happy Hour this Friday (April 26).
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());