views:

114

answers:

0

Hey everyone,

I have several sitemap providers(default, admin, etc) and run into a problem when I am using the admin provider. The root node always shows the home page of the default provider instead of the admin provider. Any ideas why and how this can be fixed?

<siteMap defaultProvider="default" enabled="true">
  <providers>
 <clear/>
 <add name="default"
     description="Default SiteMap provider."
     type="BLL.CustomSiteMapProvider"
     siteMapFile="~/Web.sitemap"
     securityTrimmingEnabled="true" />
 <add name="AdminXmlSiteMapProvider"
     description="Admin SiteMap provider."
     type="BLL.CustomSiteMapProvider"
     siteMapFile="~/admin/admin.sitemap"
     securityTrimmingEnabled="true" />
 <add name="FooterXmlSiteMapProvider"
     description="Footer SiteMap provider."
     type="BLL.CustomSiteMapProvider"
     siteMapFile="footer.sitemap"
     securityTrimmingEnabled="true" />
  </providers>
</siteMap>