Dynamic themes in ASP.NET 2.0 (C#)

by 22. March 2008 13:11

Today I looked at the ASP.NET 2.0 Themes.  I've been using them for a long time, but I never knew that you can set a default theme in the web.config.

Just add this to the system.web section

<pages styleSheetTheme="Black"/>

Further more I needed to change my theme dynamically.  I found an interesting article on this topic on CodeProject.

CodeProject: Dynamic themes in ASP.NET 2.0 (C#).

Powered by BlogEngine.NET 1.5.0.7
Theme by Mads Kristensen