Wrox Programmer Forums
|
BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0
This is the forum to discuss the Wrox book ASP.NET 2.0 Website Programming: Problem - Design - Solution by Marco Bellinaso; ISBN: 9780764584640
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 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 February 23rd, 2010, 11:18 PM
Authorized User
 
Join Date: Feb 2009
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default Allow Admin to set default site theme

I would like to add an administrative page that allows an admin to set the default site theme instead of setting it in the web.config file. My goal is to give the site admin the option of selecting/changing the default theme at their discretion. Any guidance will be most appreciated!
 
Old February 26th, 2010, 10:47 AM
Lee Dumond's Avatar
Wrox Author
 
Join Date: Jan 2008
Posts: 923
Thanks: 12
Thanked 166 Times in 162 Posts
Default

No reason you can't do both. Have a page that sets the theme using the .NET Configuration API. That way, you can leave it stored in web.config, and change it from your page.
__________________
Visit my blog at http://leedumond.com
Follow me on Twitter: http://twitter.com/LeeDumond

Code:
if (this.PostHelpedYou)
{
   ClickThanksButton(); 
}





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 18: Unable to see the site THEME locochinoloco BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 3 September 18th, 2008 02:35 AM
how can I set default theme for all users? gujju BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 1 January 18th, 2008 10:25 AM
Web Site Admin Tool Rich57 ASP.NET 2.0 Basics 0 October 25th, 2007 03:31 AM
Cant log in to the admin site? okboy BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 3 July 1st, 2006 07:08 AM
General Site Admin motor1 BOOK: ASP.NET Website Programming Problem-Design-Solution 0 October 16th, 2003 08:58 PM





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