Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
May 01, 2007 07:13 PM|LINK
You cannot directly apply an ASP.NET theme to a master page. If you add a theme attribute to the
@ Master directive, the page will raise an error when it runs.
However, themes are applied to master pages under these circumstances:
If a theme is defined in the content page. Master pages are resolved in the context of content pages, so the content page's theme is applied to the master page as well.
If the site as a whole is configured to use a theme by including a theme definition in the pages element.
Master pages, being just another control inside a page, do not have a separate theme applied. Master pages use the theme specified by the page that is using them.