Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 4.5 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4.5: in C# and VB by Imar Spaanjaars; ISBN: 978-1-118-31180-6
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4.5 : in C# and VB 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 March 27th, 2013, 07:45 AM
Registered User
 
Join Date: Mar 2013
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Breadcrum for internal pages

Hello,

I'm finishing the "Beginning ASP.NET 4.5" book and it's really a great and easy to use reference. Now I'm implementing my own website and I have a few questions.

First of all I use site map path control in my website to automatically generate a breadcrumb from a web.sitemap file.

I also use web.sitemap in my master page for the menu control.

The problem is that breadcrumb works fine for the pages that are in the web.sitemap file. But on my site I also have pages that I dont want to display on site menu, thats why they are not in the web.sitemap file. And in this case the breadcrumb is not displayed.

How to display a breadcrumb for the pages that are not in the sitemap file, o if its impossible, maybe its possible to display not all items from the sitemap on the menu control?
 
Old March 27th, 2013, 07:52 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,

Since this is not related to my book directly, can you please post questions like this in the General ASP.NET category found here: http://p2p.wrox.com/asp-net-4-5-709/

That said, you can create multiple site map files and use one for the navigation and one for the breadcrumb. Search Google or Bing for asp.net multiple sitemaps to learn more about using multiple site maps.

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to add Meta Tags to Master Pages/Content Pages Pdesignz BOOK: Beginning ASP.NET 4 : in C# and VB 9 May 31st, 2012 07:08 AM
General question - Master Pages, Base pages, templates and OOP. flapjack BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 2 May 1st, 2010 09:33 AM
Master Pages, Content Pages and CSS carliviris Visual Studio 2005 0 January 8th, 2008 05:56 PM
Internal Modems chirag_jog Linux 1 September 7th, 2004 09:56 AM
Web pages constructing: I-mode(mobile) pages karib Dreamweaver (all versions) 3 June 6th, 2004 09:48 AM





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