<%@ page language="C#" autoeventwireup="true" inherits="Pages_Administration_ChangeBatchBulk, App_Web_z53ggjcq" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" uiculture="auto" meta:resourcekey="PageResource1" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl"
    TagPrefix="Date" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager"
    TagPrefix="uc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/AutoComplete/AutoCompleteControl.ascx" TagName="AutoCompleteControl"
    TagPrefix="acc" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl"
    TagPrefix="ScreenGroup" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl"
    TagPrefix="DPC" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="OTQueueListingUpdatePanel" runat="server">
        <ContentTemplate>
            <div id="divContentPage" class="divcontentpagemargin">

                <div class="dashBoardLeftCont" valign="top">
                    <div class="himssuHeader3WireBox">
                        <%--<div class="himsBoxHeader">
                                    <div class="leftdiv">
                                    </div>
                                    <div class="himsBoxTitle">
                                        <div class="headerText">
                                            <asp:Label runat="server" ID="ScreenGroupNameLabel"></asp:Label>
                                        </div>
                                    </div>
                                </div>--%>
                        <table width=" 0px" cellpadding="0" cellspacing="0">
                            <tr>
                                <td>
                                    <div class="himsBoxContent">
                                        <div class="leftUlMenu">
                                            <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="167"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="row whiteboxpaddingleft">
                    <div class="himssuHeader1WireBox card card-box">
                        <div class="himsBoxHeader card-head">
                            <div class="leftdiv">
                            </div>
                            <div class="himsBoxTitle">
                                <div class="headerText">
                                    <header>
                                        <i class="fas fa-list"></i>
                                        <asp:Label ID="ReasonMasterDetailLabel" runat="server" Text="Change Batch Bulk"></asp:Label>
                                    </header>
                                </div>
                            </div>
                        </div>
                        <div class="himsBoxContent card-body">
                            <div class="contentHolder">

                                <div id="FeeSetupDetailDiv" runat="server" visible="false">

                                    <div class="himssuHeader6WireBox col-md-12">
                                        <div class="himsBoxHeader card-head inner" id="GridViewPagerDiv" runat="server" visible="false" style="display: none">
                                            <div class="leftdiv">
                                            </div>
                                            <div class="himsBoxTitle">
                                                <%--<div class="gridHeaderText">
                                                    <header>
                                                        <asp:Label ID="GridViewLabel" Text="List" runat="server" />
                                                    </header>
                                                </div>--%>
                                            </div>
                                        </div>
                                        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                                            <ContentTemplate>
                                                <div class="outerBox pTop15 col-md-3 ">
                                                    <asp:CheckBox ID="AllDivisionCheckBox" runat="server" AutoPostBack="true" Text="Show All Division" class="pLeft5" OnCheckedChanged="AllDivisionCheckBox_CheckedChanged"/>
                                                </div>
                                            </ContentTemplate>
                                        </asp:UpdatePanel>
                                        <div class="himsBoxContent">
                                            <div id="Div5" runat="server" visible="true">
                                                <div id="Div4" runat="server" class="table-responsive">
                                                    <asp:GridView ID="ChangeBatchBulkGridView" runat="server" AutoGenerateColumns="False"
                                                        EmptyDataText="No Records Found !!" AllowPaging="False" CssClass="table table-striped table-bordered table-hover" OnRowDataBound="ChangeBatchBulkGridView_RowDataBound"
                                                        DataKeyNames="OldDivisionId,ClassOrderIndex" ShowHeader="True" ShowFooter="false">
                                                        <Columns>
                                                            <asp:TemplateField HeaderText="Select" HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="10%"
                                                                ItemStyle-Wrap="true">
                                                                <HeaderTemplate>
                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                        <asp:CheckBox ID="HeaderSelectCheckBox" runat="server" Enabled="true" AutoPostBack="true"
                                                                            Visible="true" OnCheckedChanged="HeaderSelectCheckBox_checked" />
                                                                        <span></span>
                                                                    </label>
                                                                </HeaderTemplate>
                                                                <ItemStyle HorizontalAlign="Center" />
                                                                <ItemTemplate>
                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                        <asp:CheckBox ID="SelectCheckBox" AutoPostBack="true" OnCheckedChanged="SelectCheckBox_Checked"
                                                                            runat="server" />
                                                                        <span></span>
                                                                    </label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:BoundField DataField="ClassDivisionName" HeaderText="Old Division" ItemStyle-Width="45%"
                                                                HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                            <asp:TemplateField HeaderText="New Division" HeaderStyle-HorizontalAlign="Left" ItemStyle-Width="45%"
                                                                ItemStyle-Wrap="true">
                                                                <ItemStyle HorizontalAlign="Left" />
                                                                <ItemTemplate>
                                                                    <asp:DropDownList runat="server" ID="NewDivisionDropDownList" onmouseleave="showHideTooltip()"
                                                                        onmouseenter="showHideTooltip()" Enabled="false" Width="25%">
                                                                    </asp:DropDownList>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                        </Columns>
                                                        <PagerSettings Visible="False" />
                                                    </asp:GridView>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="pTop5">

                                            <div class="col-md-12">
                                                <div class="alert alert-info">
                                                    <asp:Label ID="Label2" runat="server" Text="On Export all active student of current (logged in) batch will be exported to to new selected batch"
                                                        SkinID="MandatoryLabel"></asp:Label><br />

                                                </div>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="ToBatchLabel" runat="server" Text="To Batch" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="ToBatchDropDownList" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                </asp:DropDownList>
                                            </div>
                                        </div>


                                        <div class="alignCenter pTop5">
                                            <asp:Button ID="ImportButton" runat="server" Text="&#xf093; Export To New Batch" SkinID="0"
                                                CssClass="btn-examcommon btn fas" OnClick="ImportButton_Click" />
                                        </div>
                                        <div class="cBoth">
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

            </div>
            <div class="spacer">
                <img src="../../Images/spacer.gif" />
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--  <script data-main="../../JavaScript/rjs/encrypt/change-batchbulk-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/change-batchbulk")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
