I have an asp.net 3.5 web application, and need to have more than one web.sitemap.
As mentioned in this previous thread (now closed):
I have made two uniquely named sitemaps, and referenced them in the web.config:
<siteMap defaultProvider="mainMenuUpperProvider">
<providers>
<add name="mainMenuUpperProvider" type="System.Web.XmlSiteMapProvider" siteMapFile="~/mainMenuUpper.sitemap" />
<add name="mainMenuLowerProvider" type="System.Web.XmlSiteMapProvider" siteMapFile="~/mainMenuLower.sitemap" />
</providers>
</siteMap>
Right now, both menus are showing content from the "defaultProvider". I need one to show from the mainMenuLowerProvider sitemap.
What would you suggest as the best way to accomplish this?
thanks in advance for your assistance,
David
As mentioned in this previous thread (now closed):
I have made two uniquely named sitemaps, and referenced them in the web.config:
<siteMap defaultProvider="mainMenuUpperProvider">
<providers>
<add name="mainMenuUpperProvider" type="System.Web.XmlSiteMapProvider" siteMapFile="~/mainMenuUpper.sitemap" />
<add name="mainMenuLowerProvider" type="System.Web.XmlSiteMapProvider" siteMapFile="~/mainMenuLower.sitemap" />
</providers>
</siteMap>
Right now, both menus are showing content from the "defaultProvider". I need one to show from the mainMenuLowerProvider sitemap.
What would you suggest as the best way to accomplish this?
thanks in advance for your assistance,
David