How to remove SiteMapNode from asp:MENU Control that defined in web.sitemap?

I realized it next: I created new provider like public class MainSiteMap : StaticSiteMapProvider { SiteMapNode _root = null; public override SiteMapNode BuildSiteMap() { if (_root! = null) return _root; Dictionary nodes = new Dictionary(); Guid id = Guid.NewGuid(); string roles = new string { "*" }; _root = new SiteMapNode(this, id.ToString(), "~/Default. Aspx", "Home", "RTD Home page"); foreach (SiteMapNode node in SiteMap.

Providers"RootSiteMap".RootNode. ChildNodes) { if (!node.Roles. Contains("Admin")) { AddNode(node, _root); } } _root.

Roles = roles; nodes. Add(id, _root); AddNode(_root, null); return _root; } protected override SiteMapNode GetRootNodeCore() { BuildSiteMap(); return _root; } } and did Provider registration in web. Config: siteMap defaultProvider="MainSiteMap" enabled="true".

I realized it next: I created new provider like public class MainSiteMap : StaticSiteMapProvider { SiteMapNode _root = null; public override SiteMapNode BuildSiteMap() { if (_root! = null) return _root; Dictionary nodes = new Dictionary(); Guid id = Guid.NewGuid(); string roles = new string { "*" }; _root = new SiteMapNode(this, id.ToString(), "~/Default. Aspx", "Home", "RTD Home page"); foreach (SiteMapNode node in SiteMap.

Providers"RootSiteMap".RootNode. ChildNodes) { if (!node.Roles. Contains("Admin")) { AddNode(node, _root); } } _root.

Roles = roles; nodes. Add(id, _root); AddNode(_root, null); return _root; } protected override SiteMapNode GetRootNodeCore() { BuildSiteMap(); return _root; } } and did Provider registration in web.config.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions