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 1st, 2009, 02:36 AM
Registered User
 
Join Date: Jul 2009
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Default ASP.NET 3.5 Theme

Dear all

I made a two theme (DarkGrey & Monochrome) as per Beginning ASP.NET 3.5: In C# and VB book in C#, but when I switch to DarkGrey theme, its not take effect all the time it dispaly Monochrome only. Whats wrong I did.

Please help to solve this problem.

Best regards,

Your friend
 
Old July 1st, 2009, 02:57 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, besides writing code in the Master Page to set the cookie, also write code in the BasePage class to apply the theme? And is the page you're testing the theme selector with actually using the BasePage as the class it inheirts from in Code Behind?

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:
krdz (July 1st, 2009)
 
Old July 1st, 2009, 11:55 PM
Registered User
 
Join Date: Jul 2009
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Dear Sir,

As you told, I did everything four to five times, writing code in the Master Page, also write the code in BasePage, but did not get solution. In the previous excercise where we made changes in the web.config file its ok it shown DarkGrey eventhough Monochrome theme as well.

What to do now ?

Please also tell where I can see the cookie how its look & what data she carry.

Waiting for your prompt reply.

Regards,

Friend
 
Old July 2nd, 2009, 03:16 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,

Can you post the relevant code for the MasterPage and the BasePage class? E.g. the full Code Behind of the master page, the page directive of the master (from Markup View the line that starts with <% @Page) and the full code for the BasePage.cs or.vb file?

Please use the code button on the toolbar when replying to make the code easy to read.

And what do you mean with "it shown DarkGrey eventhough Monochrome theme as well"? What is shown where?

Finally are you sure your browser is setup to allow cookies? You can view Cookies with IE's Developer Toolbar. Part of IE 8 through the tools menu or available as a separate download for older versions

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
Exception of get theme JasonF430 ASP.NET 2.0 Basics 0 April 16th, 2008 01:31 AM
VB.net 2005 User theme datagrid alex1985 Visual Studio 2005 7 September 11th, 2007 01:34 PM
Theme Selector wont pick up other theme Tawanda BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 5 May 4th, 2007 08:44 AM
theme selector rav BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 3 February 12th, 2007 12:44 AM
page theme zhugeliang ASP.NET 2.0 Basics 1 January 9th, 2007 02:40 AM





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