Author: keithnolan | Posted on: 9/14/2009 3:37:03 AM | Views : 606

I have a page named report.aspx which I always want to be accessible, I just don't want it to appear on the menu which is linked to by the sitemap for certain roles.
In my web.config I have:

  <location path="Reports.aspx">
      <system.web>
        <authorization>
          <allow users="*"/>
        </authorization>
      </system.web>
  </location>
In my sitemap I have
<siteMapNode url="~/members/Reports.aspx" roles="Administrator" title="Reports" description="" Visible="true"></siteMapNode>
The problem is that it always appears on the main menu even though the site map is refined to only show it for Administrator.< ...

Go to the complete details ...