<%@ Page Language="C#" MasterPageFile="~/Admin/MasterPage.master" AutoEventWireup="true" Inherits="Kesion.NET.WebSite.Admin_LabelMove" Title="标签移动" Codebehind="KS.LabelMove.aspx.cs" %>
<%@ Import Namespace="Kesion.BLL" %>
<%@ Import Namespace="Kesion.Cache" %>
<%@ Import Namespace="Kesion.Publics" %>
<asp:Content ID="Content1" ContentPlaceHolderID="KSContent" Runat="Server">

        <script type="text/javascript">
            function Check() {
                if(jQuery("#ContentID").val()==''){
                    KesionJS.Alert('您没有输入要移动的文档ID!',null);
                    return false;
                }

                if (jQuery("#TargetClassID option:selected").val() == undefined) {
                    KesionJS.Alert('请选择目标栏目!',null);
                    return false;
                }
                return true;
         }
        </script>
        

    <table align="center" width="98%" border="0" cellpadding="1" cellspacing="1" class="CTable">
                 <tr>
                 <td class="lefttd" style="width: 94px; text-align: right"><strong>移动到分类</strong></td>
                 <td class="righttd">
                      <input typoe="text" style="display:none;" name="ContentID" id="ContentID" value="<%=KSCMS.S("Ids") %>" class="textbox" />
                     <select size='15'  style="WIDTH: 260px;height:260px;" name="TargetClassID" id="TargetClassID">
                      <%=BaseFun.ReturnLabelFolderTree("", Utils.StrToInt(KSCMS.S("LabelType")))%>
                    </select></td>
                 </tr>
    </table>

       <div class="pop-button">
       <asp:Button ID="BtnSave" runat="server" Text="确定移动" OnClientClick="return(Check());" CssClass="button"  onclick="BtnSave_Click" />
       <asp:Button ID="BtnCancel" runat="server" Text="取消关闭" CssClass="button" OnClientClick="top.box.close()" />
       </div>
</asp:Content>

