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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl"
    TagPrefix="Date" %>
<%@ Register Src="~/UserControls/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" %>
<%@ Register Src="~/UserControls/AutoComplete/AutoCompleteControl.ascx" TagName="AutoCompleteControl"
    TagPrefix="acc" %>


<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="HREmployeeMasterSearchUpdatePanel" runat="server">
        <ContentTemplate>
            <style>
                .no-border-row {
                    border: none !important;
                }

                .no-border-header {
                    border: none !important;
                }

                    .no-border-row td, .no-border-header th {
                        border: none !important;
                    }
            </style>
            <%-- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
            <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
            <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>--%>
            <script type="text/javascript">
                $(document).ready(function () {
                    Hideshow();
                });

                function ChangeLog() {
                    $.ajax({
                        type: "POST",
                        url: "Student.aspx/ChangeLogListGet",
                        contentType: "application/json; charset=utf-8",
                        dataType: "json",
                        success: function (result) {
                            var obj = (result.d);
                            var tlbChangeLog = "";
                            if (obj != "") {
                                tlbChangeLog += "<tr><th>Screen Title</th><th>Change Remark</th><th>Created Date</th><th>User Name</th></tr>";
                                $.each(obj, function (i, item) {
                                    tlbChangeLog += "<tr><td>" + item.ScreenName + "</td><td>" + item.ChangeRemark + "</td><td>" + item.CreatedDateTime + "</td><td>" + item.UserName + "</td></tr>";
                                });
                            }
                            else { tlbChangeLog += "<tr><td colspan='8' class='record'>No records found..!!</td></tr>"; }
                            document.getElementById("tlbChangeLog").innerHTML = tlbChangeLog;
                        }
                    });
                }

                function Hideshow() {
                    $.ajax({
                        type: "POST",
                        url: "Student.aspx/hideshow",
                        contentType: "application/json; charset=utf-8",
                        dataType: "json",
                        success: function (result) {
                            //var obj = (result.d);
                            if (result.d == 1)
                            { $("#ChangeLogGet").show(); }
                        }
                    });
                }
            </script>

            <div class="hls-bg"></div>

            <Common:CommonSearchUserControl ID="CommonSearchControl" runat="server" Visible="false" />

            <asp:Panel ID="employeesearchdetailpanel" runat="server" meta:resourcekey="employeesearchdetailpanelresource1">
                <div id="divContentPage" class="divcontentpagemargin">

                    <div class="dashBoardLeftCont">
                        <div class="himssuHeader3WireBox">
                            <table>
                                <tr>
                                    <td>
                                        <div class="leftUlMenu">
                                            <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="102"
                                                Visible="true" runat="server" />
                                        </div>
                                    </td>
                                </tr>
                            </table>
                        </div>
                    </div>
                    <div class="whiteboxpaddingleft row">
                        <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="fal fa-graduation-cap"></i>
                                            <asp:Label ID="Label4" Text="Student Detail" runat="server" />
                                        </header>
                                    </div>
                                </div>
                                <div class="fRight mt-27 display-flex pagination">

                                    <%--<button type="button" class="btn btn-info " onclick="ChangeLog()" data-toggle="modal" data-target="#myModal" skinid="0">Change Log</button>--%>
                                    <button type="button" id="ChangeLogGet" data-dismiss="modal" class="btn btn-primary" data-toggle="modal" data-target="#exampleModal" onclick="return ChangeLog()" style="display: none">
                                        Change Logs
                                    </button>
                                    &nbsp;
                                    <asp:LinkButton CssClass="btn btn-default gridviewpagerbuttonpadding" ToolTip="First page"
                                        ID="FirstRecordImageButton" runat="server" OnClick="FirstRecordImageButton_Click">
                                                       <i class="fa fa-fast-backward"></i>
                                    </asp:LinkButton>
                                    <asp:LinkButton CssClass="btn btn-default gridviewpagerbuttonpadding" ToolTip="First page"
                                        ID="PreviousImageButton" runat="server" OnClick="PreviousImageButton_Click">
                                                       <i class="fa fa-play fa-rotate-180"></i>
                                    </asp:LinkButton>

                                    <asp:Label ID="LabelPage" runat="server" Text="Record " AssociatedControlID="ReCordNumber" />
                                    &nbsp;  
                                    <asp:Label ID="ReCordNumber" Font-Bold="true" SkinID="Dummy" runat="server"></asp:Label>
                                    &nbsp;   
                                    <asp:Label ID="ofLabel" Text="of" runat="server" />
                                    &nbsp;    
                                    <asp:Label ID="TotalRecord" runat="server" />
                                    &nbsp;
                                                    <asp:LinkButton CssClass="btn btn-default gridviewpagerbuttonpadding" ToolTip="First page"
                                                        ID="NextImageButtom" runat="server" OnClick="NextImageButton_Click">
                                                       <i class="fa fa-play"></i>
                                                    </asp:LinkButton>
                                    <asp:LinkButton CssClass="btn btn-default gridviewpagerbuttonpadding" ToolTip="First page"
                                        ID="LastRecordImageButton" runat="server" OnClick="LastRecordImageButton_Click">
                                                       <i class="fa fa-fast-forward"></i>
                                    </asp:LinkButton>

                                    <%--  <asp:Button ID="ChangeLogButton" runat="Server" OnClick="ChangeLogButton_Click" SkinID="0" data-toggle="modal" data-target="#myModal"
                                                        CssClass="btn btn-back fas" Text="&#xf30a; Change Log" />--%>

                                    &nbsp;  &nbsp;  &nbsp;
                                                    <asp:Button ID="BackButton" runat="Server" OnClick="BackButton_Click" SkinID="0"
                                                        CssClass="btn btn-back fas" Text="&#xf30a; Back" />
                                    &nbsp; 
                                </div>
                            </div>

                            <div class="himsBoxContent  padd-0">
                                <asp:Panel ID="DetailPanel" runat="Server">
                                    <div class="contentHolder">
                                        <table>
                                            <tr>
                                                <td>
                                                    <div class="himsDisplayBox">
                                                        <div class="himsBoxContent messageMessage">




                                                            <div class="topdisplayContainer p-l-10">
                                                                <table>
                                                                    <tr>
                                                                        <td>
                                                                            <asp:Label ID="CodeLabelL" runat="server" Text="ID No :" Font-Bold="true"></asp:Label>
                                                                            &nbsp;&nbsp;
                                                                                            <asp:Label ID="CodeLabelT" runat="server" Text=""></asp:Label>
                                                                        </td>
                                                                        <td>&nbsp;
                                                                        </td>
                                                                        <td>&nbsp;
                                                                        </td>
                                                                        <td>&nbsp;
                                                                        </td>
                                                                        <td>&nbsp;
                                                                        </td>
                                                                        <td>
                                                                            <asp:Label ID="NameLabelL" runat="server" Text="Name :" Font-Bold="true"></asp:Label>
                                                                            &nbsp;&nbsp;
                                                                                            <asp:Label ID="NameLabelT" runat="server" Text=""></asp:Label>
                                                                        </td>
                                                                        <td>&nbsp;
                                                                        </td>
                                                                        <td>&nbsp;
                                                                        </td>
                                                                        <td>&nbsp;
                                                                        </td>
                                                                        <td>&nbsp;
                                                                        </td>
                                                                        <td>
                                                                            <asp:Label ID="ClassLabelL" runat="server" Text="Class :" Font-Bold="true"></asp:Label>
                                                                            &nbsp;&nbsp;
                                                                                            <asp:Label ID="ClassLabelT" runat="server" Text=""></asp:Label>
                                                                        </td>
                                                                        <td>&nbsp;
                                                                        </td>
                                                                        <td>&nbsp;
                                                                        </td>
                                                                        <td>&nbsp;
                                                                        </td>
                                                                        <td>&nbsp;
                                                                        </td>
                                                                        <td>
                                                                            <asp:Label ID="RollNoLabelL" runat="server" Text="Roll No. :" Font-Bold="true"></asp:Label>
                                                                            &nbsp;&nbsp;
                                                                                            <asp:Label ID="RollNoLabelT" runat="server" Text=""></asp:Label>
                                                                        </td>
                                                                        <td>&nbsp;
                                                                        </td>
                                                                        <td>&nbsp;
                                                                        </td>
                                                                        <td>&nbsp;
                                                                        </td>
                                                                        <td>&nbsp;
                                                                        </td>
                                                                        <td>
                                                                            <asp:LinkButton ID="AdmissionLinkButton" runat="server" Font-Italic="true" Font-Size="Small"
                                                                                Text="ADMISSION DETAILS" Visible="false"></asp:LinkButton>
                                                                        </td>
                                                                    </tr>
                                                                </table>

                                                            </div>
                                                        </div>
                                                        <div class="himsBoxFooter">
                                                            <div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </td>
                                            </tr>
                                        </table>
                                        <div class="navgraybackground">
                                            <ul class="nav nav-tabs">
                                                <li class="active"><a href="#tab_1">
                                                    <asp:Button Text="&#xf044; General" ID="StudentMasterButton" CssClass="fas transparenttab"
                                                        OnClick="StudentMasterButton_Click"
                                                        SkinID="0" runat="server" />
                                                </a></li>
                                                <li><a>
                                                    <asp:Button Text="&#xf19d; Admission" ID="AdmissionButton" CssClass="Initial fas transparenttab"
                                                        OnClick="Admission_Click" SkinID="0" runat="server" />
                                                </a></li>
                                                <li><a>
                                                    <asp:Button Text="&#xf1fe; Demographic" ID="DemographicButton" CssClass="Initial fas transparenttab"
                                                        OnClick="Demographic_Click" SkinID="0" runat="server" />
                                                </a></li>
                                                <li><a>
                                                    <asp:Button Text="&#xf095; Communication" ID="CommunicationButton" CssClass="Initial fas transparenttab"
                                                        OnClick="Communication_Click" SkinID="0" runat="server" />
                                                </a></li>
                                                <li><a>
                                                    <asp:Button Text="&#xf0c0;  Family" ID="FamilyButton" CssClass="Initial fas transparenttab" OnClick="FamilyButton_Click"
                                                        SkinID="0" runat="server" />
                                                </a></li>
                                                <li><a>
                                                    <asp:Button Text="&#xf21e; Health" ID="StudentHealthButton" CssClass="Initial fas transparenttab"
                                                        OnClick="StudentHealth_Click" SkinID="0" runat="server" />
                                                </a></li>
                                                <li><a>
                                                    <asp:Button Text="&#xf15b; Documents" ID="DocumentsButton" CssClass="Initial fas transparenttab"
                                                        SkinID="0" OnClick="Documents_Click" runat="server" />
                                                </a></li>
                                                <li><a>
                                                    <asp:Button Text="&#xf1c5;  Other Photo" ID="OtherPhotoButton" CssClass="Initial fas transparenttab"
                                                        SkinID="0" OnClick="OtherPhoto_Click" runat="server" />
                                                </a></li>
                                            </ul>
                                        </div>
                                        <table style="width: 100%">
                                            <tr>
                                                <td>
                                                    <div class="himssuHeader1WireBox">
                                                        <div class="himsBoxContent card-body">
                                                            <div class="contentHolder">
                                                                <div id="SUIdDiv" class="outerBox pTop5 col-md-3" runat="server" visible="false">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="SUIdLabel" runat="server" Text="SU Id" SkinID="MandatoryLabel"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:TextBox ID="SUIdTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                            AutoPostBack="true" MaxLength="50" OnTextChanged="SUIdTextBox_TextChanged"></asp:TextBox>
                                                                    </div>
                                                                </div>

                                                                <div class="outerBox pTop5 col-md-3" runat="server">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="CodeLabel" runat="server" Text="ID No" SkinID="MandatoryLabel"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:TextBox ID="CodeFindTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                            AutoPostBack="true" OnTextChanged="CodeFindTextBox_TextChange" MaxLength="20"></asp:TextBox>
                                                                        <ajaxToolkit:FilteredTextBoxExtender ID="CodeFindExtender" runat="server" TargetControlID="CodeFindTextBox"
                                                                            FilterType="Numbers" Enabled="false">
                                                                        </ajaxToolkit:FilteredTextBoxExtender>
                                                                        <asp:HiddenField ID="IdHiddenField" runat="server" />
                                                                        <asp:HiddenField ID="AcademicHiddenField" runat="server" />
                                                                        <asp:HiddenField ID="ButtonIdHiddenField" runat="server" />
                                                                        <asp:HiddenField ID="RemoveHiddenField" runat="server" />
                                                                        <asp:HiddenField ID="SkipEventHiddenFiled" runat="server" />
                                                                        <asp:HiddenField ID="IsAdmissionCategoryChangeHiddenField" runat="server" />
                                                                    </div>
                                                                </div>
                                                                <div class="outerBox pTop5 col-md-3" runat="server" id="RegistrationNumberDiv">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="RegistrationNumberLabel" runat="server" Text="Registration Number"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:TextBox ID="RegistrationNumberTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                            MaxLength="100" onkeypress="return isNumberKey(event)"></asp:TextBox>
                                                                    </div>
                                                                </div>

                                                                <div class="cBoth">
                                                                </div>
                                                                <asp:Panel ID="NamePanel" runat="server" Visible="false">
                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="FirstNameLabel" runat="server" SkinID="MandatoryLabel" Text="Name"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <asp:TextBox ID="FirstNameTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" MaxLength="100"></asp:TextBox>
                                                                        </div>
                                                                    </div>
                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="MiddleNameLabel" runat="server" Text="Father Name/Middle Name" meta:resourcekey="MiddleNameLabelResource1"></asp:Label>
                                                                            <asp:Label ID="MiddleNameLabelM" runat="server" Text="Father Name/Middle Name" class="mandatory" Visible="false" meta:resourcekey="MiddleNameLabelResource1"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <asp:TextBox ID="MiddleNameTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" MaxLength="100"
                                                                                meta:resourcekey="MiddleNameTextBoxResource1"></asp:TextBox>
                                                                        </div>
                                                                    </div>
                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="LastNameLabel" runat="server" Text="Surname"
                                                                                meta:resourcekey="LastNameLabelResource1"></asp:Label>
                                                                            <asp:Label ID="LastNameLabelM" runat="server" Text="Surname" class="mandatory" Visible="false"
                                                                                meta:resourcekey="LastNameLabelResource1"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <acc:AutoCompleteControl ID="LastNameTextBox" runat="server" MinimumPrefixLength="2"
                                                                                MaxLength="50" ContextKey="sCommon.LastName" DisplayLoadingStatus="true"
                                                                                SkinID="0"
                                                                                ValidateOnTextChanged="false" />
                                                                            <asp:HiddenField ID="BirthPlaceIdHiddenField" runat="server" />
                                                                        </div>
                                                                    </div>
                                                                </asp:Panel>
                                                                <asp:Panel ID="surnamepanel" runat="server" Visible="false">
                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="Label3" runat="server" Text="Surname"
                                                                                meta:resourcekey="Label3Resource1"></asp:Label>
                                                                            <asp:Label ID="SurnameLabel8M" runat="server" Text="Surname" class="mandatory" Visible="false"
                                                                                meta:resourcekey="Label3Resource1"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <acc:AutoCompleteControl ID="LastNameTextBox1" runat="server" MinimumPrefixLength="2"
                                                                                MaxLength="50" ContextKey="sCommon.LastName" DisplayLoadingStatus="true"
                                                                                SkinID="0"
                                                                                ValidateOnTextChanged="false" />
                                                                        </div>
                                                                    </div>
                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="Label1" runat="server" SkinID="MandatoryLabel" Text="Name"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <asp:TextBox ID="FirstNameTextBox1" runat="server" SkinID="0"
                                                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" MaxLength="100"></asp:TextBox>
                                                                        </div>
                                                                    </div>
                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="Label2" runat="server" Text="Father Name/Middle Name" meta:resourcekey="Label2Resource1"></asp:Label>
                                                                            <asp:Label ID="FatherNameLabel9M" runat="server" Text="Father Name/Middle Name" class="mandatory" Visible="false" meta:resourcekey="Label2Resource1"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <asp:TextBox ID="MiddleNameTextBox1" runat="server" SkinID="0"
                                                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" MaxLength="100"
                                                                                meta:resourcekey="MiddleNameTextBox1Resource1"></asp:TextBox>
                                                                        </div>
                                                                    </div>
                                                                </asp:Panel>
                                                                <div class="pTop5 photoleft10 display-flex col-md-3">
                                                                    <asp:Image ID="StudentImage" Visible="true" runat="server" Height="50px" Width="50px"
                                                                        AlternateText="Upload Photo" Style="border-radius: 5px" /><br />
                                                                    <asp:Label runat="server" Text="IDNo : " Font-Bold="true" Visible="false"></asp:Label>
                                                                    <asp:Label ID="IDNoLabel" runat="server" Font-Bold="true" Visible="false"></asp:Label><br />
                                                                    <asp:Label runat="server" Text="Name : " Font-Bold="true" Visible="false"></asp:Label>
                                                                    <asp:Label ID="NameLabel" runat="server" Font-Bold="true" Visible="false"></asp:Label>
                                                                </div>
                                                                <div class="cBoth"></div>

                                                                <%--change start mantis: 32197--%>
                                                                <div id="LocalNameDiv" runat="server" class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="LocalNameLabel" runat="server" Text="Local Name"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:TextBox ID="LocalNameTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" MaxLength="100"></asp:TextBox>
                                                                    </div>
                                                                </div>
                                                                <%--change end mantis: 32197--%>

                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="DepartmentLabel" runat="server" Text="Department"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:DropDownList runat="server" ID="DepartmentDropDownList" SkinID="CustomWidthDropDownList"
                                                                            AutoPostBack="true" onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()"
                                                                            OnSelectedIndexChanged="DepartmentDropDownList_SelectedIndexChanged">
                                                                        </asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="ClassIdLabel" runat="server" SkinID="MandatoryLabel" Text="Class"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:DropDownList runat="server" ID="ClassIdDropDownList" SkinID="CustomWidthDropDownList"
                                                                            AutoPostBack="true" onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()"
                                                                            OnSelectedIndexChanged="ClassIdDropDownList_SelectedIndexChanged">
                                                                        </asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="DivisionIdLabel" runat="server" SkinID="MandatoryLabel" Text="Division"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:DropDownList runat="server" ID="DivisionIdDropDownList" SkinID="CustomWidthDropDownList"
                                                                            onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()">
                                                                        </asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="RollNoLabel" runat="server" Text="Roll No"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:TextBox ID="RollNoTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" MaxLength="100"
                                                                            onkeypress="return isNumberKey(event)"></asp:TextBox>
                                                                    </div>
                                                                </div>

                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="StatusLabel" runat="server" SkinID="MandatoryLabel" Text="Status"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:DropDownList runat="server" ID="StatusDropDownList" SkinID="CustomWidthDropDownList"
                                                                            onmouseleave="showHideTooltip()" AutoPostBack="true" CssClass="form-control" onmouseenter="showHideTooltip()"
                                                                            OnSelectedIndexChanged="StatusDropDownList_SelectedIndexChanged">
                                                                        </asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="ClassStatusLabel" runat="server" SkinID="MandatoryLabel" Text="Class Status"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:DropDownList runat="server" ID="ClassStatusDropDownList" SkinID="CustomWidthDropDownList"
                                                                            onmouseleave="showHideTooltip()" AutoPostBack="true" CssClass="form-control" onmouseenter="showHideTooltip()">
                                                                        </asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="RecordStatusLabel" runat="server" Text="Record Tag" meta:resourcekey="RecordStatusLabelResource1"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:DropDownList ID="RecordStatusDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                            onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control"
                                                                            meta:resourcekey="RecordStatusDropDownResource1">
                                                                        </asp:DropDownList>
                                                                    </div>
                                                                </div>

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

                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="AdminnsionStandardLabel" runat="server" Text="Admission Standard"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:DropDownList runat="server" ID="AdmissionStandardDropDownList" SkinID="CustomWidthDropDownList"
                                                                            AutoPostBack="false" onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()">
                                                                        </asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="AdmissionDateLabel" runat="server" Text="Admission Date" SkinID="MandatoryLabel"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <DPC:DatePickerControl ID="AdmissionDateDatePickerControl" runat="server" DisplayDatePicker="true" />
                                                                    </div>
                                                                </div>

                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="InactiveDateMandatoryLabel" runat="server" Text="InActive Date" meta:resourcekey="InactiveDateLabelResource1" SkinID="MandatoryLabel" Visible="false"></asp:Label>
                                                                        <asp:Label ID="InactiveDateLabel" runat="server" Text="InActive Date" meta:resourcekey="InactiveDateLabelResource1"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <DPC:DatePickerControl ID="InactiveDateDatePickerControl" runat="server" DisplayDatePicker="true" />
                                                                    </div>
                                                                </div>
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="LeftStandardIdLabel" runat="server" Text="Left Standard"></asp:Label>
                                                                        <asp:Label ID="LeftStandardMandatoryLabel" runat="server" SkinID="MandatoryLabel"
                                                                            Visible="false"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:DropDownList runat="server" ID="LeftStandardIdDropDownList" SkinID="CustomWidthDropDownList"
                                                                            onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()">
                                                                        </asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="LeftDateLabel" runat="server" Text="Left Date" meta:resourcekey="LeftDateLabelResource1"></asp:Label>
                                                                        <asp:Label ID="LeftDateMandatoryLabel" runat="server" SkinID="MandatoryLabel" Visible="false"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <DPC:DatePickerControl ID="LeftDateDatePickerControl" runat="server" DisplayDatePicker="true" />
                                                                    </div>
                                                                </div>

                                                                <div id="hosteldiv" runat="server">
                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="HostelLabel" runat="server" Text="Hostel">
                                                                            </asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <asp:DropDownList runat="server" ID="HostelDropDownList" SkinID="CustomWidthDropDownList"
                                                                                onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()"
                                                                                OnSelectedIndexChanged="HostelDropDownList_SelectedIndexChanged" AutoPostBack="true">
                                                                            </asp:DropDownList>
                                                                        </div>
                                                                    </div>
                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="HostelRoomLabel" runat="server" Text="Hostel Room">
                                                                            </asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <asp:DropDownList runat="server" ID="HostelRoomDropDownList" SkinID="CustomWidthDropDownList"
                                                                                onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()">
                                                                            </asp:DropDownList>
                                                                        </div>
                                                                    </div>
                                                                </div>

                                                                <div id="transportDiv" runat="server">
                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="TransportLabel" runat="server" Text="Transport"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft">
                                                                            <asp:DropDownList ID="TransportDropDownList" runat="server" SkinID="CustomWidthDropDownList"
                                                                                CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                                AutoPostBack="true" OnSelectedIndexChanged="TransportDropDownList_SelectedIndexChanged">
                                                                            </asp:DropDownList>
                                                                        </div>
                                                                    </div>
                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="BusRouteLabel" runat="server" Text="Bus Route">
                                                                            </asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <asp:DropDownList runat="server" ID="BusRouteDropDownList" SkinID="CustomWidthDropDownList"
                                                                                onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()"
                                                                                OnSelectedIndexChanged="BusRouteDropDownList_SelectedIndexChanged" AutoPostBack="true">
                                                                            </asp:DropDownList>
                                                                        </div>
                                                                    </div>
                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="BusRouteDestinationLabel" runat="server" Text="Bus Route Destination">
                                                                            </asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <asp:DropDownList runat="server" ID="BusRouteDestinationDropDownList" SkinID="CustomWidthDropDownList"
                                                                                onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()">
                                                                            </asp:DropDownList>
                                                                        </div>
                                                                    </div>

                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="TransportModeLabel" runat="server" Text="Transport Mode">
                                                                            </asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <asp:DropDownList runat="server" ID="TransportModeDropDownList" SkinID="CustomWidthDropDownList"
                                                                                onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()">
                                                                            </asp:DropDownList>
                                                                        </div>
                                                                    </div>
                                                                </div>

                                                                <div class="outerBox pTop5 col-md-3 ">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="GenderLabel" runat="server" Text="Gender" SkinID="MandatoryLabel"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:DropDownList runat="server" ID="GenderDropDownList" SkinID="CustomWidthDropDownList"
                                                                            onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()">
                                                                        </asp:DropDownList>
                                                                        <asp:TextBox ID="GenderTextBox" runat="server" SkinID="CustomWidthTextBox" Visible="false" Enabled="false"></asp:TextBox>
                                                                    </div>
                                                                </div>
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="DateOfBirthLabel" runat="server" Text="Date of Birth" CssClass="mandatory"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <DPC:DatePickerControl ID="DateOfBirthTextBox" runat="server" DisplayDatePicker="true" />
                                                                        <asp:HiddenField ID="DateOfBirthHiddenField" runat="server" />
                                                                        <asp:HiddenField ID="BirthDateInWordHiddenField" runat="server" />
                                                                    </div>
                                                                </div>

                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="Label5" runat="server" Text="Student Group">
                                                                        </asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:DropDownList runat="server" ID="StudentGroupDropDownList" SkinID="CustomWidthDropDownList"
                                                                            onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()"
                                                                            AutoPostBack="false">
                                                                        </asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="Label6" runat="server" Text="Student Other Group">
                                                                        </asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:DropDownList runat="server" ID="StudentOtherGroupDropDownList" SkinID="CustomWidthDropDownList"
                                                                            onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()"
                                                                            AutoPostBack="false">
                                                                        </asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                                <%-- <div class="outerBox pTop15 col-md-3" id="DivForCheckBox" runat="server" visible="false">
                                                                    <div class="select">
                                                                        <asp:CheckBox ID="AddOptionSubjectLinkButton" runat="server" SkinID="CustomWidthTextBox" Text="Assign Optional Subject"
                                                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" AutoPostBack="true"
                                                                            OnCheckedChanged="AddOptionSubjectLinkButton_CheckedChanged"></asp:CheckBox>
                                                                    </div>
                                                                    <div class="fLeft pRight5 chck-dropdown-onclick bg-lghtgrey overflow-x-hidden padd-0" runat="server" id="DivClassCheckBoxList" visible="false">
                                                                        <div class="controlLabelWidth p-l-10">
                                                                            <asp:CheckBox ID="SubjectCheckBox" runat="server" AutoPostBack="True" OnCheckedChanged="SubjectCheckBox_CheckedChanged" />
                                                                            <asp:Label ID="ApplyForAllLabel" runat="server" AssociatedControlID="SubjectCheckBox" Text="Select All" class="pLeft5"></asp:Label>
                                                                        </div>
                                                                        <div id="ClassDivisionDiv" runat="server">
                                                                            <asp:CheckBoxList ID="SubjectCheckBoxList" runat="server">
                                                                            </asp:CheckBoxList>
                                                                        </div>
                                                                    </div>
                                                                </div>--%>
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="ReferenceRemarkLabel" runat="server" Text="Fees Remark"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:TextBox ID="FeesRemarkTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                            SkinID="MultiLineTextBox" TextMode="MultiLine" runat="server" MaxLength="100"> </asp:TextBox>
                                                                    </div>
                                                                </div>
                                                                <div id="DivForChangeLog" runat="server" visible="false">
                                                                    <div class="outerBox11 pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="IsEnableChangeLogLabel" runat="server" SkinID="MandatoryLabel" Text="Change Remark"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight15">
                                                                            <asp:TextBox ID="IsEnableChangeLogTextBox" runat="server" SkinID="0"
                                                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" TextMode="MultiLine"></asp:TextBox>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <%--Mantis Start - 0031338--%>
                                                                <div id="PENNumberDiv" class="outerBox pTop5 col-md-3" runat="server" visible="false">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="PENNumberLabel" runat="server" Text="PEN Number" SkinID=""></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:TextBox ID="PENNumberTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                            MaxLength="12"
                                                                            onkeypress="javascript:return isNumberKey(this)"></asp:TextBox>
                                                                    </div>
                                                                </div>
                                                                <%--Mantis Start - 0031338--%>


                                                                <%--Added by dhananjay for Mantis Start - 38255--%>
                                                                <div id="ApaarNumberDiv" class="outerBox pTop5 col-md-3" runat="server" visible="false">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="ApaarNumberLabel" runat="server" Text="Apaar Id Number" SkinID=""></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:TextBox ID="ApaarNumberTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                            MaxLength="12"
                                                                            onkeypress="javascript:return isNumberKey(this)"></asp:TextBox>
                                                                    </div>
                                                                </div>
                                                                <%--Added by dhananjay for Mantis Start - 38255--%>


                                                                <div class="outerBox11 pTop15 col-md-12" style="padding-bottom: 20px" id="DivForCheckBox" runat="server">
                                                                    <%--<div class="controlLabelWidth">
                                                                        <asp:Label ID="Label8" runat="server" Text="Assign Optional Subject">
                                                                        </asp:Label>
                                                                    </div>--%>
                                                                    <div class="himsBoxHeader  card-head inner" id="AdmissionDetailDiv" runat="server">
                                                                        <div class="leftdiv">
                                                                        </div>
                                                                        <div class="himsBoxTitle">
                                                                            <div class="headerText fLeft">
                                                                                <header>
                                                                                    <asp:Label ID="AdmissionDetailLabel" Text="Assign Optional Subject" runat="server" />
                                                                                </header>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="padd-5">
                                                                        <asp:GridView ID="AssignOptionalSubjectGridView" runat="server" AutoGenerateColumns="False" Style="border-collapse: collapse; border: none;">
                                                                            <RowStyle CssClass="no-border-row" Height="20px" />
                                                                            <HeaderStyle CssClass="no-border-header" />
                                                                            <Columns>
                                                                                <%--<asp:BoundField DataField="SomeField" HeaderText="Some Field" />--%>
                                                                                <asp:TemplateField>
                                                                                    <HeaderTemplate>
                                                                                        <asp:CheckBox ID="SelectAllCheckBox" runat="server" Text="Select All" AutoPostBack="True" OnCheckedChanged="SelectAllCheckBox_CheckedChanged" />
                                                                                    </HeaderTemplate>
                                                                                    <ItemTemplate>
                                                                                        <asp:CheckBoxList ID="SubjectCheckBoxList" runat="server" RepeatColumns="4" RepeatDirection="Horizontal" />
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                            </Columns>
                                                                        </asp:GridView>
                                                                    </div>
                                                                </div>

                                                                <div class="outerBox11 pTop15 col-md-12" style="padding-bottom: 20px">
                                                                    <%--<div class="controlLabelWidth">
                                                                        <asp:Label ID="Label7" runat="server" Text="Student Custom Fields">
                                                                        </asp:Label>
                                                                    </div>--%>
                                                                    <div class="himsBoxHeader  card-head inner" id="Label7" runat="server" visible="True">
                                                                        <div class="leftdiv">
                                                                        </div>
                                                                        <div class="himsBoxTitle">
                                                                            <div class="headerText fLeft">
                                                                                <header>
                                                                                    <asp:Label ID="Label9" Text="Student Custom Fields" runat="server" />
                                                                                </header>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="table-responsive padd-5">
                                                                        <%--Changes for mantis : 0038705 By Krunal K Patel Added FieldTypeDatePickerControl --%>
                                                                        <asp:GridView runat="server" ID="StudentCriteriaFormGridView" AutoGenerateColumns="False"
                                                                            EmptyDataText="No records available for the seacrh criteria!" OnRowDataBound="StudentCriteriaFormGridView_RowDataBound"
                                                                            AllowPaging="false" DataKeyNames="Id,FieldTypeId,FieldList,IsFieldMandatory,FieldData,AutoId" ShowHeader="true"
                                                                            CssClass="table table-striped table-bordered table-hover more" Oncol-lg-12DataBound="StudentCriteriaFormGridView_col-lg-12DataBound">
                                                                            <Columns>
                                                                                <asp:BoundField DataField="FieldGroup" ItemStyle-Width="15%" HeaderStyle-HorizontalAlign="Left" />
                                                                                <asp:BoundField DataField="FieldTitle" ItemStyle-Width="40%" HeaderStyle-HorizontalAlign="Left" />
                                                                                <asp:TemplateField HeaderText="Mandatory" ItemStyle-Width="5%" SortExpression="IsFieldMandatory"
                                                                                    HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="IsFieldMandatoryLabel" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"IsFieldMandatory").ToString().ToUpper()=="TRUE"?"*":"" %>' class="text-red font-23"></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField ItemStyle-Width="40%" HeaderText="" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>

                                                                                        <asp:DropDownList ID="FieldTypeDropDownList" runat="server" Visible="false" CssClass="form-control" Width="98%"></asp:DropDownList>
                                                                                        <asp:TextBox ID="FieldTypeTextBox" runat="server" Visible="false" TextMode="MultiLine" CssClass="form-control" Height="50px"></asp:TextBox>
                                                                                        <Date:DatePickerControl DisplayDatePicker="true" ID="FieldTypeDatePickerControl" runat="server" Visible="false" />
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                            </Columns>
                                                                            <PagerSettings Visible="False" />
                                                                        </asp:GridView>

                                                                    </div>
                                                                </div>

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

                                                </td>
                                            </tr>
                                        </table>
                                    </div>
                                </asp:Panel>
                                <div class="modal fade popup-data" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
                                    <div class="modal-dialog modal-dialog modal-xl" role="document">
                                        <div class="modal-content">
                                            <div class="modal-header">
                                                <h5 class="modal-title" id="exampleModalLabel">Change Log Remark
                            <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                                <span aria-hidden="true">&times;</span>
                            </button>

                                                </h5>

                                            </div>
                                            <div class="modal-body">
                                                <div class="table-responsive">
                                                    <table id='tlbChangeLog' class='table table-striped table-bordered'>
                                                    </table>

                                                </div>
                                            </div>
                                            <%-- <div class="modal-footer">
                        <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
                        <button type="button" class="btn btn-primary">Save changes</button>
                    </div>--%>
                                        </div>
                                    </div>
                                </div>
                                <%--<div class="modal fade" id="myModal" role="dialog">
                    <div class="modal-dialog">

                        <!-- Modal content-->
                        <div class="modal-content">
                            <div class="modal-header">
                                <button type="button" class="close" data-dismiss="modal">&times;</button>
                                <h4 class="modal-title">Modal Header</h4>
                            </div>
                            <div class="modal-body">

                            <%--    <div class="himssuHeader1WireBox col-md-12 pTop5" id="ChangeLogHead">
                                    <h3 class="table-topic">Change Log</h3>--%>
                                <%-- <asp:PlaceHolder ID="DepartMentPlaceHolder" runat="server" />
                                    <div class='himsBoxContent'>
                                        <div class='table-responsive'>
                                            <table id='tlbChangeLog' class='table table-striped table-bordered'>
                                            </table>
                                        </div>
                                   </div>
                                </div>
                            </div>
                            <div class="modal-footer">
                                <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
                            </div>
                        </div>

                    </div>
                </div>
            </div>--%>
                            </div>
                        </div>
                    </div>

                </div>
            </asp:Panel>


            <div class="swal2-container swal2-fade swal2-shown" style="overflow-y: auto;" id="swalId"></div>
            <div id="Popupdiv" style="display: none;">

                <div class="sweet-alert showSweetAlert visible" style="display: block; background-color: #ffcccc; margin-top: -100px;">
                    <div class="sa-icon sa-error" style="display: none;">
                        <span class="sa-x-mark">
                            <span class="sa-line sa-left"></span>
                            <span class="sa-line sa-right"></span>
                        </span>
                    </div>
                    <div class="sa-icon sa-warning" style="display: none;">
                        <span class="sa-body"></span>
                        <span class="sa-dot"></span>
                    </div>
                    <div class="sa-icon sa-info" style="display: none;"></div>
                    <div class="sa-icon sa-success" style="display: none;">
                        <span class="sa-line sa-tip"></span>
                        <span class="sa-line sa-long"></span>

                        <div class="sa-placeholder"></div>
                        <div class="sa-fix"></div>
                    </div>
                    <div class="sa-icon sa-custom" style="display: none;"></div>
                    <h3><b>You have exceeded limit of students for your existing plan.</b></h3>
                    <p></p>
                </div>

            </div>
        </ContentTemplate>

    </asp:UpdatePanel>

    <script type="text/javascript">

        function showmodalpopup() {
            //$("#popupdiv").dialog({

            //    width: 430,
            //    height: 100,
            //    modal: true,
            //    open: function (event, ui) {
            //        setTimeout(function () {
            //            $("#popupdiv").hide();
            //        }, 1000);
            //    }
            //});
            $(".hls-bg").show();
            $(".container").hide();
            $("#Popupdiv").show();
            setTimeout(function () {
                $("#Popupdiv").hide();
                $(".hls-bg").hide();
                $(".container").show();
            }, 4000);

        };

        function isNumberKey(evt) {
            var charCode = (evt.which) ? evt.which : event.keyCode;
            if (charCode > 31 && (charCode < 48 || charCode > 57))
                return false;
            return true;
        }
    </script>

    <style>
        /*Changes for mantis : 0038705 By Krunal K Patel Added FieldTypeDatePickerControl*/
        /*#ctl00_CP_StudentCriteriaFormGridView tr:first-child {
            display: none;
        }*/
        #ctl00_CP_StudentCriteriaFormGridView tbody > tr > th {
            display: none;
        }

        #StudentCriteriaFormGridView.more {
            font-size: 16px;
            color: #252422;
        }
    </style>
    <%-- <script data-main="../../JavaScript/rjs/encrypt/student-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/student")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
