Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old May 2nd, 2007, 04:29 PM
Registered User
 
Join Date: May 2007
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default dynamic sitemap problem

Now the problem is when at the root of the node ~/home/default.aspx, it cannot show the breadcrumb and the title name.

However, all the other page works fine which display the correct breadcrumb navigation and the current title name.

And in the web.sitemap, I list the sitemap and include the code


   <siteMapNode provider="LessonsSiteMapProvider" />

and in the app_code/SiteMapProvider.cs
i define the
rootNode = new SiteMapNode(this,key,"~/home/default.aspx","Lessons");

and in the web.config
<siteMap defaultProvider="XmlSiteMapProvider" enabled="true">
<providers>
<clear />
<add name="XmlSiteMapProvider"
     description="Default SiteMap Provider"
     type="System.Web.XmlSiteMapProvider"
     siteMapFile="web.sitemap" />
<add name="LessonsSiteMapProvider"
     description="Lessons SiteMap Provider"
     type="LessonsSiteMapProvider"
     siteMapFile="lessons.sitemap" />
</providers>
</siteMap>

Thanks



Similar Threads
Thread Thread Starter Forum Replies Last Post
Roles and SiteMap Problem mashour BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 3 November 18th, 2008 02:10 PM
Sitemap melania ASP.NET 3.5 Basics 0 October 27th, 2008 01:20 PM
Web.sitemap problem Dmitriy ASP.NET 3.5 Basics 0 October 14th, 2008 03:04 PM
Problem with Web.sitemap? Dmitriy ASP.NET 3.5 Professionals 0 October 14th, 2008 07:14 AM
problem with sitemap and role hertendreef ASP.NET 2.0 Basics 6 June 21st, 2007 05:22 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.