Steve Clements

.Net and then some....


News



MCP

Add to Google
Add to Technorati Favorites



Subscribe to this Blog by Email


this is Steve's profile
Locations of visitors to this page

My Stats

  • Posts - 120
  • Comments - 123
  • Trackbacks - 52

Twitter












Tag Cloud


Recent Comments


Recent Posts


Archives


Post Categories


Image Galleries


Fav Blogs


Fav Places


Services!


Top Kudos



If like me you use Themes but are always annoyed that they don't show at design time. Well styleSheetTheme is the answer.

The styleSheetTheme actually gets applied in very early in the page cycle, even before the page control properties.  That way you can still override the styleSheetTheme at page and control level by the Theme property.

You can set it a page level like this...

<%@ Page Language="C#" StylesheetTheme="Theme1" %>

or (if like me) you prefer to set things like this globally you can use the web.config

<system.web>
      <pages styleSheetTheme="Theme1" />
<system.web>

One thing to note is that setting EnableTheming=false doesn't stop applying the styleSheetTheme.

I just like it as I get design time view of my pages.

 

Steve


posted @ Thursday, September 07, 2006 11:32 AM |

Comments

Gravatar # Trackback
Posted by on 1/21/2007 11:10 AM
Trackback
Gravatar # TrackBack
Posted by on 1/21/2007 11:10 AM
TrackBack
Gravatar # TrackBack
Posted by on 1/21/2007 11:11 AM
TrackBack
Gravatar # Theming in Visual Web Developer/Expression
Posted by Arian Kulp's Blog on 6/1/2007 4:06 PM
Theming in Visual Web Developer/Expression
Post a comment





 

Please add 1 and 3 and type the answer here: