<%@ Page Title="表单验证规则编辑" StylesheetTheme="AdminSkin" Language="C#" MasterPageFile="~/Others/AdminMasterPage.Master" AutoEventWireup="true" CodeBehind="FormVerificationEdit.aspx.cs" Inherits="Solution.Admin.Contents.FormVerificationEdit" %>

<asp:Content ID="Content1" ContentPlaceHolderID="AdminContentHead" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="AdminContentCenter" runat="server">
    <form id="form11" runat="server" method="post" enctype="multipart/form-data">
        <div class="formtextfield">
            <div class="title">
                <h4><span>表单验证规则编辑</span></h4>
            </div>
            <div class="content">
                <table width="100%" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                        <td class="fieldname">规则名称:
                        </td>
                        <td class="fieldvalue">
                            <asp:TextBox ID="txtName" runat="server" Width="288" MaxLength="25" CssClass="text form-validate" />
                            <asp:CustomValidator ControlToValidate="txtName" ClientValidationFunction="Validator.NonEmpty" ErrorMessage="不能为空" ValidateEmptyText="true" CssClass="fielderror" runat="server"></asp:CustomValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="fieldname">规则表达式:
                        </td>
                        <td class="fieldvalue">
                            <asp:TextBox ID="txtRule" runat="server" Width="288" MaxLength="20" CssClass="text form-validate" />
                            <asp:CustomValidator ControlToValidate="txtRule" ClientValidationFunction="Validator.NonEmpty" ErrorMessage="不能为空" ValidateEmptyText="true" CssClass="fielderror" runat="server"></asp:CustomValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="fieldname">备注:
                        </td>
                        <td class="fieldvalue">
                            <asp:TextBox ID="txtRemark" runat="server" Width="288" Height="100" MaxLength="100" TextMode="MultiLine" />
                        </td>
                    </tr>
                </table>

            </div>
            <table width="100%" border="0" cellpadding="2" cellspacing="1">
                <tr>
                    <td colspan="2" align="center">
                        <asp:Button ID="btnSave" runat="server" Text="保存" OnClick="btnSave_Click" SkinID="ButtonSave" />
                        <asp:Button ID="btnCancel" runat="server" Text="取消" SkinID="ButtonCancel" CausesValidation="false" OnClick="Cancel_Click" />
                    </td>
                </tr>
            </table>
        </div>
    </form>
</asp:Content>
