Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 4.5 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4.5: in C# and VB by Imar Spaanjaars; ISBN: 978-1-118-31180-6
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4.5 : 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 March 6th, 2014, 07:51 AM
Authorized User
 
Join Date: Mar 2011
Posts: 19
Thanks: 11
Thanked 0 Times in 0 Posts
Question query

Hi , this may sound stupid but I thought I had finally managed to get past chapters 5/6 in Vb 4.5 but alas no. Skins? I am following the instructions but when I add the skinsdemo in the demos folder <asp:Content ID="content2" contentPlaceHolderID="cpMaincontent is missing am I doing something wrong? and the Css highlights the footer with a blue background and white text. sorry for any trouble
 
Old March 6th, 2014, 08:19 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

Did you create the custom template correctly? Or are you creating a new plain Web Form?

Can you post the code for your Master Page? Maybe that file has an issue?

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!
The Following User Says Thank You to Imar For This Useful Post:
tommykehoe (March 6th, 2014)
 
Old March 9th, 2014, 01:51 PM
Authorized User
 
Join Date: Mar 2011
Posts: 19
Thanks: 11
Thanked 0 Times in 0 Posts
Unhappy query

Hi Imar
I have gone over the chapter and found some I missed, but its creating the skinsdemo in the demo folder that is causing the problem the page doesnot look like the one you created with the code where am I going wrong.
Below is the code I get when I create the form. It looks nothing like yours


Page Language="VB" AutoEventWireup="false" CodeFile="SkinsDemo.aspx.vb" Inherits="Demos_SkinsDemo" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>

</div>
</form>
</body>
</html>
 
Old March 10th, 2014, 10:23 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

It looks like you missed the following sentence from step 4 when creating SkinsDemo.aspx:

"Make sure you base it on the exported MyBasePage template you created earlier."

The SkinsDemo is designed to be based on the custom template.

Hope this helps,

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:
tommykehoe (March 10th, 2014)





Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I transform this IMPLICIT query into EXPLICIT query? arbab Oracle 5 April 12th, 2011 12:33 AM
Update query doesnt run when Select query does (In MS Access) rmccafferty SQL Language 3 February 11th, 2010 04:54 AM
Output Query to txt file from SQL Query everest SQL Server 2005 4 November 22nd, 2007 01:49 AM
Syntax error in query. Incomplete query clause. dispickle ADO.NET 3 April 16th, 2004 01:04 PM
Error on Make-Table Query In Union Query rylemer Access 1 August 20th, 2003 07:42 PM





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