Themes (skin & css files) in ASP.NET 2.0

 

Posted on Friday, June 02, 2006 7:29 PM

 

     

 

I created http://maisworkandfriends.com on Themes (skin & css files) in ASP.NET 2.0.  Still trying to decide when it's best to use skin files over css files.  Already figured out that an object property should not belong to both.  Tested some, and haven't been able to receive consistent results.  Is it because...

Caching - How does the ASP.NET Developer server work?
When using multiple CSS / skin file- Are they always applied in the same sequence
Who knows????

I seem to experience the most inconsistencies when changing the document.Theme or document.StyleSheetTheme properties AFTER I have started using them, i.e. switching back and forth between document.Theme and document.StyleSheetTheme to test the differences between the two properties, I have noticed that the @Page directive was not always updated to reflect changes made in Design View.  Not sure what's going on there - need to do some more testing with a better attitude.

Design view displays form with skins applied when using document.StyleSheetTheme but NOT when using document.Theme