<%@ Page Title="选项编辑" StylesheetTheme="AdminSkin" Language="C#" MasterPageFile="~/Others/AdminMasterPage.Master" AutoEventWireup="true" CodeBehind="FormControlOptionEdit.aspx.cs" Inherits="Solution.Admin.Contents.FormControlOptionEdit" %>

<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="txtOptionName" runat="server" Width="288" MaxLength="50" CssClass="text form-validate" />
                            <asp:CustomValidator ControlToValidate="txtOptionName" ClientValidationFunction="Validator.NonEmpty" ErrorMessage="不能为空" ValidateEmptyText="true" CssClass="fielderror" runat="server"></asp:CustomValidator>
                        </td>
                        <td class="fielddescription"></td>
                    </tr>
                    <tr>
                        <td class="fieldname">选项值:
                        </td>
                        <td class="fieldvalue">
                            <asp:TextBox ID="txtOptionValue" runat="server" Width="288" MaxLength="50" CssClass="text form-validate" />
                            <asp:CustomValidator ControlToValidate="txtOptionValue" ClientValidationFunction="Validator.NonEmpty" ErrorMessage="不能为空" ValidateEmptyText="true" CssClass="fielderror" runat="server"></asp:CustomValidator>
                        </td>
                        <td class="fielddescription"></td>
                    </tr>
                    <tr>
                        <td class="fieldname">所属分组:</td>
                        <td class="fieldvalue">
                            <asp:DropDownList ID="ddlFormControlOptionGroup" DataTextField="GroupName" DataValueField="GroupID" runat="server">
                            </asp:DropDownList>

                        </td>
                    </tr>
                    <tr>
                        <td class="fieldname">排序:</td>
                        <td class="fieldvalue">
                            <asp:TextBox ID="txtSequence" runat="server" Width="50" MaxLength="3" Text="11" />
                            <asp:CustomValidator ControlToValidate="txtSequence" ClientValidationFunction="Validator.Digit" ErrorMessage="请填写数字" ValidateEmptyText="true" CssClass="fielderror" runat="server"></asp:CustomValidator>
                        </td>
                        <td class="fielddescription"></td>
                    </tr>
                    <tr>
                        <td class="fieldname">选中状态:
                        </td>
                        <td class="fieldvalue">
                            <asp:CheckBox ID="ckbSelected" runat="server" Text="选中" />
                        </td>
                        <td class="fielddescription"></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>
