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

<%@ Register Assembly="BX.Common" Namespace="Common" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="AdminContentHead" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="AdminContentCenter" runat="server">
    <form id="Form1" runat="server">
        <asp:ObjectDataSource ID="ObjectDataSource" runat="server"
            SelectMethod="ListOptionGroup" SelectCountMethod="CountOptionGroup" TypeName="Logic.HtmlForm"
            OldValuesParameterFormatString="original_{0}" EnablePaging="true">
            <SelectParameters>
            </SelectParameters>
        </asp:ObjectDataSource>
        <div class="DivRightCenter">
            <div class="listdiv">
                <div class="grid-title">
                    <div class="grid-title-text">
                        <h4>
                            <span>多选项管理</span>
                        </h4>
                    </div>
                    <div class="grid-title-menu"></div>
                </div>
                <div class="grid-list">
                    <cc1:ExtendedGridView ID="ExtendedGridViewFieldList" runat="server" AutoGenerateColumns="False" CheckBox="False" CssClass="grid" DataSourceID="ObjectDataSource" ItemName="多选项管理" AllowPaging="True" CheckBoxDataIndex="0" PageSize="20">
                        <Columns>
                            <asp:BoundField DataField="GroupID" HeaderText="ID">
                                <ItemStyle Width="50px" />
                            </asp:BoundField>
                            <asp:BoundField DataField="GroupName" HeaderText="分组名称" />
                            <asp:BoundField DataField="CreateDate" HeaderText="创建时间" />
                            <asp:TemplateField HeaderText="操作">
                                <ItemStyle Width="100px" Wrap="False" />
                                <ItemTemplate>
                                    <a href="FormControlOptionGroupEdit.aspx?cmd=modify&groupid=<%#Eval("GroupID") %>">修改</a>
                                    &nbsp;<a href="FormControlOptionGroupManage.aspx?cmd=delete&groupid=<%#Eval("GroupID")%>" onclick="return confirm('确定删除?')">删除</a>
                                    &nbsp;<a href="FormControlOptionManage.aspx?cmd=view&groupid=<%#Eval("GroupID")%>">查看选项</a>
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                    </cc1:ExtendedGridView>
                </div>
            </div>
            <br />
            <div class="FormButtonArea">
                <asp:Button ID="btnAddField" runat="server" Text="添加分组" OnClientClick="location.href='FormControlOptionGroupEdit.aspx';return false;" />&nbsp;&nbsp;
            </div>
        </div>
    </form>
</asp:Content>
