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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager"
    TagPrefix="uc1" %>
<%@ 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="FeeAdminUpdatePanel" runat="server" UpdateMode="Always">
        <ContentTemplate>
            <div id="divContentPage" class="divcontentpagemargin">

                <div class="dashBoardLeftCont">
                    <div class="himssuHeader3WireBox">
                        <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 class="row whiteboxpaddingleft">
                        <div class="himssuHeader2WireBox">
                            <div class="contentHolder" style="padding-top: 0px; padding-left: 0px; padding-right: 0px">
                                <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-unlock-alt"></i>
                                                    <asp:Label ID="Label2" runat="server" Text="Admission Admin"></asp:Label>
                                                </header>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="himssuHeader1WireBox card card-box">

                                    <div class="col-md-12 pTop5">
                                        <div class="alert alert-info col-md-12">
                                            <%-- <asp:Label ID="NoteLabel1" runat="server" Text="Only Admin can perform the actions on this page"
                                Font-Size="X-Small"></asp:Label><br />
                            <asp:Label ID="NoteLabel2" runat="server" Text="Make sure you are aware of functionality, Changes are irrversible"
                                Font-Size="X-Small"></asp:Label><br />--%>
                                            <div><i class="material-icons pos-rel">info</i> | &nbsp;<asp:Label ID="NoteLabel1" runat="server" Text=" Only Admin can perform the actions on this page"></asp:Label></div>
                                            <div>
                                                <i class="material-icons pos-rel">info</i> |&nbsp;
                                                        <asp:Label ID="NoteLabel2" runat="server" Text=" Make sure you are aware of functionality, Changes are irrversible"></asp:Label>
                                            </div>
                                        </div>
                                    </div>



                                    <div class="himsBoxContent card-body">
                                        <asp:Panel ID="Importfeesetupheader" runat="server">
                                            <div class="himsBoxHeader card-head inner">
                                                <div class="leftdiv">
                                                </div>
                                                <div class="himsBoxTitle">
                                                    <div class="headerText">
                                                        <header>
                                                            <asp:Label ID="Label4" runat="server" Text="Import Admission Setup From Old Batch"></asp:Label>
                                                        </header>
                                                    </div>
                                                </div>
                                            </div>
                                        </asp:Panel>
                                        <asp:Panel ID="Importfeesetupcontent" runat="server">
                                            <div class="himsBoxContent">
                                                <div class="contentHolder">
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="FromBatchForAdmissionLabel" runat="server" Text="To Batch" SkinID="MandatoryLabel"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:DropDownList runat="server" ID="ToBatchForAdmissionDropDownList" SkinID="CustomWidthDropDownList"
                                                                CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                AutoPostBack="true" OnSelectedIndexChanged="ToBatchForAdmissionDropDownList_SelectedIndexChanged">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="ImportClassLabel" runat="server" Text="Class"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:DropDownList runat="server" ID="ImportClassDropDownList" SkinID="CustomWidthDropDownList"
                                                                onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                    <div class="cBoth pTop5">
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="fLeft pRight5">
                                                            <asp:Button ID="ImportAdmissionButton" runat="server" Text="&#xf093; Import" SkinID="0"
                                                                CssClass="btn-examcommon btn fas" OnClick="ImportAdmissionButton_Click" />
                                                        </div>
                                                    </div>
                                                    <div class="himsBoxHeader card-head inner">
                                                        <div class="leftdiv">
                                                        </div>
                                                        <div class="himsBoxTitle">
                                                            <div class="headerText">
                                                                <header>
                                                                    <asp:Label ID="Label1" runat="server" Text="Admission Admin"></asp:Label>
                                                                </header>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="alignCenter col-md-12 pTop5">
                                                        <asp:Button ID="AdmissionDataUpdateButton" runat="Server" Text="Update Admission Data to UpperCase" CssClass="btn-reset btn fas mx-1" SkinID="0" OnClick="AdmissionDataUpdateButton_Click" />
                                                        <asp:Button ID="AdmissionDataUpdateToProperCaseButton" runat="Server" Text="Update Admission Data to Proper Case" CssClass="btn-reset btn fas mx-1" SkinID="0" OnClick="AdmissionDataUpdateToProperCaseButton_Click" />
                                                    </div>

                                                </div>
                                            </div>
                                        </asp:Panel>
                                    </div>
                                </div>
                            </div>

                        </div>

                        <%--<div class="himsBoxContent card-body">
                            <asp:Panel ID="Panel1" runat="Server">
                                <div class="contentHolder">
                                    <asp:Panel ID="Panel2" runat="Server">

                                        

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


                                        <%--<div id="divContentPage1" class="divcontentpagemargin">--%>
                        <%-- <div class="dashBoardLeftCont">
                                                        <%--<div class="himssuHeader3WireBox">
                                                            <table>
                                                                <tr>
                                                                    <td>
                                                                        <div class="leftUlMenu">
                                                                            <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl1" ScreenGroupId="102"
                                                                                Visible="true" runat="server" />
                                                                        </div>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </div>--%>
                        <%--</div>--%>
                        <%--  <div class="row whiteboxpaddingleft">--%>
                        <%--</asp:Panel>--%>
                        <%--</div>
                            </asp:Panel>--%>
                        <%--</div>
                    </div>--%>
        </ContentTemplate>
    </asp:UpdatePanel>

    <%--   <script data-main="../../JavaScript/rjs/encrypt/fee-admin-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/fee-admin")%>' 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 objRow = obj.parentNode.parentNode;
            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>
