You must Sign In to post a response.
  • Category: ASP.NET

    How to develop themes and skin files in

    I'm using the and fro webapplication.
    I want to implement the themes and skin and i have to apply.
    I'm aware of this concept.
    so can body help me how to create the themes and skins and how to apply to webpages.

    Thanks in advance,
  • #345568
    Follow the below steps to set background color of a textbox and a button control using Themes and Skins:

    1. Create a Theme using "Add Asp.Net Folder".
    2. Create a Skin file and copy the below code.

    <asp:TextBox runat="server" BackColor="Silver"></asp:TextBox>
    <asp:Button runat="server" Text="Button" BackColor="Silver" />

    3. Create an aspx page with a textbox and button control

    <%@ Page Language="C#" Theme="Theme1" AutoEventWireup="true" CodeFile="Skin.aspx.cs" Inherits="Skin" %>

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">

    <html xmlns="" >
    <head runat="server">
    <title>Untitled Page</title>
    <form id="form1" runat="server">
    <asp:TextBox ID="TextBox1" runat="server" ></asp:TextBox>
    <asp:Button ID="Button1" runat="server" Text="Button" /></div>

    As above set the Theme attribute in Page directive.

  • This thread is locked for new responses. Please post your comments and questions as a separate thread.
    If required, refer to the URL of this page in your new post.