A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in a Web application, across an entire Web application, or across all Web applications on a server.
Themes and Control Skins
Themes are made up of a set of elements: skins, cascading style sheets (CSS), images, and other resources. At a minimum, a theme will contain skins. Themes are defined in special directories in your Web site or on your Web server.
Find More Other Tutorials Here
Find Tally Tutorial Here
Find Advance Excel Tutorial Here
[LinkVer]
Must Read : How To Spy on Girlfriend / Boyfriend Whatsapp Account
Must Read: Install Whatsapp with Rooted Andriod Phone
Lecture 5
Asp.Net Programming Assignment no 10 – ASP.net Theme and Skin file for buttons and Drop Down
[ResponsiveRect]
Objective:
Create a ASP.net Theme & Skin file for buttons, Drop Down controls also verify it.
Controls, Methods, Properties & Event Used:
- Theme
- Skin
- Button & Drop Down
Output:
Program:
// In Skin File //
<%–
Default skin template. The following skins are provided as examples only.
1. Named control skin. The SkinId should be uniquely defined
because duplicate SkinId’s per control type are not allowed in the same theme.
<asp:GridView runat=”server” SkinId=”gridviewSkin” BackColor=”White” >
<AlternatingRowStyle BackColor=”Blue” />
</asp:GridView>
2. Default skin. The SkinId is not defined. Only one default control skin per control type is allowed in the same theme.
<asp:Image runat=”server” ImageUrl=”~/images/image1.jpg” />
–%>
<asp:DropDownList runat=”server” Font-Names=”verdana” Font-Size=”8pt” BackColor=”yellow”/>
<asp:Button runat=”server” Font-Size=”8pt” Font-Names=”Verdana” BackColor=”Orange”/>
Note:- Set Enable Hemming property true for Drop Down List & Button in .aspx page
AD [ResponsiveRect]