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

<!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>
    <link href="../css/main.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <ext:PageManager ID="PageManager1" runat="server" />
    <ext:TabStrip ID="TabStrip1" Width="950px" Height="300px" ShowBorder="true" ActiveTabIndex="0"
        runat="server">
        <Tabs>
            <ext:Tab Title="ExtAspNet Demo" EnableIFrame="true" IFrameUrl="http://demo.extasp.net/en/">
            </ext:Tab>
        </Tabs>
    </ext:TabStrip>
    <br />
    <ext:Button ID="btnAddBaidu1" CssStyle="margin-right:5px;float:left;" Text="Add Tab - Baidu1 (Client-side Code)"
        EnablePostBack="false" runat="server">
    </ext:Button>
    <ext:Button ID="btnAddCnblogs1" CssStyle="margin-right:5px;float:left;" Text="Add Tab - Cnblogs1 (Client-side Code)"
        EnablePostBack="false" runat="server">
    </ext:Button>
    <ext:Button ID="btnRemoveBaidu1" CssStyle="margin-right:5px;float:left;" Text="Delete Tab - Baidu1 (Client-side Code)"
        EnablePostBack="false" runat="server">
    </ext:Button>
    <ext:Button ID="btnRemoveCnblogs1" CssStyle="margin-right:5px;float:left;" Text="Delete Tab - Cnblogs1 (Client-side Code)"
        EnablePostBack="false" runat="server">
    </ext:Button>
    <br />
    <br />
    <ext:Button ID="btnAddBaidu2" CssStyle="margin-right:5px;float:left;" Text="Add Tab - Baidu2 (Server-side Code)"
        runat="server" OnClick="btnAddBaidu2_Click">
    </ext:Button>
    <ext:Button ID="btnAddCnblogs2" CssStyle="margin-right:5px;float:left;" Text="Add Tab - Cnblogs2 (Server-side Code)"
        runat="server" OnClick="btnAddCnblogs2_Click">
    </ext:Button>
    <ext:Button ID="btnRemoveBaidu2" CssStyle="margin-right:5px;float:left;" Text="Delete Tab - Baidu2 (Server-side Code)"
        runat="server" OnClick="btnRemoveBaidu2_Click">
    </ext:Button>
    <ext:Button ID="btnRemoveCnblogs2" CssStyle="margin-right:5px;float:left;" Text="Delete Tab - Cnblogs2 (Server-side Code)"
        runat="server" OnClick="btnRemoveCnblogs2_Click">
    </ext:Button>
    <br />
    <br />
    <br />
    <br />
    Note: All these tabs are added through JavaScript, that's to say you cann't get these tabs in server-side.
    <br />
    </form>
</body>
</html>
