This is a migrated thread and some comments may be shown as answers.

help: how to remove sitemap node

0 Answers 123 Views
SiteMap
This is a migrated thread and some comments may be shown as answers.
Mark de Torres
Top achievements
Rank 1
Mark de Torres asked on 17 May 2012, 08:48 AM
Hi There,

I have sitemapnode like the following:

 <siteMapNode   title="Administration" description="System Administration">
      <siteMapNode url="~/Administration/test1.aspx" title="Test 1" description="Test 1" />
      <siteMapNode url="~/Administration/test2.aspx" title="Test 2" description="test 3" />
      <siteMapNode url="~/Administration/test3.aspx" title="Test 3" description="Test 3" />
    </siteMapNode>

    <siteMapNode url="~/Search/TestSearch.aspx" title="Search"  description="Test Search" />


I would like to remove sitemap node using method  RemoveNode() not in ItemDataBound. Is there any way?. RemoveNode() will load on OnViewLoaded()

Please advise thank you

No answers yet. Maybe you can help?

Tags
SiteMap
Asked by
Mark de Torres
Top achievements
Rank 1
Share this question
or