I'm trying to create a menu control using the EPiServer PageTree control. I want to render the items differently in the ItemTemplate depending on the indent level. In the IndentTemplate Container.Indent has a value, but not in the ItemTemplate. There it is always 0.
I'm trying to create a menu control using the EPiServer PageTree control. I want to render the items differently in the ItemTemplate depending on the indent level. In the IndentTemplate Container.Indent has a value, but not in the ItemTemplate. There it is always 0.
Why is it so? Is there a workaround for it?