Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 3.5 > ASP.NET 3.5 Basics
|
ASP.NET 3.5 Basics If you are new to ASP or ASP.NET programming with version 3.5, this is the forum to begin asking questions. Please also see the Visual Web Developer 2008 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 3.5 Basics 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
 
Old April 29th, 2008, 09:44 PM
Authorized User
 
Join Date: Apr 2008
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to AspNetGuy
Default Chapter 7 Navigation Bread Crumbs

I am working on the Try It Out on pages 257-259 for the SiteMapPath.

When displaying the home page the bread crumbs duplicate the "Home" entry as follows:

[u]Home</u> | Home

When the user clicks on any link that navigates to a folder other than the site root folder the second Home entry is replaced with the node for that folder as follows for the "Reviews" folder:

[u]Home</u> | Reviews

Having Home appear twice in the bread crumbs is aesthetically displeasing. I understand why it occurs, I just don't know how to correct it.

Any help would be greatly appreciated.



 
Old April 30th, 2008, 04:21 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

You could create a fake root element in the sitemap file and then hide that level from controls like the breadcrumb.

You're better off posting these kind of questions in the book's forum located here: http://p2p.wrox.com/forum.asp?FORUM_ID=386

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of Beginning ASP.NET 3.5 : in C# and VB, ASP.NET 2.0 Instant Results and Dreamweaver MX 2004
Want to be my colleague? Then check out this post.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 7 Navigation multiple sitemaps babak BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 2 November 14th, 2008 08:15 AM
Chapter 7 Navigation Try IT Out pps. 246-247 workib BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 2 May 22nd, 2008 08:39 PM
Chapter 7: Navigation - Menu Control VeganMan BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 12 April 10th, 2008 08:28 AM
bread crump MunishBhatia ASP.NET 2.0 Professional 0 May 11th, 2007 01:23 AM
navigation nidheeshkayal ASP.NET 2.0 Basics 0 March 16th, 2006 07:05 AM





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