<%@ Page Title="" Language="C#" MasterPageFile="~/whir_system/master/SystemMasterPage.master"
    AutoEventWireup="true" CodeFile="bind_templater.aspx.cs" Inherits="whir_system_module_column_bind_templater" %>

<%@ Import Namespace="Whir.Language" %>
<%@ Import Namespace="Whir.Framework" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <script type="text/javascript" src="<%=SysPath %>res/script/jquery_treetable/jqtreetable.js"></script>
    <!--这个是表格显示的文件-->
    <link rel="stylesheet" type="text/css" href="<%=SysPath %>res/script/jquery_treetable/jqtreetable.css" />
    <style type="text/css">
        .table tbody td{ padding: 0px!important;vertical-align: middle!important;}
    </style>
    <script type="text/javascript">
        whir.skin.checkbox(false); //取消美化checkbox
        whir.skin.radio(false); //取消美化radio
  
        $(function () {
            //表格显示
            if ($("#<%=hfStrMap.ClientID %>").val() == "") return false;
            var map = $("#<%=hfStrMap.ClientID %>").val().split(",");
            var options = {
                openImg: "<%=SysPath %>res/images/TreeTable/tv-collapsable.gif", shutImg: "<%=SysPath %>res/images/TreeTable/tv-expandable.gif",
                leafImg: "<%=SysPath %>res/images/TreeTable/tv-item.gif",
                lastOpenImg: "<%=SysPath %>res/images/TreeTable/tv-collapsable-last.gif",
                lastShutImg: "<%=SysPath %>res/images/TreeTable/tv-expandable-last.gif",
                lastLeafImg: "<%=SysPath %>res/images/TreeTable/tv-item-last.gif",
                vertLineImg: "<%=SysPath %>res/images/TreeTable/vertline.gif",
                blankImg: "<%=SysPath %>res/images/TreeTable/blank.gif",
                collapse: false,
                column: 0,
                striped: true,
                highlight: true,
                state: false
            };
            $("tbody[id^='tbdList']").jqTreeTable(map, options);

            //根据栏目类型Id返回栏目类型的名称
            $("tbody[res!='自定义子站'] tr").find("td").find(".modelname").each(function (i, item) {
                var te = $("#<%=dropColumn.ClientID %>").find("option[value='" + $(this).html().replace(/(^\s*)|(\s*$)/g, "") + "']").html();
                $(this).html(te);
            });

            //根据栏目类型Id返回栏目类型的名称
            $("#list3 tr").find("td").find(".modelname").each(function (i, item) {
                var te = $("#<%=ddpSubsite.ClientID %>").find("option[value='" + $(this).html() + "']").html();
                $(this).html(te);
            });

            //隐藏首页
            var indexTr = $("#tbdList0 tr:eq(0)");
            if (indexTr.find("td:eq(1)").attr("model") == "model-1") {
                indexTr.find("td:eq(1)").html("");
                indexTr.find("td:eq(3)").html("");
                indexTr.find("td:eq(4)").html("");
                indexTr.find("td:eq(6)").html(""); //首页没有编辑自动清除静态文件功能
            }

            //隐藏模版子站、专题、自定义子站首页
            $("tr[subid]").each(function () {
                if (parseInt($(this).attr("subid")) > 0) { //首页
                    $(this).find("td:eq(1)").html("");
                    $(this).find("td:eq(3)").html("");
                    $(this).find("td:eq(4)").html("");
                    //$(this).find("td:eq(6)").html("");//自动清除静态文件
                }
            });

            $(".tdMode").each(function () {
                var spanMode = $(this).find(".tempMode");
                $(this).html(spanMode); //隐藏树数据
                //判断是否外部链接
                var isLink = $(this).attr("url") == "" ? false : true;
                if (isLink) {
                    $(this).parent().find("td:gt(0)").html("");
                } else {//父节点处理
                    var pid = $(this).find("[columnpid]").attr("columnpid");
                    if (pid != "0") {
                        $(".span" + pid).hide(); //隐藏生成方式
                        $("[model='model" + pid + "']").html("");
                        $("[model='model" + pid + "']").parent().find("[name='TdTemp']").html("");
                    }

                    //选中生成方式
                    var checkedValue = $(this).find("[ckdvalue]").attr("ckdvalue");
                    $(this).find(":radio[value='" + checkedValue + "']").attr("checked", "checked");
                }
            });
            $(".tempMode :radio").click(function () {
                var val = $(this).val();
                switch (val) {
                    case "1": //静态模式
                        $(this).parents("td:eq(0)").next().find(":checkbox").attr("disabled", "");
                        break;
                    default:
                        $(this).parents("td:eq(0)").next().find(":checkbox").attr("checked", false);
                        $(this).parents("td:eq(0)").next().find(":checkbox").attr("disabled", "disabled");
                        break;
                }
            });
            $(":checkbox[name^='ckb']").attr("title", "编辑栏目内容时自动清理已生成的静态文件");
        });

        //站点显示与隐藏
        function showTab(id) {
            $(".tab_common span[id^='tab']").removeClass("show");
            $(".All_list tbody[id^='list']").hide();
            $("#tab" + id).addClass("show");
            $("#list" + id).show();
        }
        $(function () {
            var item = $("#tbdList0").find("tr");
            for (var i = 0; i < item.length; i++) {
                if (i % 2 == 0) {
                    item[i].style.backgroundColor = "#f0f0f0";
                }
            }
            item = $("#tbdList1").find("tr");
            for (var i = 0; i < item.length; i++) {
                if (i % 2 == 0) {
                    item[i].style.backgroundColor = "#f0f0f0";
                }
            }
            item = $("#tbdList2").find("tr");
            for (var i = 0; i < item.length; i++) {
                if (i % 2 == 0) {
                    item[i].style.backgroundColor = "#f0f0f0";
                }
            }
          
        });
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <form runat="server">
    <div class="content-wrap">
        <div class="space15">
        </div>
        <div class="panel">
            <div class="panel-body">
                <ul class="nav nav-tabs" role="tablist">
                    <li role="presentation" class="active"><a data-toggle="tab" href="#list0">内容管理</a></li>
                    <li role="presentation"><a data-toggle="tab" href="#list1">子站</a></li>
                    <li role="presentation"><a data-toggle="tab" href="#list2">专题</a></li>
                </ul>
                <div class="space_5"></div>
                <div class="tab-content">
                    <div id="list0" class="tab-pane active">
                        <div class="panel-body">
                        <table class="table table-hover" >
                            <thead>
                                <tr>
                                    <th class="text-center" style="min-width: 150px"><%="栏目名称".ToLang()%></th>
                                    <th class="text-center"><%="功能模块".ToLang()%></th>
                                    <th class="text-center"><%="首页模板".ToLang()%></th>
                                    <th class="text-center"><%="列表模板".ToLang()%></th>
                                    <th class="text-center"><%="内容模板".ToLang()%></th>
                                    <th class="text-center"><%="生成模式".ToLang()%></th>
                                    <th class="text-center"><%=ClearStaticHTML%></th>
                                </tr>
                            </thead>
                            <tbody res="内容管理" id="tbdList0" >
                                <asp:Repeater ID="rptMainColumnList" runat="server">
                                    <ItemTemplate>
                                        <tr valign="middle">
                                            <td>
                                                 <div style="white-space: nowrap; line-height:35px"><%# Eval("ColumnName")%></div>
                                            </td>
                                            <td model="model<%# Eval("ColumnId") %>" align="right">
                                                <em></em>
                                                <span class="modelname"><%#Eval("ModelId")%></span>
                                                <i class="model_delete icon-cross" valueplace="CloumnModel|<%# Eval("ColumnId") %>"
                                                        style="cursor: pointer;" linkurl='<%# Eval("OutUrl") %>'></i>
                                                <span class="model_edit fontawesome-cog" 
                                                    valueplace="CloumnModel|<%# Eval("ColumnId") %>" 
                                                    style="cursor: pointer;" linkurl='<%# Eval("OutUrl") %>'>
                                                        </span>
                                            </td>
                                            <td name="TdTemp" align="right">
                                                <em></em>
                                                <span><%# Eval("DefaultTemp")%></span>
                                                <i class="eip_delete icon-cross" valueplace="DefaultTemp|<%# Eval("ColumnId") %>"
                                                    style="cursor: pointer;"></i>
                                                <span class="eip_edit fontawesome-cog" valueplace="DefaultTemp|<%# Eval("ColumnId") %>"
                                                        style="cursor: pointer;"></span>
                                            </td>
                                            <td name="TdTemp" align="right">
                                                <em></em>
                                                <span><%# Eval("ListTemp")%></span>
                                                <i class="eip_delete icon-cross" valueplace="ListTemp|<%# Eval("ColumnId") %>"
                                                    style="cursor: pointer;"></i>
                                                <span class="eip_edit fontawesome-cog" valueplace="ListTemp|<%# Eval("ColumnId") %>"
                                                        style="cursor: pointer;"></span>
                                            </td>
                                            <td name="TdTemp" align="right">
                                                <em></em><span>
                                                    <%# Eval("ContentTemp")%>
                                                </span><i class="eip_delete icon-cross" valueplace="ContentTemp|<%# Eval("ColumnId") %>"
                                                    style="cursor: pointer;"></i><span class="eip_edit fontawesome-cog" valueplace="ContentTemp|<%# Eval("ColumnId") %>"
                                                        style="cursor: pointer;"></span>
                                            </td>
                                            <td class="tdMode" align="right" url="<%# Eval("OutUrl") %>" >
                                                <span class="tempMode span<%# Eval("ColumnId") %>" columnpid="<%# Eval("ParentId") %>"
                                                    columnid="<%# Eval("ColumnId") %>" ckdvalue="<%# Eval("CreateMode") %>">
                                                    <label><input type="radio" value="0" name="rdo<%# Eval("ColumnId") %>" checked="checked" /><%=CreateModeNull%></label>
                                                    <label><input type="radio" value="1" name="rdo<%# Eval("ColumnId") %>" /><%=CreateModeHtml%></label>
                                                    <label><input type="radio" value="2" name="rdo<%# Eval("ColumnId") %>" /><%=CreateModelAspx%></label>
                                                </span>
                                            </td>
                                            <td align="center">
                                                <label><input type="checkbox" name="ckb<%# Eval("ColumnId") %>" <%# Eval("IsAutoCleanupStaticFiles").ToBoolean()?"checked='checked'": (Eval("CreateMode").ToInt()!=1?"disabled='disabled'":"") %> /></label>
                                            </td>
                                        </tr>
                                    </ItemTemplate>
                                </asp:Repeater>
                            </tbody>
                        </table>
                        </div>
                    </div>
                    <div id="list1" class="tab-pane ">
                        <table width="100%" border="0" cellspacing="0" cellpadding="0" class=" table-hover">
                            <tr style="height: 40px">
                                <th style="text-align: center; min-width :150px"  >
                                    <%="栏目名称".ToLang()%>
                                </th>
                                <th style="text-align: center;">
                                    <%="功能模块".ToLang()%>
                                </th>
                                <th style="text-align: center;">
                                    <%="首页模板".ToLang()%>
                                </th>
                                <th style="text-align: center;">
                                    <%="列表模板".ToLang()%>
                                </th>
                                <th style="text-align: center;">
                                    <%="内容模板".ToLang()%>
                                </th>
                                  <th style="text-align: center; width:160px">
                                    <%="生成模式".ToLang()%>
                                </th>
                                <th style="text-align: center; width:60px">
                                    <%=ClearStaticHTML%>
                                </th>
                            </tr>
                            <tbody res="模版子站"  id="tbdList1">
                                <asp:Repeater ID="rptSubTem" runat="server" OnItemDataBound="rptSubTem_ItemDataBound">
                                    <ItemTemplate>
                                        <tr valign="middle">
                                            <td colspan="7">
                                                <div style="white-space: nowrap; line-height:35px"> <%# Eval("SubjectClassName")%></div>
                                                <asp:HiddenField ID="hidSubjectClassID" runat="server"
                                                    Value='<%# Eval("SubjectClassId") %>' />
                                            </td>
                                        </tr>
                                        <asp:Repeater ID="rptList" runat="server">
                                            <ItemTemplate>
                                                <tr valign="middle" subid='<%# Eval("SubId") %>'>
                                                    <td>
                                                        <div style="white-space: nowrap; line-height:35px">
                                                        <%# Eval("ColumnName")%></div>
                                                    </td>
                                                    <td model="model<%# Eval("ColumnId") %>" align="right">
                                                        <em></em><span class="modelname">
                                                            <%# Eval("ModelId")%></span> <i class="model_delete icon-cross icon-cross" valueplace="CloumnModel|<%# Eval("ColumnId") %>"
                                                                style="cursor: pointer;" linkurl='<%# Eval("OutUrl") %>'></i><span class="model_edit fontawesome-cog"
                                                                    valueplace="CloumnModel|<%# Eval("ColumnId") %>" style="cursor: pointer;" linkurl='<%# Eval("OutUrl") %>'>
                                                                </span>
                                                    </td>
                                                    <td name="TdTemp" align="right">
                                                        <em></em><span>
                                                            <%# Eval("DefaultTemp")%>
                                                        </span><i class="eip_delete icon-cross" valueplace="DefaultTemp|<%# Eval("ColumnId") %>"
                                                            style="cursor: pointer;"></i><span class="eip_edit fontawesome-cog" valueplace="DefaultTemp|<%# Eval("ColumnId") %>"
                                                                style="cursor: pointer;"></span>
                                                    </td>
                                                    <td name="TdTemp" align="right">
                                                        <em></em><span>
                                                            <%# Eval("ListTemp")%>
                                                        </span><i class="eip_delete icon-cross" valueplace="ListTemp|<%# Eval("ColumnId") %>" style="cursor: pointer;">
                                                        </i><span class="eip_edit fontawesome-cog" valueplace="ListTemp|<%# Eval("ColumnId") %>" style="cursor: pointer;">
                                                        </span>
                                                    </td>
                                                    <td name="TdTemp" align="right">
                                                        <em></em><span>
                                                            <%# Eval("ContentTemp")%>
                                                        </span><i class="eip_delete icon-cross" valueplace="ContentTemp|<%# Eval("ColumnId") %>"
                                                            style="cursor: pointer;"></i><span class="eip_edit fontawesome-cog" valueplace="ContentTemp|<%# Eval("ColumnId") %>"
                                                                style="cursor: pointer;"></span>
                                                    </td>
                                                    <td class="tdMode" align="center" url="<%# Eval("OutUrl") %>">
                                                        <span class="tempMode span<%# Eval("ColumnId") %>" columnpid="<%# Eval("ParentId") %>"
                                                            columnid="<%# Eval("ColumnId") %>" ckdvalue="<%# Eval("CreateMode") %>">
                                                            <label>
                                                                <input type="radio" value="0" name="rdo<%# Eval("ColumnId") %>" checked="checked" /><%=CreateModeNull%></label>
                                                            <label>
                                                                <input type="radio" value="1" name="rdo<%# Eval("ColumnId") %>" /><%=CreateModeHtml%></label>
                                                            <label>
                                                                <input type="radio" value="2" name="rdo<%# Eval("ColumnId") %>" /><%=CreateModelAspx%></label>
                                                        </span>
                                                    </td>
                                                    <td align="center">
                                                        <label>
                                                            <input type="checkbox" name="ckb<%# Eval("ColumnId") %>" <%# Eval("IsAutoCleanupStaticFiles").ToBoolean()?"checked='checked'": (Eval("CreateMode").ToInt()!=1?"disabled='disabled'":"") %> /></label>
                                                    </td>
                                                </tr>
                                            </ItemTemplate>
                                        </asp:Repeater>
                                    </ItemTemplate>
                                </asp:Repeater>
                            </tbody>
                        </table>
                    </div>
                    <div id="list2" class="tab-pane ">
                        <table width="100%" border="0" cellspacing="0" cellpadding="0" class=" table-hover">
                            <tr style="height: 40px">
                                 <th style="text-align: center; min-width :150px"  >
                                    <%="栏目名称".ToLang()%>
                                </th>
                                <th style="text-align: center;">
                                    <%="功能模块".ToLang()%>
                                </th>
                                <th style="text-align: center;">
                                    <%="首页模板".ToLang()%>
                                </th>
                                <th style="text-align: center;">
                                    <%="列表模板".ToLang()%>
                                </th>
                                <th style="text-align: center;">
                                    <%="内容模板".ToLang()%>
                                </th>
                              <th style="text-align: center; width:160px">
                                    <%="生成模式".ToLang()%>
                                </th>
                                <th style="text-align: center; width:60px">
                                    <%=ClearStaticHTML%>
                                </th>
                            </tr>
                            <tbody res="专题"  id="tbdList2">
                                <asp:Repeater ID="rptSubject" runat="server" OnItemDataBound="rptSubTem_ItemDataBound">
                                    <ItemTemplate>
                                        <tr valign="middle">
                                            <td colspan="7">
                                                 <div style="white-space: nowrap; line-height:35px"><%# Eval("SubjectClassName")%></div>
                                                <asp:HiddenField ID="hidSubjectClassID" runat="server"
                                                    Value='<%# Eval("SubjectClassId") %>' />
                                            </td>
                                        </tr>
                                        <asp:Repeater ID="rptList" runat="server">
                                            <ItemTemplate>
                                                <tr valign="middle" subid='<%# Eval("SubId") %>'>
                                                    <td>
                                                          <div style="white-space: nowrap; line-height:35px"> <%# Eval("ColumnName")%></div>
                                                    </td>
                                                    <td model="model<%# Eval("ColumnId") %>" align="right">
                                                        <em></em><span class="modelname">
                                                            <%# Eval("ModelId")%></span> <i class="model_delete icon-cross" valueplace="CloumnModel|<%# Eval("ColumnId") %>"
                                                                style="cursor: pointer;" linkurl='<%# Eval("OutUrl") %>'></i><span class="model_edit fontawesome-cog"
                                                                    valueplace="CloumnModel|<%# Eval("ColumnId") %>" style="cursor: pointer;" linkurl='<%# Eval("OutUrl") %>'>
                                                                </span>
                                                    </td>
                                                    <td name="TdTemp" align="right">
                                                        <em></em><span>
                                                            <%# Eval("DefaultTemp")%>
                                                        </span><i class="eip_delete icon-cross" valueplace="DefaultTemp|<%# Eval("ColumnId") %>"
                                                            style="cursor: pointer;"></i><span class="eip_edit fontawesome-cog" valueplace="DefaultTemp|<%# Eval("ColumnId") %>"
                                                                style="cursor: pointer;"></span>
                                                    </td>
                                                    <td name="TdTemp" align="right">
                                                        <em></em><span>
                                                            <%# Eval("ListTemp")%>
                                                        </span><i class="eip_delete icon-cross" valueplace="ListTemp|<%# Eval("ColumnId") %>" style="cursor: pointer;">
                                                        </i><span class="eip_edit fontawesome-cog" valueplace="ListTemp|<%# Eval("ColumnId") %>" style="cursor: pointer;">
                                                        </span>
                                                    </td>
                                                    <td name="TdTemp" align="right">
                                                        <em></em><span>
                                                            <%# Eval("ContentTemp")%>
                                                        </span><i class="eip_delete icon-cross" valueplace="ContentTemp|<%# Eval("ColumnId") %>"
                                                            style="cursor: pointer;"></i><span class="eip_edit fontawesome-cog" valueplace="ContentTemp|<%# Eval("ColumnId") %>"
                                                                style="cursor: pointer;"></span>
                                                    </td>
                                                    <td class="tdMode" align="center" url="<%# Eval("OutUrl") %>">
                                                        <span class="tempMode span<%# Eval("ColumnId") %>" columnpid="<%# Eval("ParentId") %>"
                                                            columnid="<%# Eval("ColumnId") %>" ckdvalue="<%# Eval("CreateMode") %>">
                                                            <label>
                                                                <input type="radio" value="0" name="rdo<%# Eval("ColumnId") %>" checked="checked" /><%=CreateModeNull%></label>
                                                            <label>
                                                                <input type="radio" value="1" name="rdo<%# Eval("ColumnId") %>" /><%=CreateModeHtml%></label>
                                                            <label>
                                                                <input type="radio" value="2" name="rdo<%# Eval("ColumnId") %>" /><%=CreateModelAspx%></label>
                                                        </span>
                                                    </td>
                                                    <td align="center">
                                                        <label>
                                                            <input type="checkbox" name="ckb<%# Eval("ColumnId") %>" <%# Eval("IsAutoCleanupStaticFiles").ToBoolean()?"checked='checked'": (Eval("CreateMode").ToInt()!=1?"disabled='disabled'":"") %> /></label>
                                                    </td>
                                                </tr>
                                            </ItemTemplate>
                                        </asp:Repeater>
                                    </ItemTemplate>
                                </asp:Repeater>
                            </tbody>
                        </table>
                    </div>
                     
                    <br />
                    <asp:LinkButton ID="lbnSubmit" runat="server" CssClass="btn btn-info" OnClick="lbUpdate_Click"
                        OnClientClick="return GetCreateMode()" Style="float: right; margin-right: 20px;">
                           <%="保存".ToLang()%> 
                    </asp:LinkButton>
                </div>
                <script type="text/javascript">
                    $(".eip_delete").hide();
                    $(".model_delete").hide();
                    //加入模版选择下拉列表
                    $("span[class='eip_edit fontawesome-cog']").click(function () {
                        $(this).prevAll("em").html($("#DivDropTemplate").html());
                        $(this).prevAll("span").hide();
                        $(this).prevAll("i").show();
                        GetValue();
                        $(this).hide();
                    });

                    $(".eip_delete.icon-cross").click(function () {
                        $(this).prevAll("em").html('');
                        $(this).prevAll("span").show();
                        $(this).next("span").show();
                        GetValue();
                        $(this).hide();
                    });
                    //加入功能模块选项下拉列表
                    $("span[class='model_edit fontawesome-cog']").click(function () {
                        if ($(this).attr("linkurl") != "") {
                            TipMessage('<%="外部链接不能选择改变功能模块".ToLang() %>');
                        } else {
                            if ($(this).attr("res") == 'subsite') {//自定义子站
                                $(this).prevAll("em").html($("#DivSubsiteColumn").html());
                            } else {
                                $(this).prevAll("em").html($("#DivDropColumn").html());
                            }
                            $(this).prevAll("span").hide();
                            $(this).prevAll("i").show();
                            GetColumnValue();
                            $(this).hide();
                        }
                    });
                    //取消功能模块选择
                    $(".model_delete.icon-cross").click(function () {
                        $(this).prevAll("em").html('');
                        $(this).prevAll("span").show();
                        $(this).next("span").show();
                        GetColumnValue();
                        $(this).hide();
                    });

                    function GetValue() {
                        var str = "";
                        $("select[name='ctl00$ContentPlaceHolder1$dropTemplate']").each(function () {
                            if (str == '') {
                                str = $(this).parent().nextAll("span[valueplace]").attr("valueplace");
                            }
                            else {
                                str = str + "," + $(this).parent().nextAll("span[valueplace]").attr("valueplace");
                            }
                        });
                        $("#<%= ColumnFieldValue.ClientID %>").val(str);
                    }

                    function GetColumnValue() {
                        var str = "";
                        $("select[whirType='module']").each(function () {
                            if (str == '') {
                                str = $(this).parent().nextAll("span[valueplace]").attr("valueplace");
                            }
                            else {
                                str = str + "," + $(this).parent().nextAll("span[valueplace]").attr("valueplace");
                            }
                        });
                        $("#<%= ModelFieldValue.ClientID %>").val(str);
                    }

                    //生成模式、是否编辑自动清除静态文件
                    function GetCreateMode() {
                        var str = "";
                        $("input[type='radio']").each(function () {
                            if ($(this).prop("checked")) {
                                var columnid = $(this).parent().parent().attr("columnid");

                                var createid = $(this).val();
                                var isClearHtml = $(this).parents(".tdMode:eq(0)").next().find("input:checked").length;
                                str += columnid + "|" + createid + "|" + isClearHtml + ",";
                            }
                        });
                        $("#<%=hdCreateMode.ClientID %>").val(str);
                        return true;
                    }
                </script>
                <asp:HiddenField ID="ColumnFieldValue" runat="server" />
                <asp:HiddenField ID="ModelFieldValue" runat="server" />
                <asp:HiddenField ID="hfStrMap" runat="server" />


                <asp:HiddenField ID="hdCreateMode" runat="server" />
                <div style="display: none" id="DivDropTemplate">
                    <asp:DropDownList ID="dropTemplate" Width="150" runat="server">
                    </asp:DropDownList>
                </div>
                <div style="display: none" id="DivSubsiteColumn">
                    <asp:DropDownList ID="ddpSubsite" Width="150" runat="server" whirType="module">
                    </asp:DropDownList>
                </div>
                <div style="display: none" id="DivDropColumn">
                    <asp:DropDownList ID="dropColumn" runat="server" whirType="module">
                    </asp:DropDownList>
                </div>
               
            </div>
        </div>
    </div>
    </form>
</asp:Content>
