Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: ASP.NET MVC Website Programming Problem Design Solution ISBN: 9780470410950
This is the forum to discuss the Wrox book ASP.NET MVC Website Programming Problem Design Solution by Nicholas Berardi, Al Katawazi, and Marco Bellinaso; ISBN: 9780470410950
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET MVC Website Programming Problem Design Solution ISBN: 9780470410950 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Display Modes
  #1 (permalink)  
Old September 16th, 2009, 04:48 PM
Registered User
 
Join Date: Sep 2009
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts
Default MainContent and TitleContent required?

I created an MVC project from scratch as instructed in page 51.

I then modified Site.Master as instructed in page 55.

I get the following exception: "System.Web.HttpUnhandledException"

The innerException states: {"Cannot find ContentPlaceHolder 'TitleContent' in the master page '/Views/Shared/Site.Master', verify content control's ContentPlaceHolderID attribute in the content page."}

It seems that MVC projects require that Site.Master have two ContentPlaceHolders: TitleContent and MainContent.

Although this is not a beginner's book. I should be able to type the code in the book and not get errors.

Please help. I am stuck in page 55 trying to get Site.Master to work.

Thank you

Andres
Florida

Last edited by andresb; September 16th, 2009 at 04:52 PM.
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help required zaeem SQL Server 2000 2 May 28th, 2008 01:48 AM
Some help required ! codenet C# 2005 1 September 24th, 2007 05:01 PM
Required method? budman Pro JSP 2 July 1st, 2006 08:39 PM
Required Fields aRtware Access 2 May 26th, 2006 02:27 PM
object required alitoday Classic ASP Components 1 December 28th, 2004 01:17 AM



All times are GMT -4. The time now is 05:14 AM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.