ASP.NET Tutorial/Configuration/styleSheetTheme

Материал из .Net Framework эксперт
Версия от 14:57, 26 мая 2010; Admin (обсуждение | вклад) (1 версия)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

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>