|
SiteMapPaths don't work on Master Pages? -- Darren --
I've been trying to put a SiteMapPath on my Master Page along with a SiteMapDataSource control, and have it read the Web.sitemap file I create. However, after many failed attempts, my SiteMapPath fails to be filled in with the Web.sitemap content, and remains looking like the following... Root Node > Parent Node > Current Node Everywhere I look says that the SiteMapPath should be automatically filled in. Can anyone help? Thanks. |
|
-- kumar --
Check whether you have this following tag in your web.config. If your sitemap file has a different name make sure you gave the same on the SiteMapFile in your web.config description="SiteMap provider which reads in .sitemap XML files." type="System.Web.XmlSiteMapProvider, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" siteMapFile="web.sitemap" securityTrimmingEnabled="true"/> On 6/14/06, Darren C. I've been trying to put a SiteMapPath on my Master Page along with a SiteMapDataSource control, and have it read the Web.sitemap file I create. However, after many failed attempts, my SiteMapPath fails to be filled in with the Web.sitemap content, and remains looking like the following... Root Node > Parent Node > Current Node Everywhere I look says that the SiteMapPath should be automatically filled in. Can anyone help? Thanks. |