Wrox Programmer Forums
|
BOOK: Beginning ASP.NET Web Pages with WebMatrix
This is the forum to discuss the Wrox book Beginning ASP.NET Web Pages with WebMatrix by Mike Brind, Imar Spaanjaars ; ISBN: 978-1-1180-5048-4
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET Web Pages with WebMatrix 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 June 7th, 2012, 03:50 PM
Registered User
 
Join Date: May 2012
Posts: 14
Thanks: 3
Thanked 1 Time in 1 Post
Question Is this an Error on page 275?

On step 3, we suppose to replace the default code with

Code:
@{
      Layout = "~/Shared/_Layout.cshtml";
}
When I did this it displayed the wrong header/footer. So, I changed it to:

Code:
@{
      Layout = "~/Shared/_AdminLayout.cshtml";
}
And it worked!

Last edited by dejohnny; June 7th, 2012 at 03:59 PM.. Reason: Change word: Errata to Error
 
Old June 9th, 2012, 01:08 PM
Wrox Author
 
Join Date: Dec 2011
Posts: 57
Thanks: 1
Thanked 19 Times in 19 Posts
Default

Yes - that is an error. The file that should be referenced in the new _PageStart.cshtml file is indeed _AdminLayout.cshtml as you rightly guessed.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Errata Page Saranjiv BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 1 July 13th, 2010 05:14 PM
Errata for Page 235 corncrake BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6 4 June 30th, 2008 04:51 AM
Pre-written Code for: Exmple 2, Chptr 6, pg 275/6 Nick Y BOOK: Ivor Horton's Beginning Visual C++ 2005 0 May 31st, 2006 10:47 AM
Errata Page bonehead BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 2 June 27th, 2004 08:45 AM





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