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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager"
    TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/MessageBox/MessageBoxControl.ascx" TagName="MessageBoxControl"
    TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl"
    TagPrefix="ScreenGroup" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <%--<link href="../../../App_Themes/responsiv-popup.css" rel="stylesheet" />
    <div id="dvTestLoadingmsg" class="hls-wrap">
        <div class="hls-container">
            <div class="hls-content">
                <div class="dsh-syndicate white-popup" style="display: inline-block; width: 119%; height: 150px">
                    <div class="shippingcard" style="text-align: center; vertical-align: middle; width: 100%;">
                        <span id="spn1msg">Loading Details</span><br>
                        <span style="line-height: 2;" id="spn2msg"><b>Please Wait ...</b></span><br>
                        <span id="spnloadingimgOPD">
                            <img src="../../../Images/Loading1.gif" /></span>
                    </div>
                </div>
            </div>
        </div>
    </div>--%>
    <asp:UpdatePanel ID="BookMasterSearchUpdatePanel" runat="server">
        <ContentTemplate>

            <div id="divContentPage" class="divcontentpagemargin">
                <!-- ContentPlaceHolder Box Starts -->

                <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="127"
                                                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" id="Div4" runat="server" visible="True">
                            <div class="leftdiv">
                            </div>

                            <div class="himsBoxTitle">
                                <div class="headerText fLeft">
                                    <header>
                                        <i class="fas fa-download"></i>
                                        <asp:Label ID="Label4" Text="Import Admission Form"
                                            runat="server" />
                                    </header>
                                </div>
                            </div>
                        </div>

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

                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:HyperLink ID="HyperLink1" runat="server" Text="&#xf101; Download Template" NavigateUrl="~/ContentTemplates/Import/AdmissionForm_Import_Template.xls" CssClass="pointer fas"></asp:HyperLink>
                                        </div>
                                    </div>
                                    <div class="cBoth">
                                    </div>
                                    <div class="cBoth">
                                    </div>

                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <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;" />
                                        </div>
                                        <asp:Label ID="Label2" runat="server" Text="" Style="padding-left: 10px; font-size: medium;"></asp:Label>
                                    </div>

                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Button ID="ImportButton" runat="server" OnClick="ImportButton_OnClick" Text="&#xf019; Import" CssClass="btn btn-examcommon fas" SkinID="0" />
                                        </div>

                                    </div>

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

                                    <div class="spacer">
                                        <asp:Image ID="Image1" runat="server" ImageUrl="~/Images/spacer.gif" meta:resourcekey="Image6Resource1" />
                                    </div>

                                    <div id="MasterGridDiv" runat="server" visible="false">
                                        <div class="spacer">
                                            <asp:Image ID="Image6" runat="server" ImageUrl="~/Images/spacer.gif" meta:resourcekey="Image6Resource1" />
                                        </div>
                                        <div class="himssuHeader6WireBox col-md-12">
                                            <div class="himsBoxHeader card-head inner" id="AdmissionGridViewPagerDiv" runat="server">
                                                <div class="leftdiv">
                                                </div>
                                                <div class="himsBoxTitle">
                                                    <div class="gridHeaderText fLeft">
                                                        <header>
                                                            <asp:Label ID="GridViewLabel" Text="List" runat="server" Font-Bold="True" meta:resourcekey="GridViewLabelResource1" />
                                                        </header>
                                                    </div>
                                                    <div class="fRight">
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="himsBoxContent">
                                                <div id="Div5" runat="server" class="table-responsive">
                                                    <asp:GridView runat="server" ID="AdmissionFormGridView" Width="100%" AutoGenerateColumns="False"
                                                        EmptyDataText="No records available for the seacrh criteria!"
                                                        AllowPaging="false" CssClass="table table-striped table-bordered table-hover"
                                                        ShowHeader="True">
                                                        <Columns>
                                                            <asp:BoundField DataField="FormNo" HeaderText="FormNo" ItemStyle-Width="15%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                            <asp:BoundField DataField="ForClass" HeaderText="ForClass" ItemStyle-Width="30%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                            <asp:BoundField DataField="StudentName" HeaderText="StudentName" ItemStyle-Width="30%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                        </Columns>
                                                        <PagerSettings Visible="False" />
                                                    </asp:GridView>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="spacer">
                                        <asp:Image ID="Image7" runat="server" ImageUrl="~/Images/spacer.gif" meta:resourcekey="Image7Resource1" />
                                    </div>
                                    <%--<table runat="server" id="AdmissionFormTable" visible="true">
                                                    <tr>
                                                        <td>
                                                            <div class="pTop5" style="width: 410px">

                                                                <asp:Label ID="Label1" runat="server" Text="Status Detail"></asp:Label>

                                                                <div>
                                                                    <asp:TextBox ID="AlreadyExistTextBox" runat="server"
                                                                        Width="1000px" SkinID="CustomWidthDropDownList" ForeColor="red" />
                                                                </div>
                                                            </div>
                                                        </td>

                                                    </tr>
                                                </table>--%>
                                    <div runat="server" id="AdmissionFormTable" visible="true" style="margin-left: 10px">
                                        <div class="outerBox pTop5 col-md-12">
                                            <asp:Label ID="Label1" runat="server" Text="Status Detail"></asp:Label>
                                            <div>
                                                <asp:TextBox ID="AlreadyExistTextBox" runat="server" SkinID="CustomWidthDropDownList" />
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </asp:Panel>
                            <div class="cBoth">
                            </div>
                            <div class="outerBox pTop5 col-md-12">
                                <div class="alert alert-info col-md-12">
                                     <i class="material-icons pos-rel">info</i> |&nbsp;
                                    <b>Note  : </b>Only xls format is imported and also give the sheet name as Sheet1.
                                </div>
                            </div>
                        </div>
                    </div>

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