1 <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Basic.aspx.cs" Inherits="ZeeControls2Demo.WebSplitter.Basic.Basic" Theme="Default"%>
2
3 <%@ Register Assembly="ZettaCube.ZeeControls" Namespace="ZettaCube.ZeeControls" TagPrefix="cc1" %>
4
5 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
6
7 <html xmlns="http://www.w3.org/1999/xhtml" >
8 <head runat="server">
9 <title>WebSplitter Basics</title>
10 <script type="text/javascript" src="../../common.js"></script>
11 </head>
12 <body>
13 <form id="form1" runat="server">
14 <div>
15 <cc1:WebSplitterContainer ID="WebSplitterContainer1" runat="server" FitParent="FitWindow"
16 Height="665px" Width="810px">
17 <Panels>
18 <cc1:WebSplitterPanel runat="server" PreferredSize="200">
19 <Content>
20 <span><strong>WebSplitter Basics</strong><br />
21 <br />
22 The topmost WebSplitterContainer is split vertically into two panels.
23 The right panel contains a
24 nested container which is split horizontally into
25 three panels.<br />
26 <br />
27 </span>
28 <div id="blah1" class="blah"></div>
29 </Content>
30 </cc1:WebSplitterPanel>
31 <cc1:WebSplitterPanel runat="server" Filled="True" ><Content>
32 <cc1:WebSplitterContainer id="WebSplitterContainer2" runat="server" width="200px" height="200px" Orientation="Horizontal" FitParent="FitParentContainer"><Panels>
33 <cc1:WebSplitterPanel runat="server" >
34 <Content>
35 <div id="blah2" class="blah"></div>
36 </Content>
37 </cc1:WebSplitterPanel>
38 <cc1:WebSplitterPanel runat="server" Filled="True" >
39 <Content>
40 <div id="blah3" class="blah"></div>
41 </Content>
42 </cc1:WebSplitterPanel>
43 <cc1:WebSplitterPanel runat="server">
44 <Content>
45 <div id="blah4" class="blah"></div>
46 </Content>
47 </cc1:WebSplitterPanel>
48 </Panels>
49 </cc1:WebSplitterContainer>
50 </Content>
51 </cc1:WebSplitterPanel>
52 </Panels>
53 </cc1:WebSplitterContainer>
54
55 </div>
56 </form>
57
58 <script type="text/javascript">
59 GenLongContent('blah1', 1);
60 GenLongContent('blah2', 1);
61 GenLongContent('blah3', 1);
62 GenLongContent('blah4', 1);
63 </script>
64
65 </body>
66 </html>
67
1 using System;
2 using System.Data;
3 using System.Configuration;
4 using System.Collections;
5 using System.Web;
6 using System.Web.Security;
7 using System.Web.UI;
8 using System.Web.UI.WebControls;
9 using System.Web.UI.WebControls.WebParts;
10 using System.Web.UI.HtmlControls;
11
12 namespace ZeeControls2Demo.WebSplitter.Basic
13 {
14 public partial class Basic : System.Web.UI.Page
15 {
16 protected void Page_Load(object sender, EventArgs e)
17 {
18 }
19 }
20 }
21
1 body
2 {
3 font-family: Tahoma, Geneva;
4 font-size: 10pt;
5 }
6
7 .ZCWDMainContent, .ZCWDPanelContent
8 {
9 padding: 3px;
10 }
11
12 .ZCWDPanelTitleBar
13 {
14 padding-left: 3px;
15 }
16
17 .ZCWSPanel
18 {
19 padding: 3px;
20 }
21
22 .title
23 {
24 display: block;
25 font-weight:bold;
26 line-height: 24px;
27 }
28
29 .indent
30 {
31 padding: 10px;
32 padding-left: 30px;
33 }
34
35 .blah
36 {
37 color: Gray;
38 }
39
40 .tableRowHeader
41 {
42 color: #666666;
43 }
44
45 .tableColumnHeader
46 {
47 color: #666666;
48 }
49
1 <%--
2 Default skin template. The following skins are provided as examples only.
3
4 1. Named control skin. The SkinId should be uniquely defined because
5 duplicate SkinId's per control type are not allowed in the same theme.
6
7 <asp:GridView runat="server" SkinId="gridviewSkin" BackColor="White" >
8 <AlternatingRowStyle BackColor="Blue" />
9 </asp:GridView>
10
11 2. Default skin. The SkinId is not defined. Only one default
12 control skin per control type is allowed in the same theme.
13
14 <asp:Image runat="server" ImageUrl="~/images/image1.jpg" />
15 --%>