Wrox Programmer Forums
|
BOOK: Beginning Microsoft Visual Basic 2008 ISBN: 978-0-470-19134-7
This is the forum to discuss the Wrox book Beginning Microsoft Visual Basic 2008 by Thearon Willis, Bryan Newsome; ISBN: 9780470191347
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Microsoft Visual Basic 2008 ISBN: 978-0-470-19134-7 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 23rd, 2012, 10:52 PM
Registered User
 
Join Date: Jun 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 19 Main.Masterpage

When I try to run the Main.MasterPage in "Try It Out—Layout and Login Controls", I receive the error message "'ContentPlaceHolder1' is not a valid identifier". I am not able to get rid of this error message. I have even tried copying the code straight from the book, same results.

here's the code:
<asp:contentplaceholder id=" ContentPlaceHolder1"
runat="server">
</asp:contentplaceholder>

When it does run, I get the "Cannot find ContentPlaceHolder1" error.

I am on a Windows 7 64-bit machine. I have VS 2008 and am using visual basic .net.

Help, please...

Last edited by vlmeyers; June 25th, 2012 at 08:33 PM..
 
Old June 25th, 2012, 11:32 PM
Wrox Author
 
Join Date: Mar 2006
Posts: 91
Thanks: 0
Thanked 5 Times in 5 Posts
Default

It looks like you have a space in your id=" ContentPlaceHolder1" it should be id="ContentPlaceHolder1"

Bryan





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 19 problem matthew1412 BOOK: Beginning ASP.NET 4 : in C# and VB 22 March 19th, 2012 11:43 AM
Chapter 19 johanyu BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 3 November 12th, 2007 10:50 AM
Scripts for chapter 19 ValF BOOK: Professional SQL Server 2005 Integration Services ISBN: 0-7645-8435-9 3 March 10th, 2006 12:03 AM
Chapter 19 Exercise CharlieChan BOOK: Beginning Visual C++ 6 0 June 19th, 2005 05:15 PM
Chapter 19 johanyu BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 2 October 10th, 2004 11:30 PM





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