<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TopWinCMS_ContentPropertyManage.aspx.cs" Inherits="TopWinCMS.WebUI.Admin.Common.TopWinCMS_ContentPropertyManage" %>
<%@ Register assembly="TopWinCMS.WebControls" namespace="TopWinCMS.WebControls" tagprefix="cc1" %>
<%@ 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>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
    <meta content="no-cache" http-equiv="Pragma" />

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

    <link href="../Style.css" rel="stylesheet" type="text/css" />

    <script language="javascript" src="../../Images/skysoft.js" type="text/javascript"></script>
</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 id="NavigationPath" border="0" cellpadding="4" cellspacing="0" width="100%">
        <tr>
            <td width="50%">
                &nbsp;<img alt="" src='../../Images/arrow.gif' /> 您现在的位置：<asp:Label ID="LB_Path" runat="server"></asp:Label>
            </td>
            <td align="right" width="50%">
            </td>
        </tr>
    </table>
    <table style="width: 100%;">
        <tr>
            <td colspan="3" class="HeaderStyle">
                &nbsp; 添加&nbsp; &nbsp;
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;
                名称：<asp:TextBox ID="TB_Name" runat="server"></asp:TextBox>
&nbsp;
                <asp:Button ID="BT_Add" runat="server" CssClass="btn" Text="添加" 
                    onclick="BT_Add_Click" ValidationGroup="Add" />
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="TB_Name" ErrorMessage="请输入名称" ValidationGroup="Add"></asp:RequiredFieldValidator>
            </td>
            <td>
                &nbsp;
            </td>
            <td>
                &nbsp;
            </td>
        </tr>
    </table>
    <asp:GridView ID="GV_List" runat="server" AutoGenerateColumns="False" DataKeyNames="ID"
                CssClass="GridView" onrowcancelingedit="GV_List_RowCancelingEdit" 
            onrowdeleting="GV_List_RowDeleting" onrowediting="GV_List_RowEditing" 
            onrowupdating="GV_List_RowUpdating" >
                <Columns>
                    <asp:TemplateField HeaderText="选择">
                        <HeaderTemplate>
                            <input type="checkbox" name="chkHeader" value="chkHeader" onclick="javascript:SelectAll(this);" />
                        </HeaderTemplate>
                        <HeaderStyle Width="30px" />
                        <ItemStyle HorizontalAlign="Center"></ItemStyle>
                        <ItemTemplate>
                            <asp:CheckBox ID="CB_SelectID" runat="server"></asp:CheckBox>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:BoundField DataField="ID" HeaderText="ID" ReadOnly="True" Visible="False">
                        <HeaderStyle Width="50px" />
                        <ItemStyle HorizontalAlign="Center" />
                    </asp:BoundField>
                    <asp:BoundField DataField="Name" HeaderText="名称" />
                    <asp:BoundField DataField="UpDateTime" 
                        DataFormatString="{0:yyyy-MM-dd HH:mm:ss}" HeaderText="更新时间" HtmlEncode="False" 
                        ReadOnly="True">
                        <HeaderStyle Width="120px" />
                        <ItemStyle HorizontalAlign="Center" />
                    </asp:BoundField>
                    <asp:CommandField EditText="修改" ShowEditButton="True">
                        <HeaderStyle Width="120px" />
                        <ItemStyle HorizontalAlign="Center" />
                    </asp:CommandField>
                    <asp:CommandField ShowDeleteButton="True">
                        <HeaderStyle Width="60px" />
                        <ItemStyle HorizontalAlign="Center" />
                    </asp:CommandField>
                </Columns>
                <HeaderStyle CssClass="HeaderStyle"></HeaderStyle>
                </asp:GridView>
    <div class="pagefield">
        <cc1:pagenavigation id="PageNavigation1" runat="server" 
            onpagechanging="PageNavigation1_PageChanging">
                </cc1:pagenavigation>
    </div></ContentTemplate>
    </asp:UpdatePanel>
    </form>
</body>
</html>
