Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Beginning ASP.NET 4 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4: in C# and VB by Imar Spaanjaars; ISBN: 9780470502211
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4 : 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 October 4th, 2010, 06:16 PM
Registered User
 
Join Date: Jun 2010
Posts: 9
Thanks: 2
Thanked 0 Times in 0 Posts
Smile Web.sitemap

Hi there coding mates...
Chapter 7-Web.sitemap file.
I have a question about the web.sitemap file.
For example from this file:
Code:
 
  <siteMapNode url="~/About/Default.aspx" title="About" description="About        
   this Site">
      <siteMapNode url="~/About/Contact.aspx" title="Contact Us"    
      description="Contact Us" />
      <siteMapNode url="~/About/AboutUs.aspx" title="About Us"   
      description="About Us" />
   </siteMapNode>
About, has 2 child nodes.
When user clicks on About in the menu, he will get the Default.aspx page, which has nothing in it, am I missing something? or may be this problem gets fixed later in the book?
Same goes for the Reviews menu item, it also has 2 child nodes, but clicking on Reviews, will lead to a default.aspx...

10x..
 
Old October 5th, 2010, 02:16 AM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Yes, the pages and their content are created later. Page 254, step 3 says:

Quote:
Next, create the following folders and Web Forms that you’ll use in this and later chapters.
Other chapters later in the book change the contents of these pages (for example, the Reviews pages are used in the chapters on databases).

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!
 
Old October 6th, 2010, 11:34 AM
Registered User
 
Join Date: Jun 2010
Posts: 9
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Hi Imar and 10x for replying.
The main reason I posted this question is because in the website that we are eventually should come up with (http://aspnet4.planetwrox.com/), when clicking on the "About" menu item, the page that is presented is empty-http://aspnet4.planetwrox.com/About/Default.aspx.

In your answer you wrote that Reviews will be used for some purposes, and I understood that, but what about http://aspnet4.planetwrox.com/About/Default.aspx ?

10x again for your time...
 
Old October 6th, 2010, 11:40 AM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

That page remains empty in the demo site but you can use it to enter content yourself to describe the site....

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!
The Following User Says Thank You to Imar For This Useful Post:
stormage (October 6th, 2010)




Similar Threads
Thread Thread Starter Forum Replies Last Post
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
web.sitemap workidoo BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 2 June 13th, 2008 08:42 AM
One "web.sitemap" for two languages!!?? MTLedari ASP.NET 2.0 Professional 0 May 18th, 2007 01:42 AM
Web.Sitemap Tremmorkeep BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 1 July 21st, 2006 05:32 PM





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