Wednesday, September 20, 2006

How to Define a theme

1. Add a theme
2. Add a skin under the theme
3. Add a asp.net web page and drag and drop the asp.net controls to the web page and select the style you wanted and then copy and paste them to the skin file. remember to take out the ID and text
4. Add stylesheet under the theme
5. put Theme="EntryTheme" at <@Page ..>
ex: <%@ Page Language="C#" AutoEventWireup="true" Theme="EntryTheme" CodeFile="DailyLogEntry.aspx.cs" Inherits="DailyLog_DailyLogEntry" %>

Notes: Only the asp.net controls are allowed in the skin file. The html element does not allow in the skin file. But it can be in the stylesheet.

0 comments: