How to programmatically change SiteMap Provider?

  • Thread starter Thread starter Keven
  • Start date Start date
K

Keven

Hi All,

I have two siteMap providers:

<siteMap defaultProvider="SiteMap_EN" enabled="true">
<providers>
<add name="SiteMap_FR" siteMapFile="Web_FR.sitemap"
type="System.Web.XmlSiteMapProvider" />
<add name="SiteMap_EN" siteMapFile="Web_EN.sitemap"
type="System.Web.XmlSiteMapProvider" />
</providers>
</siteMap>

and I'd programmatically set the SiteMap Provider on different MasterPages,
how do I alter the defaultProvider ?


Best regards,
Keven
 
Hello Keven,

Do you find the answer?

Thank you.



Keven wrote:

How to programmatically change SiteMap Provider?
22-Feb-07

Hi All

I have two siteMap providers

<siteMap defaultProvider="SiteMap_EN" enabled="true"
<providers
<add name="SiteMap_FR" siteMapFile="Web_FR.sitemap"
type="System.Web.XmlSiteMapProvider" /
<add name="SiteMap_EN" siteMapFile="Web_EN.sitemap"
type="System.Web.XmlSiteMapProvider" /
</providers
</siteMap

and I'd programmatically set the SiteMap Provider on different MasterPages,
how do I alter the defaultProvider

Best regards
Keven

Previous Posts In This Thread:

How to programmatically change SiteMap Provider?
Hi All

I have two siteMap providers

<siteMap defaultProvider="SiteMap_EN" enabled="true"
<providers
<add name="SiteMap_FR" siteMapFile="Web_FR.sitemap"
type="System.Web.XmlSiteMapProvider" /
<add name="SiteMap_EN" siteMapFile="Web_EN.sitemap"
type="System.Web.XmlSiteMapProvider" /
</providers
</siteMap

and I'd programmatically set the SiteMap Provider on different MasterPages,
how do I alter the defaultProvider

Best regards
Keven


Submitted via EggHeadCafe - Software Developer Portal of Choice
Generic Feed Parsers Redux
http://www.eggheadcafe.com/tutorial...6-acd41f462063/generic-feed-parsers-redu.aspx
 
Back
Top