How To Add Themes
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="StartOfTutorial._Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:Button ID="Button1" runat="server" Text="Button" />
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
</div>
</form>
</body>
</html>
--execute it
--Now add The skin file as below
skin name i have changed to bluecontrols.skin
--now in bluecontrols.skin
<asp:Textbox runat="server" BackColor="Blue" BorderStyle="solid"/>
<asp:Button runat="server" BackColor="red" BorderStyle="solid"/>
--then in aspx page
--Run
No comments:
Post a Comment