开发者

Get Children Recursively in Sitecore CMS .NET

Does anyone know how to recursively get th开发者_StackOverflow社区e 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.


From Sitecore, looks like the way to do this is Item.Axes.GetDescendants()

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜