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 August 4th, 2010, 02:04 PM
Registered User
 
Join Date: Jul 2010
Posts: 15
Thanks: 6
Thanked 0 Times in 0 Posts
Default Skins

This questions refers to the Try Out called
"Creating a Skin for the Button Control"
(Page 234) and also the Tryout called "Creating a Named Skin for the Button Control" (Page 235).

This is the issue:

If I DO NOT base SkinsDemo.aspx on the MyBasePage template created earlier, the page renders correctly as it is supposed to in the Web Browser. (purple button with white text and red button with black text).

If I base SkinsDemo.aspx on the MyBasePage template created earlier, the buttons show up in an ordinary way and on viewing the HTML source from the browser all I can see with respect to the Buttons that are supposed to be skinned is the following code:-

Code:
    <input type="submit" name="ctl00$cpMainContent$Button1" value="Button" id="cpMainContent_Button1" />
    <input type="submit" name="ctl00$cpMainContent$Button2" value="Button" id="cpMainContent_Button2" />
Please note that the instruction in the book asks to create the new Web Form (SkinsDemo.aspx) based on the "exported template created earlier".

Last edited by pennkaiser; August 4th, 2010 at 02:05 PM.. Reason: forgot the word "see"
 
Old August 4th, 2010, 02:07 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Skins are related to themes, so I think you need to fix the Theme issue before this can work. Once the themes work fine, I think this autmatically starts working as well.

Please post in the forum for the 4,0 version of the book if it is related to that book. This is the 3.5 forum.....

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!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Skins and IntelliSense member4953 BOOK: Beginning ASP.NET 4 : in C# and VB 1 June 15th, 2010 11:49 AM
Chapter 6; Skins CssClass jtruffa BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 11 May 4th, 2009 03:30 PM
ch6 Skins and Named Skins wingri BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 3 April 8th, 2008 02:57 AM
Advanced Themes, Skins and CSS adam_kahtava ASP.NET 2.0 Professional 1 April 3rd, 2007 07:25 PM
Creating Form skins/Theme chiefouko Pro VB.NET 2002/2003 0 September 14th, 2004 12:15 AM





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