<%@ Page Language="C#" CodeFile="start.aspx.cs" Inherits="Default_aspx" %>

<%@ Register TagPrefix="asp" Namespace="System.Web.UI.WebControls.WebParts" Assembly="System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" %>

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

 

<html xmlns="http://www.w3.org/1999/xhtml" >

<head runat="server">

 

    <title>Exforsys Page</title>

   

</head>

<body>

    <form id="form1" runat="server">

        &nbsp;&nbsp;<asp:WebPartManager ID="WebPartManager1" runat="server">

        </asp:WebPartManager>

        <div>

            <h1>Web Parts Demonstration Page</h1>

           

                <table style="width: 100%; height: 100%">

                    <tr>

<td style="width: 228px; height: 530px;" valign="top">

 <asp:webpartzone id="sidebarzone" runat="server" headertext="SideBar">

       </asp:WebPartZone>

       &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

<asp:TreeView id=TreeView1 runat="server"     OnSelectedNodeChanged="TreeView1_SelectedNodeChanged">                      <Nodes>

  <asp:TreeNode Value="Home page" Text="Home page">

<asp:TreeNode Value="Exforsys content1" Text="Exforsys content1"></asp:TreeNode>

</asp:TreeNode>

</Nodes>

</asp:TreeView>

</td>

<td style="width: 100px; height: 530px;" valign="top">

<asp:webpartzone id="MainBarZone" runat="server" headertext="Main" width="614px" height="71px" bordercolor="#CCCCCC" padding="6" font-names="Verdana">

<PartTitleStyle Font-Size="0.8em" Font-Bold="True" BackColor="#990000" ForeColor="White"></PartTitleStyle>

 

<PartChromeStyle Font-Names="Verdana" BorderColor="#FFCC66" BackColor="#FFFBD6" ForeColor="#333333"></PartChromeStyle>

 

<MenuStyle BackColor="#990000" Font-Names="Verdana" Font-Size="0.6em" BorderColor="#CCCCCC" BorderWidth="1px"></MenuStyle>

 

<MenuVerbHoverStyle BorderStyle="Solid" BorderWidth="1px" BorderColor="#CCCCCC" BackColor="#FFFBD6" ForeColor="#333333"></MenuVerbHoverStyle>

<ZoneTemplate>

<asp:Label runat="server" ID="Label2" Width="387px" Height="73px">

         <h2>Welcome to My ExForSys Home Page</h2><br />

         <h3> This sample website is intended to demonstrate the use of WebParts in ASP.NET 2.0 applications</h3>

      </asp:Label>

</ZoneTemplate>

 

<MenuLabelHoverStyle ForeColor="#FFCC66"></MenuLabelHoverStyle>

 

<MenuVerbStyle BorderStyle="Solid" BorderWidth="1px" BorderColor="#990000" ForeColor="White"></MenuVerbStyle>

 

<VerbStyle Font-Size="0.6em" Font-Underline="False" ForeColor="White"></VerbStyle>

 

<HeaderStyle HorizontalAlign="Center" Font-Size="0.7em" ForeColor="#CCCCCC"></HeaderStyle>

 

<EmptyZoneTextStyle Font-Size="0.8em"></EmptyZoneTextStyle>

 

<MenuLabelStyle ForeColor="White"></MenuLabelStyle>

 

<PartStyle Font-Size="0.8em" ForeColor="#333333"></PartStyle>

</asp:webpartzone>

<asp:WebPartZone ID="WebPartZone1" runat="server" Width="615px" Height="250px" ><ZoneTemplate>

<asp:Calendar id=Calendar1 runat="server" Width="219px" Height="99px" OnSelectionChanged="Calendar1_SelectionChanged" Caption="Calender Control " CaptionAlign="Top" BackColor="#FFE0C0" SelectedDate="2005-08-11">

<DayHeaderStyle HorizontalAlign="Left" BorderStyle="Dashed"></DayHeaderStyle>

</asp:Calendar>

</ZoneTemplate>

</asp:WebPartZone>

      </td>

      <td style="width: 100px; height: 530px;" valign="top">

      </td>

      </tr>

      </table>

      

</div>

</form>

</body>

</html>