Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Using PageControlBase, PageTreeData or PageTree to render an arbitrary hierarchy of pages?

Vote:
 
Hi all, I have a heirarchy of page ids (from which I'm loading PageData instances). I would like to be able to render this hierarchy as a tree using one of the PageTreeData controls (or their descendants). However this hierarchy is not the default EPiServer page hierarchy. After some reading around the class documentation I wasn't able to work out a clear answer of how best to approach this using the EPiServer web controls. If someone could advise me as to whether to subclass PageTreeData, PageTree or PageControlBase would be the best place to intercept, and also how to explain to this control that I don't want it to use PageData.GetChildren() to get the child nodes, I'd be most grateful. Thanks for your time, Andy
#12810
Oct 17, 2006 15:14
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.