Wrox Programmer Forums
BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6
This is the forum to discuss the Wrox book Beginning Visual Basic 2005 by Thearon Willis, Bryan Newsome; ISBN: 9780764574016
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6 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 September 8th, 2007, 10:03 AM
Registered User
Join Date: Sep 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chap 17 error: only content controls...

Chap 17: web forms

Did I miss some major step?

I'm getting an error "only content controls are allowed directly in a content page that contains content controls." on default.aspx.

Here is the code that I have used from the website:

<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" ClassName="Default_aspx" title="Untitled Page" Theme="Red"%>
<asp:Content ID="Content1" ContentPlaceHolderID="cphPageContent" Runat="Server">
    <asp:TextBox ID="txtTest" Runat="server">Just some text</asp:TextBox>
    <asp:Button ID="btnTest" Runat="server" Text="Button" /></asp:Content>


Getting a number of Validation errors that attribute 'bgcolor' and 'height' is outdated adn a newer construct is recommended for the masterpage.master


Validation Element 'style' is missing from <style> on masterpage.master


Validation atribute 'height' is not a valid attribute of element 'table' on masterpage.master


Thanks in advance.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Chap. 5, Confusion: Tying Controls to Models mprogers BOOK: Beginning Ruby on Rails 3 December 12th, 2008 03:13 AM
Problems with Chap. 17 pg.557 & 558 alk BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6 2 August 19th, 2007 09:58 AM
User controls' content: Chapter 2 User Controls AGS BOOK: Professional ASP.NET 2.0 Server Control and Component Development ISBN: 978-0-471-79350-2 10 July 26th, 2007 05:36 AM
Chap 17, page 609, error -- stumped HartfordDeveloper BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 1 December 8th, 2005 11:52 PM

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