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

You are currently viewing the BOOK: Beginning ASP.NET 4.5.1 : 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 May 28th, 2018, 05:32 AM
Registered User
 
Join Date: May 2018
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Smile SiteMapPath disappear when set up Routing

Hello !

Thank you for writing the book《BOOK: Beginning ASP.NET 4.5.1 : in C# and VB 》,now I exercise the Try it out "Creating a Breadcrumb with the SiteMapPath control",all is work fine,and then I exercise the try it out "Configration ASP.NET FriendlyUrls",all is work fine but the breadcrumb I set up last exercise now disppear,I do not know why ? I find the source in chapter 7 can run well ,but the figure 7-12 on page 266 still not dispaly breadcrumb,please give me a way ,thank you !
 
Old May 28th, 2018, 11:20 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Not sure why that would happen. Did you compare the files in your site with the ones from Chapter 7?
__________________
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!
 
Old May 28th, 2018, 11:28 AM
Registered User
 
Join Date: May 2018
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

you can see the figure 7-12 on page 266 not dispaly breadcrumb when try it out "Redirecting the user to another page",I conplete follow your instruction and get this strange result.please give me a way ! thank you!
 
Old May 28th, 2018, 01:25 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Yes, I understand the problem. However, I am not allowed to use my mind reading skills here, so unless you do some digging to see what the differences are, it's hard to help you ;-)

Note that what you see on 7-12 is not a breadcrumb but the output of a Label. Did you check the code to make sure you added and assigned the label correctly? Can you post the code for pages like Source and Target (markup and code behind).

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!
 
Old May 28th, 2018, 09:25 PM
Registered User
 
Join Date: May 2018
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

the solution is to get rid of any .aspx extension from Web.sitemap after add routing funciton ! the book not include that,please update in the next edition!thank you !!!
 
Old May 30th, 2018, 08:30 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Ah, that's a known issue. See http://www.wrox.com/WileyCDA/WroxTit...Cd-ERRATA.html for page 244-246.

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
SiteMapPath Does Not Display phztfte1 ASP.NET 4.5.1 General Discussion 0 February 9th, 2016 10:29 PM
SiteMapPath control and themes txkimmers BOOK: Beginning ASP.NET 4 : in C# and VB 2 May 4th, 2012 11:47 AM
How to create SiteMapPath in PHP? firblazer PHP How-To 0 July 14th, 2008 09:33 PM
with pages in a subdir sitemappath and treeview d thenoseknows ASP.NET 2.0 Basics 1 June 15th, 2006 11:10 AM
SiteMapPath Control Question lcsgeek BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 6 February 7th, 2006 06:18 PM





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