<%@ page title="" language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_Administration_AdministrationPage, App_Web_wxdh1rhz" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager"
    TagPrefix="uc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl"
    TagPrefix="ScreenGroup" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerAutoPostBackControl.ascx" TagName="DatePickerControl" TagPrefix="Date" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="SelectReportFormatUpdatePanel" runat="server">
        <Triggers>
            <asp:PostBackTrigger ControlID="DownloadButton" />
            <asp:PostBackTrigger ControlID="DownloadOldBatchContentDataButton" />
        </Triggers>
        <ContentTemplate>
            <div id="divContentPage" class="divcontentpagemargin">
                <!-- ContentPlaceHolder Box Starts -->

                <div class="dashBoardLeftCont">
                    <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>
                            <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-tasks"></i>
                                        <asp:Label ID="Label1" runat="server" Text="Administrative Task"></asp:Label>
                                    </header>
                                </div>
                            </div>
                        </div>
                        <div class="himsBoxContent card-body" style="margin-bottom: 25px">
                            <div class="contentHolder">
                                <div class="col-md-12 pTop15 pb15">

                                    <asp:Button ID="DeletePDFButton" runat="server" SkinID="0"
                                        OnClick="DeletePDFButton_OnClick" Text="&#xf2ed; Delete PDF" CssClass="btn-delete btn fas" />

                                    <asp:Button ID="DeleteTempButton" runat="server" SkinID="0"
                                        OnClick="DeleteTempButton_OnClick" Text="&#xf2ed; Delete TempData" CssClass="btn-delete btn fas" />

                                    <asp:Button ID="UpdateNumberAsCodeButton" runat="server"
                                        SkinID="0" OnClick="UpdateNumberAsCodeButton_OnClick" CssClass="btn-update btn fas" Text="&#xf021; Update Number From Code" />

                                    <asp:Button ID="UpdateCodeAsNumberButton" runat="server"
                                        SkinID="0" OnClick="UpdateCodeAsNumberButton_OnClick" CssClass="btn-update btn fas" Text="&#xf021; Update Code From Number" />

                                    <asp:Button ID="UpdateStudentIdASNumberButton" runat="server"
                                        SkinID="0" OnClick="UpdateStudentIdASNumberButton_OnClick" CssClass="btn-update btn fas" Text="&#xf021; Update StudentId AS Number" />

                                    <asp:Button ID="DeleteEmptyFolderButton" runat="server" SkinID="0"
                                        OnClick="DeleteEmptyFolderButton_OnClick" Text="&#xf2ed; Delete Empty Folder" CssClass="btn-delete btn fas" />
                                </div>
                                <%--Add New Button for update Number in StudentMaster Table -- by Hemali --Mantis Id : 0026388--%>
                                <div class="col-md-12">
                                    <asp:Button ID="AlphaNumericOrderButton" runat="server" SkinID="0" OnClick="AlphaNumericOrderButton_Click" Text="&#xf021; AlphaNumeric As Order" 
                                        CssClass="btn-update btn fas" Enabled="false" />
                                </div>
                            </div>

                            <%--<div class="himssuHeader1WireBox whitebox" runat="server">
                                    <div class="himsBoxHeader note note1 box box-danger">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <div class="headerText">
                                                <asp:Label ID="Label2" runat="server" Text="Clear Bus Route Mapping"></asp:Label>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="himsBoxContent">
                                        <div class="contentHolder">
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="OrganizationLabel" Text="Organization" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <asp:DropDownList ID="OrganizationDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                        onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" Width="154px">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="TransportLabel" runat="server" Text="Transport" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <asp:DropDownList ID="TransportDropDownList" runat="server" SkinID="CustomWidthDropDownList"
                                                        Width="154px" AutoPostBack="true" OnSelectedIndexChanged="TransportDropDownList_OnSelectedIndexChanged">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="BusRouteLabel" runat="server" Text="Bus Route" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <asp:DropDownList runat="server" ID="BusRouteDropDownList" SkinID="CustomWidthDropDownList"
                                                        Width="154px" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                            <div class="cBoth">
                                            </div>
                                            <div class="alignCenter pTop5">
                                                <asp:Button ID="DeleteRouteButton" runat="server" Text="Delete Route" meta:resourcekey="DeleteRouteButtonResource1"
                                                    SkinID="0" CssClass="PrimaryButton" OnClick="DeleteRouteButton_Click" />
                                                <asp:Button ID="ClearButton" runat="server" Text="Clear" meta:resourcekey="ClearButtonResource1"
                                                    SkinID="0" OnClick="ClearButton_Click" />
                                            </div>
                                            <div class="cBoth">
                                            </div>
                                        </div>
                                    </div>
                                </div>--%>
                            <div class="">
                                <div class="himssuHeader1WireBox" runat="server">
                                    <div class="himsBoxHeader card-head inner">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <div class="headerText">
                                                <header>

                                                    <asp:Label ID="Label3" runat="server" Text="Time Table Delete"></asp:Label>
                                                </header>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="himsBoxContent width-100">
                                        <div class="contentHolder">
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="SchemaLabel" Text="Time Table Schema" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="">
                                                    <asp:DropDownList ID="SchemaDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                        onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>


                                            <div class="alignCenter col-md-12 pTop5">
                                                <asp:Button ID="TimeTableDeleteButton" runat="server" meta:resourcekey="DeleteRouteButtonResource1"
                                                    SkinID="0" OnClick="TimeTableDeleteButton_Click" Text="&#xf2ed; Delete Time Table" CssClass="btn-delete btn fas" />

                                            </div>

                                        </div>
                                    </div>
                                </div>

                                <div class="himssuHeader1WireBox" runat="server">
                                    <div class="himsBoxHeader card-head inner">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <div class="headerText">
                                                <header>
                                                    <asp:Label ID="OrgGroupConfigurationLable" runat="server" Text="Org Group Configuration (Alert)"></asp:Label>
                                                </header>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="himsBoxContent width-100">
                                        <div class="contentHolder">
                                            <div class="outerBox pTop5 col-md-12">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="AlertRemarkLabel" Text="Alert Remark" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="">
                                                    <asp:TextBox ID="AlertRemarkTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        Height="50px" SkinID="MultilineTextBox" Width="100%" runat="server" MaxLength="2000"
                                                        TextMode="MultiLine"></asp:TextBox>
                                                </div>

                                            </div>

                                            <div class="alignCenter col-md-12 pt-3 ">
                                            </div>
                                        </div>
                                        <div class="contentHolder">
                                            <div class="outerBox pTop5 col-md-12">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="AdmissionFormRemarkLabel" Text="Admission Form Remark" runat="server"></asp:Label>
                                                </div>
                                                <div class="">
                                                    <asp:TextBox ID="AdmissionFormRemarkTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        Height="50px" SkinID="MultilineTextBox" Width="100%" runat="server" MaxLength="2000"
                                                        TextMode="MultiLine"></asp:TextBox>
                                                </div>

                                            </div>

                                            <div class="alignCenter col-md-12 pt-3 ">
                                            </div>
                                        </div>
                                        <div class="contentHolder">
                                            <div class="outerBox pTop5 col-md-12">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="Label5" Text="Admission Inquiry Remark" runat="server"></asp:Label>
                                                </div>
                                                <div class="">
                                                    <asp:TextBox ID="AdmissionInquiryRemarkTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        Height="50px" SkinID="MultilineTextBox" Width="100%" runat="server" MaxLength="2000"
                                                        TextMode="MultiLine"></asp:TextBox>
                                                </div>

                                            </div>
                                        </div>
                                        <div class="alignCenter col-md-12 pt-3 ">
                                        </div>
                                        <div class="contentHolder">
                                            <div class="outerBox pTop5 col-md-12">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="Label4" Text="Mobile App Pending Fee Popup Remark" runat="server"></asp:Label>
                                                </div>
                                                <div class="">
                                                    <asp:TextBox ID="AppPendingFeePopupRemarkTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        Height="50px" SkinID="MultilineTextBox" Width="100%" runat="server" MaxLength="2000"
                                                        TextMode="MultiLine"></asp:TextBox>
                                                </div>

                                            </div>
                                        </div>

                                        <div class="alignCenter col-md-12 pt-3 ">
                                            <asp:Button ID="SaveOrgGroupConfigurationButton" runat="server" Text="Save" OnClick="SaveOrgGroupConfigurationButton_Click"
                                                SkinID="0" CssClass="btn fas" />
                                        </div>
                                    </div>

                                </div>

                            </div>
                            <div class="himsBoxHeader card-head inner">
                                <div class="leftdiv">
                                </div>
                                <div class="himsBoxTitle">
                                    <div class="headerText">
                                        <header>
                                            <asp:Label ID="Label2" runat="server" Text="App User Name Password"></asp:Label>
                                        </header>
                                    </div>
                                </div>
                            </div>
                            <div class="himsBoxContent width-100">
                                <div class="contentHolder">
                                    <div class="alignCenter col-md-12 pt-3 ">
                                        <asp:Button ID="SaveAppUserNamePwdButton" runat="server" Text="Save"
                                            SkinID="0" CssClass="btn fas" OnClick="SaveAppUserNamePwdButton_OnClick" />
                                    </div>
                                </div>
                            </div>


                            <div class="himssuHeader1WireBox" runat="server">


                                <div class="himsBoxHeader card-head inner">
                                    <div class="leftdiv">
                                    </div>
                                    <div class="himsBoxTitle">
                                        <div class="headerText">
                                            <header>
                                                <asp:Label ID="Label6" runat="server" Text="Library Accession Bulk Update"></asp:Label>
                                            </header>
                                        </div>
                                    </div>
                                </div>
                                <div class="himsBoxContent width-100">
                                    <div class="contentHolder">
                                        <div class="outerBox col-md-3 pTop5">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="LibraryLabel" runat="server" Text="Library" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft">
                                                <asp:DropDownList ID="LibraryDropDownList" runat="server" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="alignCenter col-md-12 pt-3 ">
                                            <asp:Button ID="LibraryAccessionButton" runat="server" Text="Bulk Update Code AS a Accession No"
                                                SkinID="0" CssClass="btn fas" OnClick="LibraryAccessionButton_Click" />
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="himssuHeader1WireBox" runat="server">


                                <div class="himsBoxHeader card-head inner">
                                    <div class="leftdiv">
                                    </div>
                                    <div class="himsBoxTitle">
                                        <div class="headerText">
                                            <header>
                                                <asp:Label ID="Label7" runat="server" Text="Generate Thumbnail"></asp:Label>
                                            </header>
                                        </div>
                                    </div>
                                </div>
                                <div class="himsBoxContent width-100">
                                    <div class="contentHolder">
                                        <%--    <div class="outerBox col-md-4 pTop5">--%>
                                        <div class="outerBox col-md-3 pTop5">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="ClassLabel" runat="server" Text="Class" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="ClassDropDownList" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <%-- </div>--%>
                                        <br />
                                        <br />
                                        <div class="alignCenter col-md-12 pt-3 ">
                                            <asp:Button ID="StudentThumbNail" runat="server" Text="Student Generate Thumbnail"
                                                SkinID="0" CssClass="btn fas" OnClick="StudentThumbNail_Click" />

                                            <asp:Button ID="AdmissionThumbNail" runat="server" Text="Admission Generate Thumbnail"
                                                SkinID="0" CssClass="btn fas" OnClick="AdmissionThumbNail_Click" />
                                        </div>
                                    </div>
                                </div>
                            </div>

                            <div class="">
                                <div class="himssuHeader1WireBox" runat="server">
                                    <div class="himsBoxHeader card-head inner">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <div class="headerText">
                                                <header>

                                                    <asp:Label ID="Label8" runat="server" Text="Delete/Download Old Batch Data"></asp:Label>
                                                </header>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="himsBoxContent width-100">
                                        <div class="contentHolder">
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="BatchLabel" Text="Batch" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="">
                                                    <asp:DropDownList ID="BatchDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                        onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>

                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="TitleLabel" Text="Data" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="">
                                                    <asp:DropDownList ID="DocumentListDropDownList" runat="server" onmouseleave="showHideTooltip()" AutoPostBack="true"
                                                        onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control" OnSelectedIndexChanged="DocumentListDropDownList_SelectedIndexChanged">
                                                        <asp:ListItem Value="-1" Text="- Select -" Selected="True"></asp:ListItem>
                                                        <asp:ListItem Value="1" Text="Classwork/Homework"></asp:ListItem>
                                                        <asp:ListItem Value="2" Text="Assignment"></asp:ListItem>
                                                        <asp:ListItem Value="3" Text="Circular"></asp:ListItem>
                                                        <asp:ListItem Value="4" Text="Notification"></asp:ListItem>
                                                        <asp:ListItem Value="5" Text="Alert"></asp:ListItem>
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-2">
                                                <asp:Button ID="DeleteOldBatchDataButton" runat="server" meta:resourcekey="DeleteRouteButtonResource1"
                                                    SkinID="0" OnClick="DeleteOldBatchDataButton_Click" Text="&#xf2ed; Delete Old Batch Data" CssClass="btn-delete btn fas" />
                                            </div>
                                            <div class="outerBox pTop5 col-md-2">
                                                <asp:Button ID="DownloadButton" runat="server" meta:resourcekey="DownloadButtonResource1" Visible="false"
                                                    SkinID="0" OnClick="DownloadButton_Click" Text="&#xf019; Download Selected" CssClass="btn btn-download fas" OnClientClick="__doPostBack('', 'PostBackMaster');" />
                                            </div>
                                            <%--<div class="himsBoxContent pTop5 width-100">
                                                <div class="col-md-7">
                                                            <uc1:GridViewPager ID="DeleteOldBatchDataListGridView_GridViewPager" runat="server" OnFirstRecordClick="DeleteOldBatchDataListGridView_GridViewPager_FirstRecordClick"
                                                                OnLastRecordClick="DeleteOldBatchDataListGridView_GridViewPager_LastRecordClick" OnNextRecordClick="DeleteOldBatchDataListGridView_GridViewPager_NextRecordClick"
                                                                OnPrevRecordClick="DeleteOldBatchDataListGridView_GridViewPager_PrevRecordClick" OnTextBoxValueChange="DeleteOldBatchDataListGridView_GridViewPager_TextBoxValueChange"
                                                                ParentGridView="DeleteOldBatchDataListGridView" />
                                                        </div>
                                                <div class="cBoth">
                                            </div>
                                                <br />--%>
                                            <div id="Div3" runat="server" visible="true" class="col-md-12">
                                                <div id="Div4" class="himsBoxContentMsg" runat="server" visible="False">
                                                </div>

                                                <asp:GridView ID="DeleteOldBatchDataListGridView" runat="server" AutoGenerateColumns="False"
                                                    EmptyDataText="No Records Found !!" ShowHeader="true" DataKeyNames="Id"
                                                    CssClass="table table-striped table-bordered table-hover" Width="100%">
                                                    <Columns>
                                                        <asp:TemplateField ItemStyle-Wrap="true" ItemStyle-Width="5%">
                                                            <HeaderTemplate>
                                                                <label class="rt-chkbox rt-chkbox-outline">
                                                                    <asp:CheckBox ID="HeaderDataCheckBox" runat="server" onClick="checkAllRows(this);" />
                                                                    <span></span>
                                                                </label>
                                                            </HeaderTemplate>
                                                            <ItemStyle HorizontalAlign="Center" />
                                                            <ItemTemplate>
                                                                <label class="rt-chkbox rt-chkbox-outline">
                                                                    <asp:CheckBox ID="DataCheckBox" runat="server" onClick="checkUncheckHeaderCheckBox(this);" />
                                                                    <span></span>
                                                                </label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:BoundField DataField="Title" HeaderText="Title" ItemStyle-Width="30%"
                                                            HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                        <asp:BoundField DataField="Details" HeaderText="Created Date" ItemStyle-Width="30%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                        <asp:BoundField DataField="FromDate" HeaderText="Created Date" ItemStyle-Width="30%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                    </Columns>
                                                </asp:GridView>

                                            </div>
                                        </div>
                                        <div class="cBoth">
                                        </div>

                                        <br />
                                        <br />

                                    </div>
                                </div>
                            </div>

                            <div class="">
                                <div class="himssuHeader1WireBox" runat="server">
                                    <div class="himsBoxHeader card-head inner">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <div class="headerText">
                                                <header>

                                                    <asp:Label ID="Label12" runat="server" Text="Delete/Download Content"></asp:Label>
                                                </header>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="himsBoxContent width-100">
                                        <div class="contentHolder">
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="DeleteDownloadContentFromDateLabel" runat="server" Text="Created From Date" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <Date:DatePickerControl DisplayDatePicker="true" ID="DeleteDownloadContentFromDateDatePickerControl" runat="server" />
                                                </div>
                                            </div>

                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="DeleteDownloadContentToDateLabel" runat="server" Text="Created To Date" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <Date:DatePickerControl DisplayDatePicker="true" ID="DeleteDownloadContentToDateDatePickerControl" runat="server" />
                                                </div>
                                            </div>

                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="DeleteDownloadContentDataLabel" Text="Data" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="">
                                                    <asp:DropDownList ID="DeleteDownloadContentDataDropDownList" runat="server" onmouseleave="showHideTooltip()" AutoPostBack="true"
                                                        onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control" OnSelectedIndexChanged="DeleteDownloadContentDataDropDownList_SelectedIndexChanged">
                                                        <asp:ListItem Value="-1" Text="- Select -" Selected="True"></asp:ListItem>
                                                        <asp:ListItem Value="1" Text="Classwork/Homework"></asp:ListItem>
                                                        <asp:ListItem Value="2" Text="Assignment"></asp:ListItem>
                                                        <asp:ListItem Value="3" Text="Circular"></asp:ListItem>
                                                        <asp:ListItem Value="4" Text="Online Learning - Assignment"></asp:ListItem>
                                                        <asp:ListItem Value="5" Text="Online Learning - Assignment Submit"></asp:ListItem>
                                                        <asp:ListItem Value="6" Text="Online Learning - Resource"></asp:ListItem>
                                                        <asp:ListItem Value="7" Text="Upload Result"></asp:ListItem>
                                                        <asp:ListItem Value="8" Text="Query"></asp:ListItem>
                                                        <asp:ListItem Value="9" Text="Gallery"></asp:ListItem>
                                                        <asp:ListItem Value="10" Text="Student Documents (Communication)"></asp:ListItem>
                                                        <asp:ListItem Value="11" Text="Classwork/Homework Submitted"></asp:ListItem>
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-2"></div>
                                            <div class="outerBox pTop5 col-md-4">
                                                <asp:Button ID="DeleteOldBatchContentDataButton" runat="server" meta:resourcekey="DeleteRouteButtonResource1" OnClientClick="return confirm('Are you sure you want to delete?');"
                                                    SkinID="0" OnClick="DeleteOldBatchContentDataButton_Click" Text="&#xf2ed; Delete Content" CssClass="btn-delete btn fas" />
                                                <asp:Button ID="DownloadOldBatchContentDataButton" runat="server" meta:resourcekey="DownloadButtonResource1" Visible="false"
                                                    SkinID="0" OnClick="DownloadOldBatchContentDataButton_Click" Text="&#xf019; Download Content" CssClass="btn btn-download fas" OnClientClick="__doPostBack('', 'PostBackMaster');" />
                                            </div>
                                            <div id="DeleteDownloadContentGridViewDiv" runat="server" visible="true" class="col-md-12">
                                                <asp:GridView ID="DeleteDownloadContentGridView" runat="server" AutoGenerateColumns="False"
                                                    EmptyDataText="No Records Found !!" ShowHeader="true" DataKeyNames="Id,FromDate"
                                                    CssClass="table table-striped table-bordered table-hover" Width="100%">
                                                    <Columns>
                                                        <asp:TemplateField ItemStyle-Wrap="true" ItemStyle-Width="5%">
                                                            <HeaderTemplate>
                                                                <label class="rt-chkbox rt-chkbox-outline">
                                                                    <asp:CheckBox ID="HeaderDataCheckBox" runat="server" onClick="checkAllRows(this);" />
                                                                    <span></span>
                                                                </label>
                                                            </HeaderTemplate>
                                                            <ItemStyle HorizontalAlign="Center" />
                                                            <ItemTemplate>
                                                                <label class="rt-chkbox rt-chkbox-outline">
                                                                    <asp:CheckBox ID="DataCheckBox" runat="server" onClick="checkUncheckHeaderCheckBox(this);" />
                                                                    <span></span>
                                                                </label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:BoundField DataField="Title" HeaderText="Title" ItemStyle-Width="30%"
                                                            HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                        <asp:BoundField DataField="Details" HeaderText="Created Date" ItemStyle-Width="30%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                        <asp:BoundField DataField="FromDate" HeaderText="Created Date" ItemStyle-Width="30%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                    </Columns>
                                                </asp:GridView>

                                            </div>
                                        </div>
                                        <div class="cBoth">
                                        </div>

                                        <br />
                                        <br />

                                    </div>
                                </div>
                            </div>

                            <div id="CloudContentSizeDiv" class="himssuHeader1WireBox" runat="server" visible="false">
                                <div class="himsBoxHeader card-head inner">
                                    <div class="leftdiv">
                                    </div>
                                    <div class="himsBoxTitle">
                                        <div class="headerText">
                                            <header>

                                                <asp:Label ID="Label9" runat="server" Text="Total Content Data"></asp:Label>
                                            </header>
                                        </div>
                                    </div>
                                </div>
                                <div class="himsBoxContent width-100">
                                    <div class="contentHolder">
                                        <div class="outerBox pTop5 col-md-2">
                                            <asp:Button ID="CloudContentSizeButton" runat="server" Text="Get Cloud Content Size"
                                                SkinID="0" CssClass="btn fas" OnClick="CloudContentSizeButton_Click" />
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="TotalContentSizeLength" runat="server"></asp:Label>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="himssuHeader1WireBox" runat="server">
                                <div class="himsBoxHeader card-head inner">
                                    <div class="leftdiv">
                                    </div>
                                    <div class="himsBoxTitle">
                                        <div class="headerText">
                                            <header>
                                                <asp:Label ID="Label10" runat="server" Text="Upload to Azure"></asp:Label>
                                            </header>
                                        </div>
                                    </div>
                                </div>
                                <div class="himsBoxContent width-100">
                                    <div class="contentHolder">
                                        <div class="alignCenter col-md-12 pt-3 ">
                                            <asp:Button ID="UploadStudentAdmissionDocumentButton" runat="server" SkinID="0"
                                                CssClass="btn-update btn fas" Text="&#xf021; Upload Student Admission document" OnClick="UploadStudentAdmissionDocumentButton_Click" />
                                            <asp:Button ID="UploadStudentDocumentButton" runat="server" SkinID="0"
                                                CssClass="btn-update btn fas" Text="&#xf021; Upload Student document" OnClick="UploadStudentDocumentButton_Click" />
                                            <asp:Button ID="UploadEmployeePaySlipButton" runat="server" SkinID="0"
                                                CssClass="btn-update btn fas" Text="&#xf021; Upload Employee PaySlip" OnClick="UploadEmployeePaySlipButton_Click" />
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="himssuHeader1WireBox" runat="server">
                                <div class="himsBoxHeader card-head inner">
                                    <div class="leftdiv">
                                    </div>
                                    <div class="himsBoxTitle">
                                        <div class="headerText">
                                            <header>
                                                <asp:Label ID="Label11" runat="server" Text="Online Learning History"></asp:Label>
                                            </header>
                                        </div>
                                    </div>
                                </div>
                                <div class="himsBoxContent width-100">
                                    <div class="contentHolder">
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchFromDateLabel" runat="server" Text="Created From Date" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <Date:DatePickerControl DisplayDatePicker="true" ID="SearchFromDatePicker" runat="server" />
                                            </div>
                                        </div>

                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchToDateLabel" runat="server" Text="Created To Date" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <Date:DatePickerControl DisplayDatePicker="true" ID="SearchToDatePicker" runat="server" />
                                            </div>
                                        </div>
                                        <div class="alignCenter col-md-12 pt-3 ">
                                            <asp:Button ID="SearchButton" runat="Server" OnClick="SearchButton_Click1"
                                                SkinID="0" CssClass="btn-search btn fas" Text="&#xf002; Search Log" />
                                            <asp:Button ID="OnlineLearningHistoryAddButton" runat="server" SkinID="0" OnClick="OnlineLearningHistoryAddButton_Click"
                                                CssClass="btn-update btn fas" Text="Online Learning History Add" />
                                            <asp:Button ID="OnlineLearningHistoryRevertButton" runat="server" SkinID="0" OnClick="OnlineLearningHistoryRevertButton_Click"
                                                CssClass="btn-update btn fas" Text="Online Learning History Revert" />
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>

    <cc1:ModalPopupExtender ID="OnlineLearningHistoryPopupExtender" runat="server" TargetControlID="HidenButton1" PopupControlID="Panel29" BackgroundCssClass="modalBackground"
        Drag="True" PopupDragHandleControlID="Panel28" Enabled="True" />
    <asp:LinkButton runat="server" ID="HidenButton1" meta:resourcekey="HidenButtonResource1" />
    <asp:Panel ID="Panel29" runat="server" CssClass="dragControl" Width="700px" DefaultButton="HidenButton1" meta:resourcekey="ModalPopUpPanelResource1">
        <div class="messagebox card card-box">
            <asp:Panel ID="dragPanel" runat="server" CssClass="dragMePanel" Width="100%" meta:resourcekey="dragPanelResource1">
                <div id="dragMe1" class="dragMe card-head" style="cursor: move">
                    <div class="himsPopupWireBox">
                        <div class="himsBoxTopper headerFont">
                            <div class="himsBoxTopper text-center headerFont card-head">
                                <div class="headerText">
                                    <asp:UpdatePanel ID="UpdatePanel3" runat="server" RenderMode="Inline">
                                        <ContentTemplate>
                                            <header>
                                                <asp:Label ID="DialogHeaderLabel" runat="server" meta:resourcekey="DialogHeaderLabelResource1" Text="Online Learning History Log"></asp:Label>
                                            </header>
                                            <span class="pull-right">
                                                <asp:ImageButton ID="ImageButtonClose" runat="server" Height="20PX" Width="20PX" ImageUrl="~/Images/closebox.png" OnClick="ImageButtonClose_Click" />
                                            </span>
                                        </ContentTemplate>
                                    </asp:UpdatePanel>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </asp:Panel>
            <asp:UpdatePanel ID="CircularViewUpdatePanel" runat="server"
                RenderMode="Inline">
                <ContentTemplate>

                    <div id="bodyContainer" class="card-body">
                        <div class="himsPopupWireBox">

                            <div class="himsBoxContentmain" style="overflow: hidden">
                                <div id="divContentPage1">
                                    <div class="spacer">
                                        <asp:Image ID="Image2" runat="server" ImageUrl="~/Images/spacer.gif"
                                            meta:resourcekey="Image1Resource1" />
                                    </div>
                                    <div>
                                        <div class="himssuHeader5WireBox">
                                            <div class="himsBoxHeader">
                                                <div class="himsBoxHeader card-head">
                                                    <asp:Panel ID="OnlineLearningHistoryLogHeaderPanel" runat="server" meta:resourcekey="OnlineLearningHistoryLogPanelResource1">
                                                        <div class="leftdiv">
                                                        </div>
                                                        <div class="himsBoxTitle">
                                                            <div class="headerText">
                                                                <header>
                                                                    <asp:Label ID="OnlineLearningHistoryLogLabel" runat="server" Text="Online Learning History Log"></asp:Label>
                                                                </header>
                                                            </div>
                                                        </div>
                                                    </asp:Panel>
                                                </div>
                                            </div>
                                            <div class="himsBoxContent col-md-12">
                                                <asp:Panel ID="Panel4" runat="server" meta:resourcekey="DetailPanelResource1">
                                                    <div class="contentHolder table-responsive">
                                                        <asp:Panel ID="Panel5" runat="server" meta:resourcekey="SearchCriteriaPanelResource1">
                                                            <div class="contentHolder">
                                                                <asp:UpdatePanel ID="CircularDetailUpdatePanel" runat="server" UpdateMode="Always">
                                                                    <ContentTemplate>
                                                                        <div id="Div13" runat="server" visible="True">
                                                                            <div id="Div14" runat="server" class="table-responsive">
                                                                                <div class="col-md-12">
                                                                                    <asp:GridView ID="OnlineLearningHistoryGridView" runat="server" AutoGenerateColumns="False"
                                                                                        EmptyDataText="No Records Found !!" ShowHeader="true"
                                                                                        CssClass="table table-striped table-bordered table-hover" Width="100%">
                                                                                        <Columns>
                                                                                            <asp:BoundField DataField="FromDate" HeaderText="From Date" ItemStyle-Width="20%" HeaderStyle-HorizontalAlign="Left" DataFormatString="{0:dd/MM/yyyy}"></asp:BoundField>
                                                                                            <asp:BoundField DataField="ToDate" HeaderText="To Date" ItemStyle-Width="20%" HeaderStyle-HorizontalAlign="Left" DataFormatString="{0:dd/MM/yyyy}"></asp:BoundField>
                                                                                            <asp:BoundField DataField="Status" HeaderText="Status" ItemStyle-Width="60%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                                        </Columns>
                                                                                    </asp:GridView>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                    </ContentTemplate>
                                                                </asp:UpdatePanel>
                                                            </div>
                                                        </asp:Panel>
                                                    </div>
                                                </asp:Panel>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="himsmainBoxBottom">
                            </div>
                            <div class="himsmainBoxFooter">
                                <div>
                                    <table>
                                        <tr>
                                            <td>&nbsp
                                            </td>
                                        </tr>

                                    </table>
                                </div>
                            </div>
                        </div>
                    </div>
                    <asp:UpdateProgress ID="MainUpdateProgress" runat="server" DisplayAfter="200">
                        <ProgressTemplate>
                            <div style="position: absolute; top: 50%; left: 45%; font-size: 20px">
                                <asp:Image ID="LoadingImage4" runat="server" ImageUrl="~/Images/Loading.gif"
                                    meta:resourcekey="Image3Resource1" />
                            </div>
                        </ProgressTemplate>
                    </asp:UpdateProgress>
                </ContentTemplate>
            </asp:UpdatePanel>
        </div>
    </asp:Panel>
    <%-- <script data-main="../../JavaScript/rjs/encrypt/assign-organization-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/assign-organization")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>

    <script type="text/javascript">

        function checkAllRows(obj) {
            var objGridview = obj.closest('table');
            var list = objGridview.getElementsByTagName("input");
            for (var i = 0; i < list.length; i++) {
                var objRow = list[i].parentNode.parentNode;
                if (list[i].type == "checkbox" && obj != list[i]) {
                    if (obj.checked) {
                        list[i].checked = true;
                    }
                    else {
                        list[i].checked = false;
                    }
                }
            }
        }
        function checkUncheckHeaderCheckBox(obj) {
            var objGridView = obj.closest('table');
            var list = objGridView.getElementsByTagName("input");
            for (var i = 0; i < list.length; i++) {
                var objHeaderChkBox = list[0];
                var checked = true;
                if (list[i].type == "checkbox" && list[i] != objHeaderChkBox) {
                    if (!list[i].checked) {
                        checked = false;
                        break;
                    }
                }
            }
            objHeaderChkBox.checked = checked;
        }

    </script>
</asp:Content>
