Rules for Applying Themes
Within ASP.NET, attributes and elements take precedence in the following order (first to last):
1. Theme attributes in the @ Page directive
2. <pages Theme=”themeName”> elements in the <system.web> section of a
Web.config file
3. Local control attributes
4. StyleSheetTheme attributes in the @ Page directive
5. <pages StyleSheetTheme=”themeName”> elements in a Web.config file