ASP.NET Tutorial/Configuration/styleSheetTheme

Материал из .Net Framework эксперт
Перейти к: навигация, поиск

Register a Theme for all pages in your application in the web configuration file.

   <source lang="csharp">

File: Web.Config <configuration> <system.web>

 <pages theme="Site" />

</system.web> </configuration></source>


Use the styleSheetTheme attribute to apply a Theme to the pages in an application

   <source lang="csharp">

If you use the styleSheetTheme attribute, you can override particular Skin properties in a page. File: Web.Config <configuration> <system.web>

 <pages styleSheetTheme="Site" />

</system.web> </configuration></source>