 |
BOOK: Beginning ASP.NET 4 : in C# and VB
 | This is the forum to discuss the Wrox book Beginning ASP.NET 4: in C# and VB by Imar Spaanjaars; ISBN: 9780470502211 |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the BOOK: Beginning ASP.NET 4 : 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
|
|
|
|

May 2nd, 2012, 12:41 PM
|
Authorized User
|
|
Join Date: Apr 2012
Posts: 12
Thanks: 11
Thanked 0 Times in 0 Posts
|
|
overriding management pages
I added the web.config file in the management folder and change the pages theme property to empty string still the default pages show the actual or the default theme....what cud be the possibilities.... 
|

May 2nd, 2012, 01:09 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi there,
Hard to say without seeing the code for the web.config file and a description of your site's structure.
Cheers,
Imar
|
The Following User Says Thank You to Imar For This Useful Post:
|
|

May 2nd, 2012, 01:17 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
I just realized something. Maybe you based the pages in the Management folder on your custom Base Page template? If so, the code in the BasePage overrides the theme. You should be using standard Web Forms that inherit System.Web.UI.Page.
Hope this helps,
Imar
|
The Following User Says Thank You to Imar For This Useful Post:
|
|

May 2nd, 2012, 03:43 PM
|
Authorized User
|
|
Join Date: Apr 2012
Posts: 12
Thanks: 11
Thanked 0 Times in 0 Posts
|
|
resolved
imar thanx for your concern, the code pages are derived from system.web.ui.pages only. I just deleted the stylesheettheme property from global web.config file and now its working as expected. But still don't get it, how the property is affecting this behaviour?
|

May 2nd, 2012, 03:46 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Just as it normally would: with that setting on, it applies the theme to all pages in the site, including those in the master page....
IMar
|
The Following User Says Thank You to Imar For This Useful Post:
|
|
|
 |
|