Duration: 19 minutes
Summary: In this video, we discuss more details about theming. We start by explaining the difference between a Theme and a StyleSheetTheme. When we use Theme in a page directive, the skin that is created for a specific control will override the properties for the control on the page. But if we want to keep the property for a specific control as is, we can use the StyleSheetTheme instead. That way the property that is closest to the control is the one that wins. Then we looked at EnableTheming property. We can use that property for a specific control to turn off theming, and we can also use it for the page altoghter by putting EnableTheming in the page directive. Finally, if we want to use a theme across all pages in a website, we do not have to add the Theme property to all the pages in the site. We can simply specify the theme property in the pages element within the web.config file.
Methodology of the development of example: Good coding standard and simplified design to illustrate the key points.
Technology Used: ASP.NET and Visual Studio 2010Keyword: ASP.NET 4, Visual Studio 2010, Theme, StyleSheetTheme, EnableTheming, Label, web.config.