<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Area.aspx.cs" Inherits="TopWinCMS.WebUI.Admin.ControlPanel.Area" %>

<%@ Register Src="../UC_AjaxLoading.ascx" TagName="UC_AjaxLoading" TagPrefix="uc1" %>
<!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="../Style.css" type="text/css" rel="stylesheet" />
    <meta http-equiv="Pragma" content="No-cach" />

    <script language="javascript" type="text/javascript" src="../TopWin.js"></script>

    <script language="javascript" type="text/javascript" src="../../Images/skysoft.js"></script>

    <style type="text/css">
        #Area
        {
            width: 100%;
            margin-top: 20px;
        }
        #Area td
        {
            font-weight: bold;
            text-align: center;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdateProgress ID="UpdateProgress1" runat="server">
        <ProgressTemplate>
            <uc1:UC_AjaxLoading ID="UC_AjaxLoading1" runat="server" />
        </ProgressTemplate>
    </asp:UpdateProgress>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <table style="width: 98%;" border="0" cellpadding="4" cellspacing="0" id="NavigationPath">
                <tr>
                    <td style="width: auto">
                        &nbsp;<img src='../../Images/arrow.gif' alt="" />
                        您现在的位置：<asp:Label ID="LB_Path" runat="server"></asp:Label>
                    </td>
                    <td style="width: auto; text-align: right">
                         
                    </td>
                </tr>
            </table>
            <table id="Area">
                <tr>
                    <td> 国家（一级地区）
                        <asp:ListBox ID="LB_Area1" runat="server" AutoPostBack="True" 
                            OnSelectedIndexChanged="LB_Area1_SelectedIndexChanged" Rows="20" Width="150px">
                        </asp:ListBox>
                    </td>
                    <td>省/直辖市（二级地区）
                        <asp:ListBox ID="LB_Area2" runat="server" AutoPostBack="True" 
                            OnSelectedIndexChanged="LB_Area2_SelectedIndexChanged" Rows="20" Width="150px">
                        </asp:ListBox>
                    </td>
                    <td>市（三级地区）
                        <asp:ListBox ID="LB_Area3" runat="server" AutoPostBack="True" 
                            OnSelectedIndexChanged="LB_Area3_SelectedIndexChanged" Rows="20" Width="150px">
                        </asp:ListBox>
                    </td>
                    <td>区/县（四级地区）
                        <asp:ListBox ID="LB_Area4" runat="server" AutoPostBack="True" 
                            OnSelectedIndexChanged="LB_Area4_SelectedIndexChanged" Rows="20" Width="150px">
                        </asp:ListBox>
                    </td>
                    <td style="vertical-align: middle">
                        <asp:Button ID="BT_EditThis" runat="server" Text="编辑" CssClass="btn" OnClick="BT_EditThis_Click" />
                        <br />
                        <br />
                        <br />
                        <asp:Button ID="BT_Delete" runat="server" Text="删除" CssClass="btn" OnClick="BT_Delete_Click" />
                    </td>
                </tr>
                <tr >
                    <td colspan="5">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td colspan="5">
                        地区名称：<asp:TextBox ID="TB_Name" runat="server"></asp:TextBox>
                        <asp:CheckBox ID="CB_IsOneArea" runat="server" Text="设为一级地区" />
                        <asp:Button ID="BT_OK" runat="server" CssClass="btn" OnClick="BT_OK_Click" 
                            Text="添加" />
                    </td>
                </tr>
            </table>
        </ContentTemplate>
    </asp:UpdatePanel>
    </form>
</body>
</html>
