1. ) StyleSheetTheme
So I am at a bit of a loss as how and where one would use a StyleSheetTheme over a Theme.
I haven't found StyleSheetThemes useful either, However Themes are quite useful since they provide Skins. Default Skins (I emphasize "Default") are a welcome addition to ASP.NET 2.0
as they allow us to hook CSS Selectors into ASP.NET controls, something
that was difficult to do in previous versions of .NET.
2.) Design Support for Skins
No Intellisense exists for this, so its a bit like stepping
back in time to a life before intellisense existed for CSS Development,
you have to either Know the properties or do it first on the page and
just copy it accross.This to me is a little archaic. Perhaps someone has a different view ?
- Open up Visual Studio, Select "Tools", Select "Options"
- Expand "Text Editor", Select "File Extensions", enter extension "Skin", select "User User Control", select "Add"
- You should now have intellisense.
3.) Using CSS with or Vs Themes
What strikes me here is that the properties of a control do not address
all the layout properties of Css. So you cant really get away without
doing both if you are to have full seperation between application and
layout. This makes things rather complex in designing a web site where
all these design abstractions are being used.
ASP.NET Styling attributes offer a simple interface for developers to
make a website look good, these styling attributes are often rendered
into undesirable inline CSS. If your web design is done professionaly then you would probably want a CSS based design that uses external StyleSheets. CSS
is the industry standard, it's flexible, complex, robust, platform
/ language independent, and expanding. ASP.NET Styling attributes are most often used by developers who aren't familiar with CSS.
-Adam Kahtava [
http://adam.kahtava.com]