SiteMap RootNode, get all child nodes where rootnode = "Home"

Posted by WingMan20-10 on Stack Overflow See other posts from Stack Overflow or by WingMan20-10
Published on 2010-06-14T17:31:23Z Indexed on 2010/06/14 17:32 UTC
Read the original article Hit count: 202

Filed under:
|

I wanted to write if/for each statement that will get me all the child node where the rootNode = "home"

this is what i have so far

if (topLevelNode.Title == "Home") { var topLevelNodes = SiteMap...... } foreach (SiteMapNode node in topLevelNodes) { ........................... }

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about asp.net-mvc