Header Ads Widget

ASP.NET practical-8

 

_ASP.NET

PRACTICAL-8



AIM:-Create a web page using the concept of Theme & Skin in ASP.NET

.aspx code:-

<%@ Page Theme="Theme" Language="vb" AutoEventWireup="false" 
CodeBehind="WebForm1.aspx.vb" Inherits="Practical_8.WebForm1" %>

<!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:TextBox ID="TextBox1" runat="server"></asp:TextBox>
    
        <br />
    
    </div>
    <asp:TextBox ID="TextBox2" runat="server">
        
    </asp:TextBox>
    <br />
   
    <asp:RadioButton ID="RadioButton1" GroupName="bool" runat="server" />
<asp:RadioButton ID="RadioButton2" GroupName="bool" runat="server" />
    <br />
    <br />
    <asp:Button ID="Button1" runat="server" Text="Button" />
    </form>
</body>
</html>



.skin code:-

<asp:TextBox runat="server" BackColor="Green" ForeColor="White"/>

<asp:RadioButton runat="server" BackColor="Green" ForeColor="Cyan"/>

<asp:Button runat="server" BackColor="Green" ForeColor="White"/>












Figure 1







Post a Comment

0 Comments