Problems with the PageTree control

Vote:
 
Hi, We are using the EPiServer:PageTree control to render a submenu and we have a problem getting the pagetree to instanciate pages in the SelectedItemTemplate and SelectedTopItemTemplate. It seams like that they are not used. Instead all pages get instanciated in SelectedExpandedItemTemplate and SelectedExpandedTopTemplate if they are selected no mather if they have childpages or not. /Matthias
#15739
Aug 29, 2007 8:05
Vote:
 
Use the Container.CurrentPage.Indent to check witch indentlevel in the the pagetree the page have And use that levelnumber control for example css /jesper snive
#16258
Aug 31, 2007 11:40
Vote:
 
There appears to be a bug in RC4 as described in the first post - the SelectedExpanded* templates, when defined, are used where a normal SelectedItem/SelectedTopTemplate should be used. This issue is now included in our bugtracking system, and will be addressed. Note: if you want to use the "indent" level to influence your PageTree, be aware that the property has moved from the PageData item to the PageTemplateContainer class. Previous versions of EPiServer: <%# Container.CurrentPage.Indent %> EPiServer CMS 5: <%# Container.Indent %>
#16259
Sep 04, 2007 12:56
Vote:
 
Has this been solved in cms 5.1? 'Cause i'm experiencing similar problems....
#16260
Dec 10, 2007 15:24
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* 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.