<%@ page title="Student" language="C#" masterpagefile="~/Pages/Common/MasterPages/DialogMasterPage_new.master" autoeventwireup="true" inherits="Pages_StudentManagement_Student, App_Web_01ryypri" 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" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="HREmployeeMasterSearchUpdatePanel" runat="server">
        <ContentTemplate>
            <Common:CommonSearchUserControl ID="CommonSearchControl" runat="server" Visible="false" />
            <div class="divcontentpagemargin">
                <asp:Panel ID="employeesearchdetailpanel" runat="server" meta:resourcekey="employeesearchdetailpanelresource1">
                 <div class="card card-box">
                                            <div class="topdisplayContainer" style="width: 100%">
                                                <table>
                                                    <tr>
                                                        <td>
                                                            <div class="himsDisplayBox card-head">
                                                                <div>
                                                                    <header>
                                                                        &nbsp;&nbsp;
                                                                        <asp:Label ID="OrganizationLabelL" runat="server" Text="Organization :" Font-Bold="true"></asp:Label>

                                                                        <asp:Label ID="OrganizationLabelT" runat="server" Text="" SkinID="CustomWidthLabel" Width="280px"></asp:Label>

                                                                        <asp:Label ID="BatchLabelL" runat="server" Text="Batch :" Font-Bold="true"></asp:Label>

                                                                        <asp:Label ID="BatchLabelT" runat="server" Text="" SkinID="CustomWidthLabel" Width="200px"></asp:Label>
                                                                    </header>
                                                                </div>

                                                            </div>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </div>
                                            <div class="himssuHeader1WireBox">
                                                <div class="himsBoxContent card-body">
                                                    <div class="contentHolder  col-md-12 col-xs-12"">
                                                        <div id="SUIdDiv" class="outerBox pTop5 col-md-3 col-sm-4 col-xs-12" 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"></asp:TextBox>
                                                            </div>
                                                        </div>
                                                        <div class="">
                                                        </div>
                                                        <div id="Div2" class="outerBox pTop5 col-md-3 col-sm-4 col-xs-12" 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" />
                                                            </div>
                                                        </div>
                                                        <div class="outerBox pTop5 col-md-3 col-sm-4 col-xs-12" 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="">
                                                        </div>
                                                        <asp:Panel ID="NamePanel" runat="server" Visible="false">
                                                            <div class="outerBox pTop5 col-md-3 col-sm-4 col-xs-12">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="FirstNameLabel" runat="server" SkinID="MandatoryLabel" Text="Name"
                                                                        meta:resourcekey="FirstNameLabelResource1"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:TextBox ID="FirstNameTextBox" runat="server" SkinID="CustomWidthTextBox" 
                                                                        onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" MaxLength="100"
                                                                        meta:resourcekey="FirstNameTextBoxResource1"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3 col-sm-4 col-xs-12">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="MiddleNameLabel" runat="server" Text="Father Name" meta:resourcekey="MiddleNameLabelResource1"></asp:Label>
                                                                    <asp:Label ID="MiddleNameLabelM" class="mandatory" Visible="false" runat="server" Text="Father Name" 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 col-sm-4 col-xs-12">
                                                                <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">
                                                                    <asp:TextBox ID="LastNameTextBox" runat="server" SkinID="CustomWidthTextBox" 
                                                                        onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" MaxLength="100"
                                                                        meta:resourcekey="LastNameTextBoxResource1"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </asp:Panel>
                                                        <asp:Panel ID="surnamepanel" runat="server" Visible="false">
                                                            <div class="outerBox pTop5 col-md-3 col-sm-4 col-xs-12">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="Label3" runat="server" Text="SurName"
                                                                        meta:resourcekey="Label3Resource1"></asp:Label>
                                                                    <asp:Label ID="SurNameMLabel" runat="server" Text="SurName" class="mandatory" Visible="false"
                                                                        meta:resourcekey="Label3Resource1"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:TextBox ID="LastNameTextBox1" runat="server" SkinID="CustomWidthTextBox" 
                                                                        onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" MaxLength="100"
                                                                        meta:resourcekey="LastNameTextBox1Resource1"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3 col-sm-4 col-xs-12">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="Label1" runat="server" SkinID="MandatoryLabel" Text="Name"
                                                                        meta:resourcekey="Label1Resource1"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:TextBox ID="FirstNameTextBox1" runat="server" SkinID="CustomWidthTextBox" 
                                                                        onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" MaxLength="100"
                                                                        meta:resourcekey="FirstNameTextBox1Resource1"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3 col-sm-4 col-xs-12">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="Label2" runat="server" Text="Father Name" meta:resourcekey="Label2Resource1"></asp:Label>
                                                                    <asp:Label ID="MiddleNameMLabel" runat="server" Text="Father Name" meta:resourcekey="Label2Resource1" class="mandatory" Visible="false"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:TextBox ID="MiddleNameTextBox1" runat="server" SkinID="CustomWidthTextBox" 
                                                                        onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" MaxLength="100"
                                                                        meta:resourcekey="MiddleNameTextBox1Resource1"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </asp:Panel>
                                                        <div class="">
                                                        </div>

                                                        <div class="outerBox pTop5 col-md-3 col-sm-4 col-xs-12">
                                                            <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 col-sm-4 col-xs-12">
                                                            <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 col-sm-4 col-xs-12">
                                                            <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="">
                                                        </div>
                                                        <div class="outerBox pTop5 col-md-3 col-sm-4 col-xs-12">
                                                            <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()" cssclass="form-control" onmouseenter="showHideTooltip()">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                        <div class="outerBox pTop5 col-md-3 col-sm-4 col-xs-12">
                                                            <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 col-sm-4 col-xs-12">
                                                            <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="">
                                                        </div>
                                                        <div class="outerBox pTop5 col-md-3 col-sm-4 col-xs-12">
                                                            <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 col-sm-4 col-xs-12">
                                                            <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 col-sm-4 col-xs-12">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="ParentContactNoLabel" runat="server" Text="Contact No" meta:resourcekey="ParentContactNoLabelResource1"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:TextBox ID="ParentContactNoTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                     MaxLength="50" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                    meta:resourcekey="ParentContactNoTextBoxResource1"></asp:TextBox>
                                                            </div>
                                                        </div>
                                                        <div class="">
                                                        </div>
                                                        <div id="hosteldiv" runat="server">
                                                            <div class="outerBox pTop5 col-md-3 col-sm-4 col-xs-12">
                                                                <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 col-sm-4 col-xs-12">
                                                                <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 class="">
                                                        </div>
                                                        <div id="transportDiv" runat="server">
                                                            <div class="outerBox pTop5 col-md-3 col-sm-4 col-xs-12">
                                                                <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 col-sm-4 col-xs-12">
                                                                <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 col-sm-4 col-xs-12">
                                                                <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>
                                                        <div class="outerBox pTop5 col-md-3 col-sm-4 col-xs-12 ">
                                                            <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 col-sm-4 col-xs-12">
                                                            <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" />
                                                            </div>
                                                        </div>
                                                        <div class="">
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="spacer">
                                            </div>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </asp:Panel>
            </div>
            <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.</h3>
                    </b>
                    <p></p>
                </div>

            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <script type="text/javascript" language="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);

        };
        
    </script>
  <%--  <script data-main="../../JavaScript/rjs/encrypt/add-student-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
      <script data-main='<%=ResolveUrl("~/JavaScript/rjs/add-student")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
