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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager" TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/Common/CommonSearch/CommonSearch.ascx" TagName="CommonSearchUserControl" TagPrefix="Common" %>
<%@ 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="HREmployeeMasterSearchUpdatePanel" runat="server">
        <ContentTemplate>
            <Common:CommonSearchUserControl ID="CommonSearchControl" runat="server" Visible="false" />
            <div id="divContentPage" class="divcontentpagemargin">
                <div class="dashBoardLeftCont" valign="top">
                    <div class="himssuHeader3WireBox">
                        <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="whiteboxpaddingleft row">
                    <div class="himssuHeader5WireBox card card-box">
                        <div class="himsBoxHeader card-head">
                            <asp:Panel ID="SearchHeaderPanel" runat="server" meta:resourcekey="SearchHeaderPanelResource1">
                                <div class="leftdiv">
                                </div>
                                <div class="himsBoxTitle">
                                    <div class="headerText">
                                        <header>
                                            <i class="fas fa-search"></i>
                                            <asp:Label ID="SearchHeaderLabel" runat="server" Text="Search"></asp:Label>
                                        </header>
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                        <asp:Panel ID="SearchDetailPanel" runat="server" meta:resourcekey="SearchDetailPanelResource1">
                            <div class="himsBoxContent card-body">
                                <div class="contentHolder">
                                    <div class="tableContainer">
                                        <div class="navgraybackground">
                                            <ul class="nav nav-tabs">
                                                <li id="ChangeStudentBatchList" runat="server"><a href="#tab_1">
                                                    <asp:Button Text="Change Student Batch" ID="ChangeStudentBatchListButton" CssClass="fas transparenttab" SkinID="0"
                                                        runat="server" AutoPostBack="True" OnClick="ChangeStudentBatchListButton_Click" />
                                                </a></li>
                                                <li id="StudentBatchImportList" runat="server"><a>
                                                    <asp:Button Text="Student Batch Import" ID="StudentBatchImportListButton" CssClass="fas transparenttab" SkinID="0"
                                                        runat="server" AutoPostBack="True" OnClick="StudentBatchImportListButton_Click" />
                                                </a></li>
                                            </ul>
                                        </div>
                                        <div class="contentHolder" id="ChangeStudentBatchDiv" runat="server">
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="fLeft pRight5">
                                                    <%--  <asp:CheckBox ID="IsNewAdmissionCheckBox" runat="server" AutoPostBack="true" OnCheckedChanged="IsNewAdmissionCheckBox_OnCheckedChanged" />
                                                        <asp:Label ID="IsNewAdmissionLabel" runat="server" Text="New Admission"></asp:Label>--%>

                                                    <asp:CheckBox ID="IsNewAdmissionCheckBox" runat="server" Text="New Admission" AutoPostBack="true" OnCheckedChanged="IsNewAdmissionCheckBox_OnCheckedChanged" />
                                                    <asp:Label runat="server" AssociatedControlID="IsNewAdmissionCheckBox" ID="IsNewAdmissionLabel">
                                                    </asp:Label>
                                                </div>
                                            </div>
                                            <div id="AdmissionDateDiv" runat="server" class="outerBox11 pb15 col-md-3" visible="false">
                                                <div class="outerBox11 pTop5">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="AdmissionDateLabel" SkinID="MandatoryLabel" runat="server"
                                                            Text="Admission Date" meta:resourcekey="AdmissionDateLabelResource1"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <DPC:DatePickerControl ID="AdmissionDateDatePickerControl" runat="server"
                                                            DisplayDatePicker="true" />
                                                    </div>
                                                    <div class="outerBox11 pTop15">

                                                        <%-- <asp:CheckBox ID="IsIncludeLeftCheckBox" runat="server" AutoPostBack="true" OnCheckedChanged="IsIncludeLeftCheckBox_OnCheckedChanged" />
                                                                <asp:Label ID="Label1" runat="server" Text="Include Left Student"></asp:Label>--%>
                                                        <asp:CheckBox ID="IsIncludeLeftCheckBox" runat="server" Text="Include Left Student" AutoPostBack="true" OnCheckedChanged="IsIncludeLeftCheckBox_OnCheckedChanged" />
                                                        <asp:Label runat="server" AssociatedControlID="IsIncludeLeftCheckBox" ID="Label1">
                                                        </asp:Label>

                                                    </div>
                                                    <div class="outerBox11 pTop15">
                                                        <asp:CheckBox ID="IsStudentOldCodeWithOrgIdCheckBox" runat="server" Text="Student Old Code With OrgId" />
                                                        <asp:Label runat="server" AssociatedControlID="IsStudentOldCodeWithOrgIdCheckBox" ID="StudentOldCodeWithOrgIdLabel" />
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <asp:CheckBox ID="IsIncludeExportedCheckBox" runat="server" Text="Include Exported Student" AutoPostBack="true" OnCheckedChanged="IsIncludeExportedCheckBox_CheckedChanged" />
                                                <asp:Label runat="server" AssociatedControlID="IsIncludeExportedCheckBox" ID="IsIncludeExportedLabel">
                                                </asp:Label>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3" id="ImportRollNoCheckBoxDiv" runat="server">
                                                <asp:CheckBox ID="IsImportRollNoCheckBox" runat="server" Text="Import Roll No" AutoPostBack="true" />
                                                <asp:Label runat="server" AssociatedControlID="IsImportRollNoCheckBox" ID="IsImportRollNoLabel"></asp:Label>
                                            </div>
                                            <div class="cBoth">
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="FromClassLabel" runat="server" Text="From Class" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList runat="server" ID="FromClassDropDownList" SkinID="CustomWidthDropDownList"
                                                        CssClass="form-control" onmouseleave="showHideTooltip()" AutoPostBack="true" onmouseenter="showHideTooltip()"
                                                        OnSelectedIndexChanged="FromClassDropDownList_SelectedIndexChanged">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="FromDivisionLabel" runat="server" Text="From Division" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList runat="server" ID="FromDivisionDropDownList" SkinID="CustomWidthDropDownList"
                                                        CssClass="form-control" onmouseleave="showHideTooltip()" AutoPostBack="true" onmouseenter="showHideTooltip()"
                                                        OnSelectedIndexChanged="FromDivisionDropDownList_OnSelectedIndexChanged">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="ExamLabel" runat="server" Text="Exam" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList runat="server" ID="ExamDropDownList" SkinID="CustomWidthDropDownList"
                                                        CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" AutoPostBack="true" OnSelectedIndexChanged="ExamDropDownList_OnSelectedIndexChanged">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>

                                            <div runat="server" id="OrganizationDiv" visible="false">
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="ToOrganizationLabel" runat="server" Text="To Organization" SkinID="MandatoryLabel"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList runat="server" ID="ToOrganizationDropDownList" SkinID="CustomWidthDropDownList"
                                                            CssClass="form-control" onmouseleave="showHideTooltip()" AutoPostBack="true"
                                                            OnSelectedIndexChanged="ToOrganizationDropDownList_OnSelectedIndexChanged" onmouseenter="showHideTooltip()">
                                                        </asp:DropDownList>
                                                    </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()" AutoPostBack="true"
                                                        OnSelectedIndexChanged="ToBatchDropDownList_OnSelectedIndexChanged" onmouseenter="showHideTooltip()">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                            <div class="cBoth">
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="ToClassLabel" runat="server" Text="To Class" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList runat="server" ID="ToClassDropDownList" SkinID="CustomWidthDropDownList"
                                                        CssClass="form-control" onmouseleave="showHideTooltip()" AutoPostBack="true" onmouseenter="showHideTooltip()"
                                                        OnSelectedIndexChanged="ToClassDropDownList_SelectedIndexChanged">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="ToDivisionLabel" runat="server" Text="To Division" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList runat="server" ID="ToDivisionDropDownList" SkinID="CustomWidthDropDownList"
                                                        CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="StatusLabel" runat="server" Text="Status"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList runat="server" ID="StatusDropDownList" SkinID="CustomWidthDropDownList"
                                                        CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                           <%-- Mantis Id : 0044572--%>
                                            <div id="IsPendingFeeDiv" runat="server" >
                                                <div class="outerBox11 pTop5 col-md-3 ">
                                                    <div class="controlLabelWidth">
                                                        <asp:CheckBox ID="IsPendingFeeCheckBox" runat="server" Text="Is Display Pending Fee" AutoPostBack="true" OnCheckedChanged="IsPendingFeeCheckBox_CheckedChanged"/>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="cBoth">
                                            </div>
                                            <div class="alignCenter pTop5">
                                                <asp:Button ID="ImportButton" runat="server" SkinID="0" OnClick="ImportButton_Click" Text="&#xf093; Export To New Batch" CssClass="btn btn-examcommon fas" />
                                                <asp:Button ID="ClearButton" runat="server" Text="&#xf0e2; Reset" CssClass="btn-reset btn fas" SkinID="0" OnClick="ClearSearchControls_Click" />
                                                <%--Added for mantis : 33480 by Nilesh--%>
                                                <asp:Button ID="ExportButton" runat="server" SkinID="0" OnClick="ExportButton_Click" Text="&#xf093; Export" CssClass="btn btn-examcommon fas" />

                                            </div>
                                            <div class="cBoth">
                                            </div>
                                            <br />
                                            <div id="StudentMasterGridDiv" runat="server" visible="false">

                                                <div class="himssuHeader7WireBox col-md-12">
                                                    <div class="himsBoxHeader card-head inner" id="StudentDiv" visible="false" runat="server">
                                                        <div class="leftdiv">
                                                        </div>
                                                        <div class="himsBoxTitle" style="width: 99%">
                                                            <div class="headerText">
                                                                <%--<div class="">
                                                            <header>
                                                                <asp:Label ID="GridViewLabel" Text="List" runat="server" Font-Bold="true" />
                                                            </header>
                                                        </div>--%>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="himsBoxContent">
                                                        <asp:UpdatePanel ID="MenuPlanDetailUpdatePanel" runat="server" UpdateMode="Always">
                                                            <ContentTemplate>
                                                                <div id="Div5" runat="server" visible="false">
                                                                    <div id="Div4" runat="server" class="table-responsive">
                                                                        <asp:GridView ID="StudentImportGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                            CssClass="table table-striped table-bordered table-hover" OnRowDataBound="StudentImportGridView_RowDataBound"
                                                                            AllowPaging="false" PageSize="10" SkinID="" ShowHeader="True"
                                                                            DataKeyNames="StudentId,Code,SUId,ExemptionTypeId,FeeStructureId,AdmissionCategoryId,RollNo">
                                                                            <Columns>
                                                                                <asp:TemplateField HeaderStyle-HorizontalAlign="Center" HeaderText="Active/InActive" ItemStyle-Width="5%">
                                                                                    <HeaderTemplate>
                                                                                        <label class="rt-chkbox rt-chkbox-outline">
                                                                                            <asp:CheckBox ID="ActiveOrInactiveCheckBox" runat="server"
                                                                                                AutoPostBack="true" OnCheckedChanged="ActiveOrInactiveCheckBox_OnCheckedChanged" />
                                                                                            <span></span>
                                                                                        </label>
                                                                                    </HeaderTemplate>
                                                                                    <ItemStyle HorizontalAlign="Center" />
                                                                                    <ItemTemplate>
                                                                                        <label class="rt-chkbox rt-chkbox-outline">
                                                                                            <asp:CheckBox ID="StatusActiveOrInactiveCheckBox" runat="server" />
                                                                                            <span></span>
                                                                                        </label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <%--Changed for mantis : 33480 by Nilesh--%>
                                                                                <%--<asp:BoundField DataField="Code" HeaderText="ID No" ItemStyle-Width="70px" HeaderStyle-HorizontalAlign="Left" />--%>
                                                                                <asp:TemplateField HeaderText="ID No" ItemStyle-Width="100px" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="CodeLabel" CssClass="boxEllips" ToolTip='<%# Bind("Code") %>' runat="server"
                                                                                            Text='<%# Bind("Code") %>' Width="90px"></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                  <%--Changes for mantis : 0041176 : SUID Column Added : By Krunal K Patel  --%>
                                                                                <asp:TemplateField HeaderText="SU Id" ItemStyle-Width="100px" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="SUIdLabel" CssClass="boxEllips" ToolTip='<%# Bind("SUId") %>' runat="server"
                                                                                            Text='<%# Bind("SUId") %>' Width="90px"></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <%--<asp:BoundField DataField="RollNo" HeaderText="Roll No" ItemStyle-Width="70px" HeaderStyle-HorizontalAlign="Left" />--%>
                                                                                <asp:TemplateField HeaderText="Roll No" ItemStyle-Width="60px" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="RollNoLabel" CssClass="boxEllips" ToolTip='<%# Bind("RollNo") %>' runat="server"
                                                                                            Text='<%# Bind("RollNo") %>' Width="55px"></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="Name" ItemStyle-Width="190px" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="NameLabel" CssClass="boxEllips" ToolTip='<%# Bind("Name") %>' runat="server"
                                                                                            Text='<%# Bind("Name") %>' Width="185px"></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <%--<asp:BoundField DataField="ClassName" HeaderText="Class" ItemStyle-Width="70px" HeaderStyle-HorizontalAlign="Left" />--%>
                                                                                <asp:TemplateField HeaderText="Class" ItemStyle-Width="150px" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="ClassNameLabel" CssClass="boxEllips" ToolTip='<%# Bind("ClassName") %>' runat="server"
                                                                                            Text='<%# Bind("ClassName") %>' Width="110px"></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <%--<asp:BoundField DataField="DivisionName" HeaderText="Division" ItemStyle-Width="70px" HeaderStyle-HorizontalAlign="Left" />--%>
                                                                                <asp:TemplateField HeaderText="Division" ItemStyle-Width="150px" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="DivisionNameLabel" CssClass="boxEllips" ToolTip='<%# Bind("DivisionName") %>' runat="server"
                                                                                            Text='<%# Bind("DivisionName") %>' Width="110px"></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderStyle-HorizontalAlign="Center" HeaderText="Pending Fee" ItemStyle-Width="10%" Visible="false">
                                                                                    <ItemStyle HorizontalAlign="Right" />
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="PendingAmountLabel" runat="server" Text='<%#Eval("PendingAmount") %>'></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderStyle-HorizontalAlign="Center" HeaderText="Percentage" ItemStyle-Width="10%">
                                                                                    <ItemStyle HorizontalAlign="Center" />
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="PercentageLabel" runat="server" Text='<%#Eval("Percentage") %>'></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderStyle-HorizontalAlign="Center" HeaderText="Result Status" ItemStyle-Width="10%">
                                                                                    <ItemStyle HorizontalAlign="Center" />
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="ResultStatusLabel" runat="server" Text='<%#Eval("ResultStatus") %>'></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>

                                                                                <asp:TemplateField HeaderStyle-HorizontalAlign="Center" HeaderText="Left" ItemStyle-Width="10%">
                                                                                    <ItemStyle HorizontalAlign="Center" />
                                                                                    <ItemTemplate>
                                                                                        <label class="rt-chkbox rt-chkbox-outline">
                                                                                            <asp:CheckBox ID="StatusLeftCheckBox" runat="server" Enabled="false"
                                                                                                Checked='<%# DataBinder.Eval(Container.DataItem,"StatusId").ToString()=="3"?true:false %>' />
                                                                                            <span></span>
                                                                                        </label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="Export Status" ItemStyle-Width="70px" HeaderStyle-HorizontalAlign="Center"
                                                                                    ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true" Visible="false">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="ExportStatusLabel" runat="server" Font-Bold="true"> </asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="LC Status" ItemStyle-Width="70px" HeaderStyle-HorizontalAlign="Center"
                                                                                    ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true" Visible="false">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="LCStatusLabel" runat="server" Font-Bold="true" Text='<%#Eval("LCStatus") %>'> </asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                            </Columns>
                                                                        </asp:GridView>
                                                                    </div>
                                                                </div>
                                                            </ContentTemplate>
                                                        </asp:UpdatePanel>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="contentHolder" id="ImportStudentBatchDiv" runat="server" visible="false">
                                            <asp:Panel ID="DetailPanel" runat="server">
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:HyperLink ID="HyperLink1" runat="server" Text=" Download Template" CssClass="pointer fas"
                                                            NavigateUrl="~/ContentTemplates/Import/ChangeStudentBatchImport.xls"></asp:HyperLink>
                                                    </div>
                                                </div>
                                                <div class="cBoth"></div>
                                                <asp:Label ID="UploadLabel" runat="server" Text="" Style="padding-left: 15px; font-size: medium;" ClientIDMode="Static"></asp:Label>
                                                <div class="cBoth"></div>
                                                <div class="alignCenter pTop5">
                                                    <a href="javascript:;" onclick="OpenFileUpload();" class="btn btn-browser">
                                                        <i class="fa fa-arrow-down"></i>Browse</a>
                                                    <asp:FileUpload ID="flUpload" runat="server" onChange="readURL(this);" ClientIDMode="Static" Style="display: none;" />
                                                    <asp:Button ID="ValidateButton" runat="server" Text="&#xf00c; Validate" SkinID="0" CssClass="btn btn-validate fas" OnClick="ValidateButton_Click" />
                                                    <asp:Button ID="ImportFromExcelButton" runat="server" Text="&#xf019; Import From Excel" SkinID="0"
                                                        CssClass="btn btn-examcommon fas" OnClick="ImportFromExcelButton_Click" />
                                                </div>

                                                <div class="himsBoxContent" id="DetailDiv" runat="server" visible="false">
                                                    <asp:UpdatePanel ID="MenuPlanDetailUpdatePanel1" runat="server" UpdateMode="Always">
                                                        <ContentTemplate>
                                                            <div class="himssuHeader7WireBox col-md-12 pTop10">
                                                                <div id="DetailDiv1" runat="server" class="table-responsive">
                                                                    <asp:GridView ID="StudentImportDetailGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                        CssClass="table table-striped table-bordered table-hover" AllowPaging="false" SkinID="" ShowHeader="True"
                                                                        DataKeyNames="StudentId,Code,ExemptionTypeId,FeeStructureId,AdmissionCategoryId,RollNo,ToBatchId,ToClassId,ToDivisionId">
                                                                        <Columns>
                                                                            <asp:TemplateField HeaderText="ID No" ItemStyle-Width="10%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:Label ID="CodeLabel" CssClass="boxEllips" ToolTip='<%# Bind("Code") %>' runat="server"
                                                                                        Text='<%# Bind("Code") %>' Width="185px"></asp:Label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Roll No" ItemStyle-Width="7%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:Label ID="RollNoLabel" CssClass="boxEllips" ToolTip='<%# Bind("RollNo") %>' runat="server"
                                                                                        Text='<%# Bind("RollNo") %>' Width="185px"></asp:Label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="From Class" ItemStyle-Width="15%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:Label ID="ClassNameLabel" CssClass="boxEllips" ToolTip='<%# Bind("FromClass") %>' runat="server"
                                                                                        Text='<%# Bind("FromClass") %>' Width="185px"></asp:Label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="From Division" ItemStyle-Width="15%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:Label ID="DivisionNameLabel" CssClass="boxEllips" ToolTip='<%# Bind("FromDivision") %>' runat="server"
                                                                                        Text='<%# Bind("FromDivision") %>' Width="185px"></asp:Label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="To Class" ItemStyle-Width="15%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:Label ID="ToClassNameLabel" CssClass="boxEllips" ToolTip='<%# Bind("ToClass") %>' runat="server"
                                                                                        Text='<%# Bind("ToClass") %>' Width="185px"></asp:Label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="To Division" ItemStyle-Width="15%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:Label ID="ToDivisionNameLabel" CssClass="boxEllips" ToolTip='<%# Bind("ToDivision") %>' runat="server"
                                                                                        Text='<%# Bind("ToDivision") %>' Width="185px"></asp:Label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="ValidationMessage" ItemStyle-Width="30%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:Label ID="ValidationMsgLabel" CssClass="boxEllips" ToolTip='<%# Bind("ValidationMsg") %>' runat="server"
                                                                                        Text='<%# Bind("ValidationMsg") %>' Width="185px"></asp:Label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                        </Columns>
                                                                    </asp:GridView>
                                                                </div>
                                                            </div>
                                                        </ContentTemplate>
                                                    </asp:UpdatePanel>
                                                </div>
                                            </asp:Panel>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </asp:Panel>
                    </div>
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--<script data-main="../../JavaScript/rjs/pagejs/student-import" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/student-import")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
