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

Try our conversational search powered by Generative AI!

how episerver:pagetree is binding

Vote:
 
hi friends i am new to episerver, i dont know how the episerver is bind . i have sample site omnion, i need ur help that how it is going to bind data.
#11124
Nov 21, 2007 10:40
Vote:
 

You need to create a pagedatacollection or you set the property "PageLink" for the pagetree control to a specific page in episerver for instance set the PageLink property to PageReference.StartPage and you will get the children from the startpage of you website. In CMS 6 the webcontrol binds data automaticly but if you are working with earlier versions of episerver you will need to call DataBind() for that control.

PageTreeControlID.DataBind();

#85882
May 08, 2014 0:38
* 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.