SiteMapNode attribute - Access denied

Last post 05-17-2006 9:05 AM by GoranPersson. 0 replies.

Sort Posts:

  • SiteMapNode attribute - Access denied

    05-17-2006, 9:05 AM
    • Member
      283 point Member
    • GoranPersson
    • Member since 09-12-2003, 12:57 AM
    • Posts 115

    I try to set an extra attribute to SiteMapNodes

    <siteMapNode id="SelfService" url="Self-service/Default.aspx" title="Self service">

    But when I try to access the attribut in the code doing  

    node.Attributes["id"]

     I get an error saying "SiteMap is inaccessible due to its protection level".

    What can I do?

Page 1 of 1 (1 items)