tags:

views:

24

answers:

1

This is my first experience with themes.

I've created a skin file for a textbox and the defined theme is only visible at runtime.

Is this the way theme works or I am missing something?

+1  A: 

You should use StylesheetTheme property that can be set on page level or globally

Page Level

<%@ Page Language="C#" StylesheetTheme="MyTheme" %>

Global (web.config)

<system.web>
  <pages styleSheetTheme="MyTheme" />
<system.web> 
Claudio Redi
Perfect! Thanks.
EduXavier