<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="default.aspx.cs" Inherits="ExtAspNet.Examples._default" %>

<!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>ExtAspNet Online Examples - ExtJS based ASP.NET 2.0 Controls with native AJAX support and rich UI effects</title>
    <link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
    <meta name="Title" content="ExtJS based ASP.NET 2.0 Controls with native AJAX Support and rich UI effects" />
    <meta name="Description" content="ExtAspNet Mission: Create No JavaScript, No CSS, No UpdatePanel, No ViewState and No WebServices web application." />
    <meta name="Keywords" content="extjs,ext,asp.net,control,asp.net 2.0,ajax,web2.0" />
    <link href="css/default.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <ext:PageManager ID="PageManager1" AutoSizePanelID="RegionPanel1" runat="server">
    </ext:PageManager>
    <ext:RegionPanel ID="RegionPanel1" ShowBorder="false" runat="server">
        <Regions>
            <ext:Region ID="Region1" Margins="0 0 0 0" Height="62px" ShowBorder="false" ShowHeader="false"
                Position="Top" Layout="Fit" runat="server">
                <Toolbars>
                    <ext:Toolbar ID="Toolbar1" Position="Bottom" runat="server">
                        <Items>
                            <ext:Button ID="btnExpandAll" IconUrl="~/images/expand-all.gif" Text="Expand All" EnablePostBack="false"
                                runat="server">
                            </ext:Button>
                            <ext:Button ID="btnCollapseAll" IconUrl="~/images/collapse-all.gif" Text="Collapse All" EnablePostBack="false"
                                runat="server">
                            </ext:Button>
                            <ext:ToolbarFill ID="ToolbarFill1" runat="server">
                            </ext:ToolbarFill>
                             <ext:ToolbarText ID="ToolbarText1" Text="Menu:" runat="server">
                            </ext:ToolbarText>
                            <ext:DropDownList ID="ddlMenu" Resizable="true" Width="120px" AutoPostBack="true" OnSelectedIndexChanged="ddlMenu_SelectedIndexChanged"
                                runat="server">
                                <ext:ListItem Text="Tree Menu" Value="tree" />
                                <ext:ListItem Text="Accordion+Tree Menu" Value="accordion" />
                            </ext:DropDownList>
                            <ext:ToolbarText ID="ToolbarText4" Text="&nbsp;&nbsp;Language:" runat="server">
                            </ext:ToolbarText>
                            <ext:DropDownList ID="ddlLanguage" Width="120px" AutoPostBack="true" OnSelectedIndexChanged="ddlLanguage_SelectedIndexChanged"
                                runat="server">
                                <ext:ListItem Text="English" Value="en" />
                                <ext:ListItem Text="简体中文" Value="zh_cn" />
                                <ext:ListItem Text="繁體中文" Value="zh_tw" />
                            </ext:DropDownList>
                            <ext:ToolbarText ID="ToolbarText3" Text="&nbsp;&nbsp;Theme:" runat="server">
                            </ext:ToolbarText>
                            <ext:DropDownList ID="ddlTheme" Width="120px" AutoPostBack="true" OnSelectedIndexChanged="ddlTheme_SelectedIndexChanged"
                                runat="server">
                                <ext:ListItem Text="Blue" Selected="true" Value="blue" />
                                <ext:ListItem Text="Gray" Value="gray" />
                                <ext:ListItem Text="Access" Value="access" />
                                <ext:ListItem Text="Blueen(Custom)" Value="blueen" />
                                <ext:ListItem Text="First(Custom)" Value="first" />
                                <ext:ListItem Text="Second(Custom)" Value="second" />
                                <ext:ListItem Text="Fourth(Custom)" Value="fourth" />
                            </ext:DropDownList>
                        </Items>
                    </ext:Toolbar>
                </Toolbars>
                <Items>
                    <ext:ContentPanel ShowBorder="false" CssClass="header" ShowHeader="false" BodyStyle="background-color:#1C3E7E;"
                        ID="ContentPanel1" runat="server">
                        <div class="title">
                            <a href="./default.aspx" style="color:#fff;">ExtAspNet Online Examples</a>
                        </div>
                        <div class="version">
                            <a href="http://demo.extasp.net/" target="_blank" style="color:#fff;">中文版</a>
                        </div>
                    </ext:ContentPanel>
                </Items>
            </ext:Region>
            <ext:Region ID="Region2" Split="true" EnableSplitTip="true" CollapseMode="Mini" Width="200px"
                Margins="0 0 0 0" ShowHeader="true" Title="Examples" EnableLargeHeader="false" Icon="Outline"
                EnableCollapse="true" Layout="Fit" Position="Left" runat="server">
            </ext:Region>
            <ext:Region ID="mainRegion" ShowHeader="false" Layout="Fit" Margins="0 0 0 0" Position="Center"
                runat="server">
                <Items>
                    <ext:TabStrip ID="mainTabStrip" EnableTabCloseMenu="true" ShowBorder="false" runat="server">
                        <Tabs>
                            <ext:Tab Title="Home" Layout="Fit" Icon="House" runat="server">
                                <Toolbars>
                                    <ext:Toolbar runat="server">
                                        <Items>
                                            <ext:ToolbarFill ID="ToolbarFill2" runat="server">
                                            </ext:ToolbarFill>
                                            <ext:Button ID="btnSourceCode" Icon="PageWhiteCode" Text="Source Code" EnablePostBack="false"
                                                runat="server">
                                            </ext:Button>
                                            <ext:ToolbarSeparator ID="ToolbarSeparator1" runat="server">
                                            </ext:ToolbarSeparator>
                                            <ext:Button ID="Button1" Icon="TabGo" Text="Download" OnClientClick="window.open('http://extaspnet.codeplex.com/', '_blank');"
                                                EnablePostBack="false" runat="server">
                                            </ext:Button>
                                        </Items>
                                    </ext:Toolbar>
                                </Toolbars>
                                <Items>
                                    <ext:ContentPanel ShowBorder="false" BodyPadding="10px" ShowHeader="false" AutoScroll="true"
                                        CssClass="intro" runat="server">
                                        <h2>About ExtAspNet</h2>
                                        ExtJS based ASP.NET 2.0 Controls with native AJAX support and rich UI effects.
                                        <br />
                                        <br />
                                        <h2>ExtAspNet Mission</h2>
                                           Create No JavaScript, No CSS, No UpdatePanel, No ViewState and No WebServices web application.
                                        <br />
                                        <br />
                                        <h2>Support Browsers</h2>
                                            IE 7.0+、Firefox 3.6+、Chrome 3.0+、Opera 10.5+、Safari 3.0+
                                        <br />
                                        <br />
                                        <h2>License</h2>
                                            Apache License 2.0 (Apache)
                                        <br />
                                        <br />
                                        <h2>Links</h2>
                                            Demo: <a target="_blank" href="http://demo.extasp.net/en/">http://demo.extasp.net/en/</a>
                                        <br />
                                            Download: <a target="_blank" href="http://extaspnet.codeplex.com/">http://extaspnet.codeplex.com/</a>
                                        <br />
                                            Blog: <a target="_blank" href="http://sanshi.cnblogs.com/">http://sanshi.cnblogs.com/</a>
                                        <br />
                                        <br />
                                       
                                    </ext:ContentPanel>
                                </Items>
                            </ext:Tab>
                        </Tabs>
                    </ext:TabStrip>
                </Items>
            </ext:Region>
        </Regions>
    </ext:RegionPanel>
    <ext:Window ID="windowSourceCode" Icon="PageWhiteCode" Title="Source Code" Popup="false"
        EnableIFrame="true" runat="server" IsModal="true" Width="900px" Height="550px"
        EnableClose="true" EnableMaximize="true" EnableResize="true">
    </ext:Window>
    <asp:XmlDataSource ID="XmlDataSource1" runat="server" DataFile="~/menu.xml"></asp:XmlDataSource>
    </form>
    <img src="images/logo/logo3.gif" alt="ExtAspNet Icon" id="logo" />
    <script src="./js/default.js" type="text/javascript"></script>
</body>
</html>
