Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3
This is the forum to discuss the Wrox book Beginning ASP.NET 3.5: In C# and VB by Imar Spaanjaars; ISBN: 9780470187593
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 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 July 2nd, 2009, 04:30 AM
Authorized User
 
Join Date: Jul 2009
Posts: 10
Thanks: 3
Thanked 0 Times in 0 Posts
Default a problem on page 197

In Chapter 6 i didn't find a class used as follows:
<
div id="Header"><a class="HeaderLink" href="~/" runat="server"></a></div>
Location : page 197
where was this class defined?
Thank you, the book is just great!!!
Dan
 
Old July 2nd, 2009, 06:25 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 Dan,

The HeaderLink is included in the two Theme files that you drag from the unpacked source folder into VWD. The Monochrome file is added on page 220, step 1 while DarkGrey.css is added in step 9 on page 218.

So, you didn't have to add it yourself.

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!
 
Old March 5th, 2010, 02:23 AM
Registered User
 
Join Date: Oct 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Imar View Post
Hi Dan,

The HeaderLink is included in the two Theme files that you drag from the unpacked source folder into VWD. The Monochrome file is added on page 220, step 1 while DarkGrey.css is added in step 9 on page 218.

So, you didn't have to add it yourself.

Cheers,

Imar
Imar - Thanks for that info

I've been trying to figure out why my Master Page doesn't look like that shown in figures 6-2 and 6-5.
I now realise that it is because, although the class 'HeaderLink' is inserted into the form element on page 197, the Figures 6-2 and 6-5 show the Header div as styled using this class which isn't available until the two Theme are added on pages 218 and 220.
So the problem is that figures 6-2 and 6-5 are incorrect - they should not show the 'Header Goes Here' as being styled.

Or am I misunderstanding something?
 
Old March 5th, 2010, 05:28 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,

The various divs should appear as styled; in Chapter 3, page 75 and onward you added the selectors for elements like Header, MenuWrapper and Footer. The same Styles.css file is used in the exercise at page 197 which then should affect the elements in the master page. However, HeaderLink doesn't affect Figure 6-2; the Header in that figure is styled by the #Header rule,

What may be confusing is the fact that in step 3 you don't add the text "Header Goes Here" while it magically appeaers in Figure 6-2. This is indeed an error and has been described in the errata for this book: http://www.wrox.com/WileyCDA/WroxTit...Cd-ERRATA.html

Does that clarify things, or do you still see something different?

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!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Login page problem mashour BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 5 November 18th, 2008 05:25 PM
Chapter 6: Page 197 - CSS placement VeganMan BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 11 April 7th, 2008 01:43 PM
problem about page display bbqlee Access 1 July 16th, 2006 02:06 AM
problem with ASP page dhx10000 ASP.NET 1.0 and 1.1 Basics 4 June 12th, 2006 07:48 PM
Problem In refreshing a page. zaeem Classic ASP Components 2 November 4th, 2003 12:42 AM





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