Does anyone know how to recursively get the children of an item in a Sitecore web control? I'd rather not use Sitecore query because some of my paths have dashes in them which really screws things up. The Sitecore.Context.Item.getChildren() and Sitecore.Context.Item.Children property both returned just the top level children.
+4
A:
From Sitecore, looks like the way to do this is Item.Axes.GetDescendants()
Kyle
2009-12-14 14:57:54
Yes it is the best performed way.
Alex de Groot
2009-12-14 21:22:50