<%@ page language="C#" autoeventwireup="true" inherits="ProduceAdmin_ProduceUserDefinedColumn_Operate, GroupTGWeb_deploy" %>

<%@ Register Src="UserControl/MessageShow.ascx" TagName="MessageShow" TagPrefix="China315" %>
<!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 rel="stylesheet" type="text/css" href="style/index.css" />

    <script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>

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

</head>
<body>
    <form id="form1" runat="server">
    <div class="main">
  
            <div class="title">
                <asp:Label ID="LabelTitle" runat="server" Text="自定义栏目管理"></asp:Label>
            </div>
     
                <table cellpadding="0" cellspacing="1" width="100%">
                    <tr>
                        <td align="right" width="20%">
                            <asp:Localize ID="LocalizeName" runat="server" Text="栏目名称："></asp:Localize>
                        </td>
                        <td>
                            <asp:TextBox ID="TextBoxName" runat="server" CssClass="allinput2"></asp:TextBox>
                            <asp:Label ID="Label1" runat="server" Text="*" ForeColor="red"></asp:Label>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidatorName" runat="server" ControlToValidate="TextBoxName"
                                Display="Dynamic" ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidatorName" runat="server"
                                ControlToValidate="TextBoxName" Display="Dynamic" ErrorMessage="最多50个字符" ValidationExpression="^[\s\S]{0,50}$"></asp:RegularExpressionValidator>
                            <asp:Label ID="Label4" runat="server" Text="注意:自定义栏目不要加太多,以免前台导航变型"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" width="20%">
                            <asp:Localize ID="LocalizeLinkAddress" runat="server" Text="链接地址："></asp:Localize>
                        </td>
                        <td>
                            <asp:TextBox ID="TextBoxLinkAddress" runat="server"  CssClass="allinput2"></asp:TextBox>
                            <asp:Label ID="Label2" runat="server" Text="*" ForeColor="red"></asp:Label>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidatorAddress" runat="server" ControlToValidate="TextBoxLinkAddress"
                                Display="Dynamic" ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" width="20%">
                            <asp:Localize ID="LocalizeShowLocation" runat="server" Text="显示位置："></asp:Localize>
                        </td>
                        <td>
                            <asp:DropDownList ID="DropDownListShowLocation" runat="server" CssClass="allinput2">
                            </asp:DropDownList>
                            <asp:CompareValidator ID="CompareShowLocation" runat="server" ControlToValidate="DropDownListShowLocation"
                                Display="Dynamic" ErrorMessage="该值必需选择" Operator="NotEqual" ValueToCompare="-1"></asp:CompareValidator>
                        </td>
                    </tr>
                    <tr>
                        <td align="right">
                            <asp:Localize ID="LocalizeIfOpen" runat="server" Text="是否在新窗口打开："></asp:Localize>
                        </td>
                        <td>
                            <asp:DropDownList ID="DropDownListOpen" runat="server">
                            </asp:DropDownList>
                            <asp:CompareValidator ID="CompareOpen" runat="server" ControlToValidate="DropDownListOpen"
                                Display="Dynamic" ErrorMessage="该值必需选择" Operator="NotEqual" ValueToCompare="-1"></asp:CompareValidator>
                        </td>
                    </tr>
                    <tr>
                        <td align="right">
                            <asp:Localize ID="LocalizeOrderID" runat="server" Text="排序列号："></asp:Localize>
                        </td>
                        <td>
                            <asp:TextBox ID="TextBoxOrderID" runat="server" CssClass="allinput2"></asp:TextBox>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidatorRepertoryOrderID" runat="server"
                                ControlToValidate="TextBoxOrderID" ErrorMessage="只能输入数字" ValidationExpression="^[0-9]*$"
                                Display="Dynamic"></asp:RegularExpressionValidator>
                        </td>
                    </tr>
                    <tr>
                        <td align="right">
                            <asp:Localize ID="LocalizeRemark" runat="server" Text="说明："></asp:Localize>
                        </td>
                        <td>
                            <asp:TextBox ID="TextBoxRemark" runat="server" TextMode="MultiLine" CssClass="allinput1"></asp:TextBox>
                            <asp:Label ID="Label3" runat="server" Text="*" ForeColor="red"></asp:Label>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidatorRemark" runat="server" ControlToValidate="TextBoxRemark"
                                Display="Dynamic" ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidatorRemark" runat="server"
                                ControlToValidate="TextBoxRemark" Display="Dynamic" ErrorMessage="最多200个字符" ValidationExpression="^[\s\S]{0,200}$"></asp:RegularExpressionValidator>
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align: right;">
                            <asp:Localize ID="Localize5" runat="server" Text="是否前台显示："></asp:Localize>
                        </td>
                        <td>
                            <asp:CheckBox ID="CheckBoxIsShow" runat="server" Checked="True" Text="是" />
                        </td>
                    </tr><tr style="background-color: rgb(238, 238, 238);">
<td align="right">  </td><td><div class="bottomLine">
        <asp:Button ID="ButtonConfirm" runat="server" Text="确定" CssClass="bnt1 cancel" OnClick="ButtonConfirm_Click" />
        <input id="Reset1" type="reset" value="重置" class="bnt1 cancel" />
        <asp:Button ID="ButtonBack" runat="server" CssClass="bt3 cancel" PostBackUrl="ProduceUserDefinedColumn_List.aspx"
            Text="返回列表" CausesValidation="False" />
        <china315:messageshow id="MessageShow" visible="false" runat="server" />
    </div></td></tr>
                </table>
            </div>
     
    
    <asp:HiddenField ID="CheckGuid" runat="server" Value="0" />
    </form>
</body>
</html>
