<%@ page language="C#" autoeventwireup="true" inherits="admin_info_BatchSwitchData, DianCMS" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>
<%@ Import Namespace="D.Common" %>
<%@ Import Namespace="D.BLL" %>

<!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 id="CssName" rel="stylesheet" type="text/css" runat="server" />

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

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

    <script type="text/javascript" language="javascript" src="../../js/color.js"></script>
    <script type="text/javascript" src="../../js/<%=B_Lang.getLang() %>/Collection.js"></script>

    <script src="../../js/lhgdialog/lhgcore.lhgdialog.min.js?self=true&skin=<%=Function.GetCssNameColor()%>" type="text/javascript"></script>

</head>
<body>
    <form id="form1" runat="server">
    <table class="dh" cellpadding="0" cellspacing="0" border="0" align="center">
        <tr>
            <td>
                <asp:Image ID="P_Go" runat="server" ImageAlign="AbsMiddle" />
                您现在的位置：<a href="../info.aspx">后台管理</a> >>
                <asp:Literal ID="LitModelName" runat="server"></asp:Literal>
                >> 批量转移数据
            </td>
        </tr>
    </table>
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <table class="border" cellspacing="1" cellpadding="0" width="99%" border="0" align="center">
                <tr>
                    <td class="bqleft">
                        转移的内容Id：
                    </td>
                    <td class="bqright">
                        <asp:TextBox ID="txtInfoId" runat="server" TextMode="MultiLine" Columns="60" Rows="3"
                            ReadOnly="true"></asp:TextBox><asp:TextBox ID="FilePicPath" runat="server" style="display:none">user|0</asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">
                        需要转移的字段：
                    </td>
                    <td class="bqright">
                        <asp:CheckBoxList ID="CheckModelField" runat="server" RepeatDirection="Horizontal"
                            RepeatColumns="7" AutoPostBack="True" OnSelectedIndexChanged="CheckModelField_SelectedIndexChanged">
                        </asp:CheckBoxList>
                    </td>
                </tr>
                <asp:Repeater ID="RepField" runat="server" OnItemDataBound="RepField_ItemDataBound">
                    <ItemTemplate>
                        <tr>
                            <td class="bqleft">
                                <asp:TextBox ID="txtFielId" runat="server" Text='<%#Eval("FieldId") %>' Style="display: none"></asp:TextBox>
                                <%#Eval("Alias") %>：
                            </td>
                            <td class="bqright">
                                <asp:TextBox ID="txtText" runat="server" Visible="false" CssClass="in1" Columns="40"></asp:TextBox><asp:Button
                                    ID="LhgButton" runat="server" Text="Button" CssClass="btn" Visible="false" /> <asp:Literal
                                        ID="Literal" runat="server" Visible="false"></asp:Literal>
                                <asp:TextBox ID="txtText_Id" runat="server" Visible="false" CssClass="in1" Columns="40"></asp:TextBox>
                                <asp:RadioButtonList ID="RadioBit" runat="server" Visible="false" RepeatDirection="Horizontal">
                                    <asp:ListItem Value="True">是</asp:ListItem>
                                    <asp:ListItem Value="False" Selected="True">否</asp:ListItem>
                                </asp:RadioButtonList>
                                <asp:DropDownList ID="Drop1" runat="server" Visible="false">
                                    <asp:ListItem Value="0">请选择</asp:ListItem>
                                </asp:DropDownList>
                                <asp:DropDownList ID="Drop2" runat="server" Visible="false">
                                    <asp:ListItem Value="0">请选择</asp:ListItem>
                                </asp:DropDownList>
                                <asp:DropDownList ID="Drop3" runat="server" Visible="false">
                                    <asp:ListItem Value="0">请选择</asp:ListItem>
                                </asp:DropDownList>
                                <asp:RadioButtonList ID="RadRadio" runat="server" RepeatDirection="Horizontal" RepeatColumns="7" Visible="false">
                                </asp:RadioButtonList>
                                <asp:CheckBoxList ID="CheckBoxList" RepeatDirection="Horizontal" RepeatColumns="6" runat="server" Visible="false">
                                </asp:CheckBoxList>                                
                            </td>
                        </tr>
                    </ItemTemplate>
                </asp:Repeater>
                <tr>
                    <td class="bqleft">
                    </td>
                    <td class="bqright" height="50">
                        <asp:Button ID="Button1" runat="server" Text=" 更新选中字段值 " OnClick="Button1_Click"
                            CssClass="btn radius30 pad_0_30" />
                    </td>
                </tr>
            </table>
        </ContentTemplate>
    </asp:UpdatePanel>
    </form>
</body>
</html>
