<%@ page language="C#" autoeventwireup="true" inherits="Pages_OnlineAdmission_NewAdmissionForm, App_Web_tmoeh00g" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<!DOCTYPE html>
<html>
<head runat="server">
    <title></title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.2.0/css/solid.css" integrity="sha384-wnAC7ln+XN0UKdcPvJvtqIH3jOjs9pnKnq9qX68ImXvOGz2JuFoEiCjT8jyZQX2z" crossorigin="anonymous">
    <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.2.0/css/fontawesome.css" integrity="sha384-HbmWTHay9psM8qyzEKPc8odH4DsOuzdejtnr+OFtDmOcIVnhgReQ4GZBH7uwcjf6" crossorigin="anonymous">
    <link href="../../App_Themes/admission/css/bootstrap.css" rel="stylesheet" />
    <link href="../../App_Themes/admission/css/style.css" rel="stylesheet" />
    <link href="../../App_Themes/admission/css/jquery-ui.css" rel="stylesheet" />
    <link href="http://fonts.googleapis.com/css?family=PT+Sans:400,400i,700,700i" rel="stylesheet">

    <style>
        /* Popup container - can be anything you want */
        .popup {
            position: relative;
            display: inline-block;
            cursor: pointer;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
        }

            /* The actual popup */
            .popup .popuptext {
                visibility: hidden;
                width: 160px;
                background-color: #555;
                color: #fff;
                text-align: center;
                border-radius: 6px;
                padding: 8px 0;
                position: absolute;
                z-index: 1;
                bottom: 125%;
                left: 50%;
                margin-left: -80px;
            }

                /* Popup arrow */
                .popup .popuptext::after {
                    content: "";
                    position: absolute;
                    top: 100%;
                    left: 50%;
                    margin-left: -5px;
                    border-width: 5px;
                    border-style: solid;
                    border-color: #555 transparent transparent transparent;
                }

            /* Toggle this class - hide and show the popup */
            .popup .show {
                visibility: visible;
                -webkit-animation: fadeIn 1s;
                animation: fadeIn 1s;
            }

        /* Add animation (fade in the popup) */
        @-webkit-keyframes fadeIn {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        .sectionh5 {
            display: flex;
            width: 100%;
            align-items: center;
            justify-content: flex-start;
            height: 53px;
            position: relative;
            overflow: hidden;
            Margin: 0px 10px 0px -10px;
        }

            .sectionh5 span {
                position: absolute;
                left: 10px;
                top: calc(50% - 15px);
                padding-left: 55px;
            }

                .sectionh5 span i {
                    position: absolute;
                    top: calc(50% - 22.5px);
                    left: 8px;
                }

        .form-group {
            display: flex;
            flex-wrap: wrap;
            width: 100%;
        }


            .form-group .col-lg-12 {
                float: unset;
                /*display: flex;*/
                flex-wrap: wrap;
                width: 100%;
                line-height: 1;
            }
        /*.form-group .col-md-4
        {
            float:unset;    
        }*/
        .topic-header {
            width: 100%;
            margin-left: unset;
            overflow: unset;
        }

        .passwordbox {
            display: flex;
        }

        .registerbuttondiv {
            display: flex;
            justify-content: center;
        }

        @media (max-width:575px) {
            .passwordbox {
                display: block;
            }
        }

        /*add for 31308 mantis*/
        #AdmissionRemarkLabel {
            white-space: pre;
        }
    </style>

</head>
<body class="">
    <div class="w3l-main">
        <div class="row">
            <div class="col-lg-12">
                <div class="page-header">
                    <h3>
                        <asp:Label ID="schoolnameLabel" runat="server" Text=""></asp:Label>
                    </h3>
                    <h4 class="pTop6">Form for Registration/Admission</h4>
                </div>
            </div>
        </div>
        <form id="form1" runat="server" class="w3l-from container">
            <div class="col-lg-12 padd-0 mt1" runat="server" id="failuremessage" visible="false">
                <div class="alert alert-danger">
                    <i class="fas fa-times"></i>&nbsp;&nbsp;&nbsp;Error ! Please check all the inputs.
                </div>
            </div>

            <div class="col-lg-12 padd-0 mt1" runat="server" id="failurebdaymessage" visible="false">
                <div class="alert alert-danger">
                    <asp:Label runat="server" ID="BirthDateErrorLabel"></asp:Label>
                </div>
            </div>
            <div class="col-lg-12 padd-0 mt1">
                <div class="alert alert-danger">
                    <i class="fa fa-asterisk "></i>&nbsp;&nbsp;&nbsp;Required Field      
                </div>
            </div>
            <%--Changes for Mantis Id: 0032010 By Hemali--%>
            <div class="col-lg-12 padd-0 mt1" runat="server" id="OTPMsgDiv" visible="false">
                <div class="alert alert-success">
                    <strong><i class="fas fa-thumbs-up"></i>
                        <asp:Label runat="server" ID="OTPmsgLabel" Text=""></asp:Label>
                    </strong>
                </div>
            </div>
            <%--Mantis : 0041087 By Krunal K Patel Added Mail OTP Option For Verify Email --%>
            <div class="col-lg-12 padd-0 mt1" runat="server" id="OTPMsgEmailDiv" visible="false">
                <div class="alert alert-success">
                    <strong><i class="fas fa-thumbs-up"></i>
                        <asp:Label runat="server" ID="OTPmsgEmailLabel" Text=""></asp:Label>
                    </strong>
                </div>
            </div>
            <div class="col-lg-12 padd-0 mt1" id="PaymentRemarkDiv" runat="server" style="display: none">
                <div class="alert alert-info">
                    <h6>
                        <asp:Label ID="PaymentRemarkLabel" runat="server" Text="Use Mozilla or Internet Explorer Browser for Better Experience."></asp:Label>
                    </h6>
                </div>
            </div>
            <asp:HiddenField ID="CheckPaymentRemarkHiddenField" runat="server" />
            <asp:HiddenField ID="AttachmentSizeHiddenField" runat="server" />
            <div class="col-lg-12 padd-0 mt1" id="remarkdiv" runat="server" visible="false">
                <div class="alert alert-info">
                    <h6>
                        <asp:Label ID="AdmissionRemarkLabel" runat="server" Text=""></asp:Label>

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

            <div class="form-group">
                <div class="col-lg-12 padd-0">
                    <div class="topic-header">
                        <h5 class="sectionh5">
                            <span id="SchoolInformationLabel" runat="server" class=""><i class="fas fa-school bg-bgreen"></i>&nbsp;School Information</span>
                        </h5>
                    </div>

                    <div class="col-md-4">
                        <div class="bg-white">
                            <label for="InputName" id="SchoolLabel" runat="server" class="mandatory">School Name</label>
                            <div class="input-group">
                                <asp:DropDownList ID="OrgDropDownList" runat="server" CssClass="form-control" AutoPostBack="true" OnSelectedIndexChanged="OrgDropDownList_OnSelectedIndexChanged">
                                </asp:DropDownList>
                                <div id="orgnull" class="null-message" style="display: none">Select School</div>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4">
                        <div class="bg-white">
                            <label for="InputName" class="mandatory">Batch</label>
                            <div class="input-group">
                                <asp:DropDownList ID="BatchDropDownList" CssClass="form-control" runat="server" AutoPostBack="true" OnSelectedIndexChanged="BatchDropDownList_OnSelectedIndexChanged">
                                </asp:DropDownList>
                                <div id="batchnull" class="null-message" style="display: none">Select Batch</div>
                            </div>
                        </div>
                    </div>

                    <div class="col-md-4">
                        <div class="bg-white">
                            <label for="InputName" class="mandatory">Standard </label>
                            <div class="input-group">
                                <asp:DropDownList ID="StandardDropDownList" CssClass="form-control" runat="server" AutoPostBack="true" OnSelectedIndexChanged="StandardDropDownList_SelectedIndexChanged">
                                </asp:DropDownList>
                                <div id="standardnull" class="null-message" style="display: none">Select Standard</div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <%--add div for Mantis: 33517--%>
            <div id="NewOnlineAdmissionFormFieldDiv" runat="server" visible="false">
                <div class="form-group">
                    <div class="col-lg-12 padd-0">
                        <div class="topic-header">
                            <h5 class="sectionh5">
                                <span id="Label5" runat="server" class=""><i class="fas fa-user-graduate bg-yellow"></i>&nbsp;Student Information</span>
                            </h5>
                        </div>

                        <div class="col-md-4">
                            <div class="bg-white">
                                <label for="InputName" class="mandatory">Student Name</label>
                                <div class="input-group">
                                    <asp:TextBox ID="FirstNameTextBox" CssClass="form-control" runat="server" placeholder="Student Name" MaxLength="100" onkeypress="NumberNotAlllow()"></asp:TextBox>
                                    <div id="fnamenull" class="null-message" style="display: none">Student Name is required</div>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4" id="FatherNameDiv" runat="server" visible="false">
                            <div class="bg-white">
                                <label for="InputName">Father's Name</label>
                                <asp:Label ID="FatherNamelbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                                <div class="input-group">
                                    <asp:TextBox ID="MiddleNameTextBox" CssClass="form-control" runat="server" placeholder="Father Name" MaxLength="100" onkeypress="NumberNotAlllow()"></asp:TextBox>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4" id="SurnameDiv" runat="server" visible="false">
                            <div class="bg-white">
                                <label for="InputName">Surname</label>
                                <asp:Label ID="SurnameLabel" runat="server" class="mandatory" Visible="false"></asp:Label>
                                <div class="input-group">
                                    <asp:TextBox ID="LastNameTextBox" CssClass="form-control" runat="server" placeholder="Surname" MaxLength="100" onkeypress="NumberNotAlllow()"></asp:TextBox>
                                    <div id="lnamenull" class="null-message" style="display: none">Surname is required</div>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4">
                            <div class="bg-white">
                                <label for="InputName" class="mandatory">Gender</label>
                                <div class="input-group">
                                    <asp:DropDownList CssClass="form-control" ID="GenderDropDownList" runat="server">
                                    </asp:DropDownList>
                                    <asp:TextBox ID="GenderTextBox" runat="server" SkinID="CustomWidthTextBox" Visible="false" Enabled="false"></asp:TextBox>
                                    <div id="gendernull" class="null-message" style="display: none">Select Gender</div>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4">
                            <div class="bg-white">
                                <label for="InputName" class="mandatory">Birth Date</label>
                                <div class="input-group">
                                    <asp:TextBox runat="server" CssClass="form-control" ID="BirthDateTextBox" placeholder="dd/mm/yyyy" OnTextChanged="BirthDateTextBox_TextChanged" onkeyup="FormatIt(this);" AutoPostBack="true" />
                                    <div id="dobdnull" class="null-message" style="display: none">DOB is required</div>
                                </div>
                            </div>
                        </div>

                        <div class="col-md-4">
                            <div class="bg-white">
                                <label for="InputName">Age</label>
                                <div class="input-group">
                                    <asp:TextBox runat="server" placeHolder="Age" CssClass="form-control" ID="AgeTextBox" Enabled="false" />
                                </div>
                            </div>
                        </div>
                        <%--  <div class="form-group" id="BirthDetailsDiv" visible="false" runat="server">
                    <div class="col-md-4" runat="server" visible="false" id="BirthPlaceDiv">
                        <div class="bg-white">
                            <label for="InputName">Birth Place</label>
                            <asp:Label ID="BirthPlacelbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                            <div class="input-group">
                                <asp:TextBox ID="BirthPlaceTextBox" CssClass="form-control" runat="server" placeholder="Birthplace" MaxLength="150" onkeypress="NumberNotAlllow()"></asp:TextBox>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" runat="server" visible="false" id="BirthTalukaDiv">
                        <div class="bg-white">
                            <label for="InputName">Birth Taluka</label>
                            <asp:Label ID="BirthTalukalbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                            <div class="input-group">
                                <asp:TextBox ID="BirthTalukaTextBox" CssClass="form-control" runat="server" MaxLength="150" onkeypress="NumberNotAlllow()"></asp:TextBox>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" runat="server" visible="false" id="BirthDistDiv">
                        <div class="bg-white">
                            <label for="InputName">Birth District</label>
                            <asp:Label ID="BirthDistlbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                            <div class="input-group">
                                <asp:TextBox ID="BirthDistrictTextBox" CssClass="form-control" runat="server" MaxLength="150" onkeypress="NumberNotAlllow()"></asp:TextBox>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" runat="server" visible="false" id="BirthStateDiv">
                        <div class="bg-white">
                            <label for="InputName">Birth State</label>
                            <asp:Label ID="BirthStatelbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                            <div class="input-group">
                                <asp:TextBox ID="BirthStateTextBox" CssClass="form-control" runat="server" MaxLength="150" onkeypress="NumberNotAlllow()"></asp:TextBox>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" runat="server" visible="false" id="BirthCountryDiv">
                        <div class="bg-white">
                            <label for="InputName">Birth Country</label>
                             <asp:Label ID="BirthCountrylbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                            <div class="input-group">
                                <asp:TextBox ID="BirthCountryTextBox" CssClass="form-control" runat="server" MaxLength="150" onkeypress="NumberNotAlllow()"></asp:TextBox>
                            </div>
                        </div>
                    </div>
                        </div>
                    <div class="col-md-4" runat="server" visible="false" id="PreviousSchoolDiv">
                        <div class="bg-white">
                            <label for="InputName">Previous School</label>
                            <asp:Label ID="PreviousSchoollbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                            <div class="input-group">
                                <asp:TextBox runat="server" CssClass="form-control" ID="PreviousSchoolTextBox" onkeypress="NumberNotAlllow()" />

                            </div>
                        </div>
                    </div>--%>
                        <div class="col-md-4" runat="server" visible="false" id="StudentPhotoDiv">
                            <div class="bg-white">
                                <label for="InputEmail">Student's Photo</label>
                                <asp:Label ID="StudentPhotolbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                                <div class="input-group">
                                    <div class="file-upload">
                                        <div class="file-select">
                                            <asp:HiddenField ID="ImageMaxSize" runat="server" />
                                            <asp:HiddenField ID="IsOrgGroupType" runat="server" />
                                            <div class="file-select-button">Choose File</div>
                                            <asp:FileUpload ID="StudentFileUpload" CssClass="inputfile" runat="server" onchange="ValidateFileSize1(this);" />
                                            <label class="file-select-name"><span></span>No file chosen...</label>

                                        </div>
                                    </div>
                                    <img runat="server" id="StudentImage" height="50" width="50" style="margin-top: 10px; width: 78px; height: 69px" />
                                    <asp:Label ID="StudentImageLabel" Text="(File should be less then" runat="server" ForeColor="BlueViolet" />
                                    <asp:Label ID="StudentSuccessImageLabel" Text="Uploaded Successfully" runat="server" Style="display: none"></asp:Label>
                                </div>
                            </div>
                        </div>
                        <%--Changes done for mantis 29772--%>

                        <div class="col-md-4" id="WhatsappContactNoDiv" runat="server" visible="false">
                            <div class="bg-white">
                                <label for="InputName" class="mandatory" runat="server" id="WhatsappContactNolbl" visible="false">Whatsapp Contact No</label>
                                <label for="InputName" id="WhatsappContactNoLabel" runat="server" visible="false">Whatsapp Contact No</label>
                                <div class="input-group">
                                    <asp:TextBox ID="WhatsappContactNoTextBox" CssClass="form-control" runat="server" onkeypress="return isNumberKey(event)" placeholder="Whatsapp Contact No"
                                        MaxLength="10" onkeyup="if (/\D/g.test(this.value)) this.value = this.value.replace(/\D/g,'')"></asp:TextBox>
                                    <div id="whatsappnull" class="null-message" style="display: none">Valid Whatsapp Contact No is required</div>
                                </div>
                            </div>
                        </div>
                        <%--Mantis start - 0043425--%>
                        <div class="col-md-4" id="PENNumberDiv" runat="server" visible="false">
                            <div class="bg-white" id="Div2" visible="true" runat="server">
                                <label for="InputName" class="mandatory" runat="server" id="PENNumberLabel" visible="false">PEN Number</label>
                                <label for="InputName" id="PENNumberLbl" runat="server" visible="false">PEN Number</label>
                                <div class="input-group">
                                    <asp:TextBox ID="PENNumberTextBox" CssClass="form-control" runat="server" MaxLength="12" placeholder="PEN Number"
                                        onkeypress="return isNumberKey(event)" onkeyup="if (/\D/g.test(this.value)) this.value = this.value.replace(/\D/g,'')"></asp:TextBox>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4" id="ApaarNumberDiv" runat="server" visible="false">
                            <div class="bg-white" id="Div3" visible="true" runat="server">
                                <label for="InputName" class="mandatory" runat="server" id="ApaarNumberLabel" visible="false">Apaar Id Number</label>
                                <label for="InputName" id="ApaarNumberLbl" runat="server" visible="false">Apaar Id Number</label>
                                <div class="input-group">
                                    <asp:TextBox ID="ApaarNumberTextBox" CssClass="form-control" runat="server" MaxLength="12" placeholder="Apaar Id Number"
                                        onkeypress="return isNumberKey(event)" onkeyup="if (/\D/g.test(this.value)) this.value = this.value.replace(/\D/g,'')"></asp:TextBox>
                                </div>
                            </div>
                        </div>
                        <%--Mantis End - 0043425--%>
                    </div>
                </div>

                <div class="form-group">
                    <div class="col-lg-12 padd-0">

                        <div class="topic-header">
                            <h5 class="sectionh5">
                                <span id="AddressLabel" runat="server" text=""><i class="fas fa-info-circle bg-pink"></i>&nbsp;&nbsp;Address & Contact Information</span>
                            </h5>
                        </div>

                        <div class="col-md-4" runat="server" visible="false" id="StreetOneDiv">
                            <div class="bg-white">
                                <label for="InputName">Street One</label>
                                <asp:Label ID="StreetOnelbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                                <div class="input-group">
                                    <%--Added for mantis : 37243--%>
                                    <asp:TextBox ID="StreetOneTextBox" CssClass="form-control" runat="server" placeholder="Street One" MaxLength="150"></asp:TextBox>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4" runat="server" visible="false" id="StreetTwoDiv">
                            <div class="bg-white">
                                <label for="InputName">Street Two</label>
                                <asp:Label ID="StreetTwolbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                                <div class="input-group">
                                    <asp:TextBox ID="StreetTwoTextBox" CssClass="form-control" runat="server" placeholder="Street Two" MaxLength="50"></asp:TextBox>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4" runat="server" visible="false" id="StreetThreeDiv">
                            <div class="bg-white">
                                <label for="InputName">Street Three</label>
                                <asp:Label ID="StreetThreelbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                                <div class="input-group">
                                    <asp:TextBox ID="StreetThreeTextBox" CssClass="form-control" runat="server" placeholder="Street Three" MaxLength="50"></asp:TextBox>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4" runat="server" visible="false" id="CityDiv">
                            <div class="bg-white">
                                <label for="InputName">City</label>
                                <asp:Label ID="Citylbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                                <div class="input-group">
                                    <asp:TextBox ID="CityTextBox" CssClass="form-control" runat="server" placeholder="City" MaxLength="50" onkeypress="NumberNotAlllow()"></asp:TextBox>
                                </div>
                            </div>

                        </div>
                        <div class="col-md-4" runat="server" visible="false" id="StateDiv">
                            <div class="bg-white">
                                <label for="InputName">State</label>
                                <asp:Label ID="Statelbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                                <div class="input-group">
                                    <asp:TextBox ID="StateTextBox" CssClass="form-control" runat="server" placeholder="State" MaxLength="50" onkeypress="NumberNotAlllow()"></asp:TextBox>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4" runat="server" visible="false" id="CountryDiv">
                            <div class="bg-white">
                                <label for="InputName">Country</label>
                                <asp:Label ID="Countrylbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                                <div class="input-group">
                                    <asp:TextBox ID="CountryTextBox" CssClass="form-control" runat="server" placeholder="Country" MaxLength="50" onkeypress="NumberNotAlllow()"></asp:TextBox>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4" runat="server" visible="false" id="ZipCodeDiv">
                            <div class="bg-white">
                                <label for="InputName">Pin Code</label>
                                <asp:Label ID="ZipCodelbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                                <div class="input-group">
                                    <asp:TextBox ID="ZipCodeTextBox" CssClass="form-control" runat="server" placeholder="Pin Code" onkeypress="return isNumberKey(event)"
                                        MaxLength="6" onkeyup="if (/\D/g.test(this.value)) this.value = this.value.replace(/\D/g,'')"></asp:TextBox>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4">
                            <div class="bg-white">
                                <label for="InputName" class="mandatory">Mobile No.</label>
                                <%--<asp:Label ID="MobileNolbl" runat="server" class="mandatory" Visible="false"></asp:Label>--%>
                                <div class="input-group">
                                    <asp:TextBox ID="MobileNoTextBox" CssClass="form-control" runat="server" onkeypress="return isNumberKey(event)" placeholder="Mobile No."
                                        MaxLength="12" onkeyup="if (/\D/g.test(this.value)) this.value = this.value.replace(/\D/g,'')"></asp:TextBox>
                                    <div id="mobilenull" class="null-message" style="display: none">Valid Mobile no. is required</div>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4" runat="server" visible="false" id="ContactEmailDiv">
                            <div class="bg-white">
                                <label for="InputName">Contact Email</label>
                                <asp:Label ID="ContactEmaillbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                                <div class="input-group">
                                    <%--Mantis : 0041087 By Krunal K Patel : Mail OTP Option For Verify Email --%>
                                    <%--<asp:TextBox ID="EmailTextBox" CssClass="form-control" runat="server" placeholder="Email" MaxLength="50" ReadOnly="true" onfocus="this.removeAttribute('readonly');"></asp:TextBox>--%>
                                    <asp:TextBox ID="EmailTextBox" CssClass="form-control" runat="server" placeholder="Email" MaxLength="50"></asp:TextBox>
                                    <div id="emailnull" class="null-message" style="display: none">Email Id is not valid</div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="form-group" id="Otherdetaildiv" visible="false" runat="server">
                    <div class="col-lg-12 padd-0">
                        <div class="topic-header">
                            <h5 class="sectionh5">
                                <span id="CastLabel" runat="server"><i class="fas fa-user-edit bg-blue"></i>&nbsp;Other Details</span>
                            </h5>
                        </div>
                        <div class="form-group1" id="BirthDetailsDiv" visible="false" runat="server">
                            <div class="col-md-4" runat="server" visible="false" id="BirthPlaceDiv">
                                <div class="bg-white">
                                    <label for="InputName">Birth Place</label>
                                    <asp:Label ID="BirthPlacelbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                                    <div class="input-group">
                                        <asp:TextBox ID="BirthPlaceTextBox" CssClass="form-control" runat="server" placeholder="Birthplace" MaxLength="150" onkeypress="NumberNotAlllow()"></asp:TextBox>
                                    </div>
                                </div>
                            </div>
                            <div class="col-md-4" runat="server" visible="false" id="BirthTalukaDiv">
                                <div class="bg-white">
                                    <label for="InputName">Birth Taluka</label>
                                    <asp:Label ID="BirthTalukalbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                                    <div class="input-group">
                                        <asp:TextBox ID="BirthTalukaTextBox" CssClass="form-control" runat="server" MaxLength="150" onkeypress="NumberNotAlllow()" placeholder="Birth Taluka"></asp:TextBox>
                                    </div>
                                </div>
                            </div>
                            <div class="col-md-4" runat="server" visible="false" id="BirthDistDiv">
                                <div class="bg-white">
                                    <label for="InputName">Birth District</label>
                                    <asp:Label ID="BirthDistlbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                                    <div class="input-group">
                                        <asp:TextBox ID="BirthDistrictTextBox" CssClass="form-control" runat="server" MaxLength="150" onkeypress="NumberNotAlllow()" placeholder="Birth District"></asp:TextBox>
                                    </div>
                                </div>
                            </div>
                            <div class="col-md-4" runat="server" visible="false" id="BirthStateDiv">
                                <div class="bg-white">
                                    <label for="InputName">Birth State</label>
                                    <asp:Label ID="BirthStatelbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                                    <div class="input-group">
                                        <asp:TextBox ID="BirthStateTextBox" CssClass="form-control" runat="server" MaxLength="150" onkeypress="NumberNotAlllow()" placeholder="Birth State"></asp:TextBox>
                                    </div>
                                </div>
                            </div>
                            <div class="col-md-4" runat="server" visible="false" id="BirthCountryDiv">
                                <div class="bg-white">
                                    <label for="InputName">Birth Country</label>
                                    <asp:Label ID="BirthCountrylbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                                    <div class="input-group">
                                        <asp:TextBox ID="BirthCountryTextBox" CssClass="form-control" runat="server" MaxLength="150" onkeypress="NumberNotAlllow()" placeholder="Birth Country"></asp:TextBox>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4" runat="server" visible="false" id="PreviousSchoolDiv">
                            <div class="bg-white">
                                <label for="InputName" id="PreviousSchoolLabel" runat="server">Previous School/Board</label>
                                <asp:Label ID="PreviousSchoollbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                                <div class="input-group">
                                    <asp:TextBox runat="server" CssClass="form-control" ID="PreviousSchoolTextBox" onkeypress="NumberNotAlllow()" placeholder="Previous School" />

                                </div>
                            </div>
                        </div>
                        <div class="col-md-4" runat="server" visible="false" id="ReligionDiv">
                            <div class="bg-white">
                                <label for="InputName">Religion</label>
                                <asp:Label ID="Religionlbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                                <div class="input-group">
                                    <asp:DropDownList ID="ReligionDropDownList" CssClass="form-control" runat="server" onchange="DropDownCheck(this)" placeholder="Religion">
                                    </asp:DropDownList>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4" runat="server" visible="false" id="FamilyCasteDiv">
                            <div class="bg-white">
                                <label for="InputName">Family Caste</label>
                                <asp:Label ID="FamilyCastelbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                                <div class="input-group">
                                    <asp:TextBox ID="CastTextBox" runat="server" CssClass="form-control" placeholder="Family Caste" onkeypress="NumberNotAlllow()"></asp:TextBox>
                                </div>
                            </div>
                        </div>

                        <div class="col-md-4" runat="server" visible="false" id="CasteCategoryDiv">
                            <div class="bg-white">
                                <label for="InputName">Caste Category </label>
                                <asp:Label ID="CasteCategorylbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                                <div class="input-group">
                                    <asp:DropDownList ID="CastCategoryDropDownList" CssClass="form-control" runat="server" onchange="DropDownCheck(this)" onkeypress="NumberNotAlllow()">
                                    </asp:DropDownList>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4" runat="server" visible="false" id="SubCasteDiv">
                            <div class="bg-white">
                                <label for="InputName">Sub Caste</label>
                                <asp:Label ID="SubCastelbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                                <div class="input-group">
                                    <asp:TextBox ID="SubCastetextBox" CssClass="form-control" runat="server" onkeypress="NumberNotAlllow()" placeholder="Sub Caste"></asp:TextBox>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4" runat="server" visible="false" id="NationalityDiv">
                            <div class="bg-white">
                                <label for="InputName">Nationality</label>
                                <asp:Label ID="Nationalitylbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                                <div class="input-group">
                                    <asp:TextBox ID="NationalityTextBox" CssClass="form-control" runat="server" onkeypress="NumberNotAlllow()" placeholder="Nationality"></asp:TextBox>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4" runat="server" visible="false" id="MotherTongueDiv">
                            <div class="bg-white">
                                <label for="InputName">Mother Tongue</label>
                                <asp:Label ID="MotherTonguelbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                                <div class="input-group">
                                    <asp:TextBox ID="MotherTongueTextBox" CssClass="form-control" runat="server" onkeypress="NumberNotAlllow()" placeholder="Mother Toungue"></asp:TextBox>
                                </div>
                            </div>
                        </div>


                        <div class="col-md-4" id="OtherInformationDiv" runat="server" visible="false" style="height: 70px;">
                            <div class="bg-white">
                                <label for="InputName">Other Information</label>
                                <asp:Label ID="OtherInformationlbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                                <div class="input-group">
                                    <asp:TextBox ID="BloodgroupTextBox" CssClass="form-control" runat="server" placeholder="Other Information"></asp:TextBox>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4" id="LiveWithDiv" runat="server" visible="false">
                            <div class="bg-white">
                                <label for="InputName">Live With</label>
                                <asp:Label ID="LiveWithlbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                                <div class="input-group">
                                    <asp:DropDownList ID="LiveWithDropDownList" CssClass="form-control" runat="server"></asp:DropDownList>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4" id="MeritMarksDiv" runat="server" visible="true">
                            <div class="bg-white">
                                <label for="InputName">Merit Marks</label>
                                <asp:Label ID="MeritMarksLabel" runat="server" class="mandatory" Visible="false"></asp:Label>
                                <div class="input-group">
                                    <asp:TextBox ID="MeritMarksTextBox" PlaceHolder="Merit Mark" TextMode="Number" CssClass="form-control"
                                        runat="server" MaxLength="13" onblur="javascript:return fnValidateDecimal(this,8,2)"
                                        onKeypress="javascript:return MaskDecimal(event,8,2)" SkinID="CustomWidthTextbox"></asp:TextBox>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4" id="MeritGradeDiv" runat="server" visible="true">
                            <div class="bg-white">
                                <label for="InputName">Merit Grade</label>
                                <asp:Label ID="MeritGradeLabel" runat="server" class="mandatory" Visible="false"></asp:Label>
                                <div class="input-group">
                                    <asp:TextBox ID="MeritGradeTextBox" CssClass="form-control" runat="server" placeholder="Merit Grade"></asp:TextBox>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4 height64" id="BGDiv" runat="server" visible="false" >
                            <div class="bg-white" id="BGDIVSPECIFICDIV" runat="server" visible="true">
                                <label for="InputName">Blood Group</label>
                                <asp:Label ID="BGlbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                                <div class="input-group">
                                    <asp:DropDownList ID="BloodGroupDropDownList" CssClass="form-control" runat="server"></asp:DropDownList>
                                </div>
                            </div>
                        </div>
                        <%--<div class="row">--%>
                        <%-- <div class="col-md-12">--%>

                        <div class="col-md-4" id="AdhaarDiv" runat="server" visible="false">
                            <div class="bg-white" id="AdhaarSpecificDiv" visible="true" runat="server">
                                <label for="InputName">Aadhaar Number</label>
                                <asp:Label ID="Adhaarlbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                                <div class="input-group">
                                    <asp:TextBox ID="AdhaarNumberTextBox" CssClass="form-control" runat="server" MaxLength="20" placeholder="Aadhaar Number"
                                        onkeypress="return isNumberKey(event)" onkeyup="if (/\D/g.test(this.value)) this.value = this.value.replace(/\D/g,'')"></asp:TextBox>
                                </div>
                            </div>
                        </div>
                        <%--  </div>--%>
                        <%--</div>--%>

                        <div id="CustomField1Div" runat="server" visible="false" class="col-md-4">
                            <div class="bg-white">
                                <asp:Label Font-Bold="true" CssClass="head" ID="CustomField1AnswerLabel" runat="server"></asp:Label>
                                <asp:Label ID="MCustomField1AnswerLabel" runat="server" class="mandatory" Visible="false"></asp:Label>
                                <div class="input-group">
                                    <asp:TextBox ID="CustomField1AnswerTextBox" CssClass="form-control" runat="server" MaxLength="200" SkinID="CustomWidthTextbox" Visible="false"></asp:TextBox>
                                    <asp:DropDownList runat="server" Visible="false" CssClass="form-control" ID="CustomField1DropDownList"></asp:DropDownList>
                                </div>
                            </div>
                        </div>

                        <div id="CustomField2Div" runat="server" visible="false" class="col-md-4">
                            <div class="bg-white">
                                <asp:Label Font-Bold="true" CssClass="head" ID="CustomField2AnswerLabel" runat="server"></asp:Label>
                                <asp:Label ID="MCustomField2AnswerLabel" runat="server" class="mandatory" Visible="false"></asp:Label>
                                <div class="input-group">
                                    <asp:TextBox ID="CustomField2AnswerTextBox" CssClass="form-control" runat="server" MaxLength="200" SkinID="CustomWidthTextbox" Visible="false"></asp:TextBox>
                                    <asp:DropDownList runat="server" CssClass="form-control" Visible="false" ID="CustomField2DropDownList"></asp:DropDownList>
                                </div>
                            </div>
                        </div>

                        <div id="CustomField3Div" runat="server" visible="false" class="col-md-4">
                            <div class="bg-white">
                                <asp:Label Font-Bold="true" CssClass="head" ID="CustomField3AnswerLabel" runat="server"></asp:Label>
                                <asp:Label ID="MCustomField3AnswerLabel" runat="server" class="mandatory" Visible="false"></asp:Label>
                                <div class="input-group">
                                    <asp:TextBox ID="CustomField3AnswerTextBox" CssClass="form-control" runat="server" MaxLength="200" SkinID="CustomWidthTextbox" Visible="false"></asp:TextBox>
                                    <asp:DropDownList runat="server" CssClass="form-control" Visible="false" ID="CustomField3DropDownList"></asp:DropDownList>
                                </div>
                            </div>
                        </div>





                        <div class="col-md-4" id="HOstelDiv" runat="server" visible="false" style="height: 70px;">
                            <div class="bg-white" id="hostelspecific" runat="server" visible="true">
                                <label class="material-checkbox">
                                    <asp:CheckBox ID="hostelCheckBox" runat="server"></asp:CheckBox>
                                    <span>Hostel Required</span>
                                </label>
                            </div>
                        </div>
                        <div class="col-md-4" id="TransportRequireddiv" visible="false" runat="server" style="height: 70px;">
                            <div class="bg-white" id="transportspecificDiv" runat="server" visible="true">
                                <label class="material-checkbox">
                                    <asp:CheckBox ID="TransportCheckBox" runat="server" OnCheckedChanged="TransportRequired_CheckChanged" AutoPostBack="true"></asp:CheckBox>
                                    <span id="Span6" runat="server">Transport Required</span>
                                </label>
                            </div>
                        </div>
                        <%--mantis : start : 0046082--%>
                        <div class="col-md-4 height64 " runat="server" visible="false" id="TransportModeDiv" style="height: 70px;">
                            <div class="bg-white">
                                <label for="InputName">Transport</label>
                                <asp:Label ID="TransportLabel" runat="server" Visible="false"></asp:Label>
                                <div class="input-group">
                                    <asp:DropDownList ID="TransportDropDownList" CssClass="form-control" runat="server" OnSelectedIndexChanged="TransportDropDownList_SelectedIndexChanged" placeholder="Transport" AutoPostBack="true">
                                    </asp:DropDownList>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4 height64 " runat="server" visible="false" id="BusrouteDiv" style="height: 70px;">
                            <div class="bg-white">
                                <label for="InputName">Bus Route</label>
                                <asp:Label ID="BusRouteLabel" runat="server" Visible="false"></asp:Label>
                                <div class="input-group">
                                    <asp:DropDownList ID="BusRouteDropDownList" CssClass="form-control" runat="server" OnSelectedIndexChanged="BusRouteDropDownList_SelectedIndexChanged" placeholder="Bus Route" AutoPostBack="true">
                                    </asp:DropDownList>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4 height64 " runat="server" visible="false" id="BusRouteDestinationDiv" style="height: 70px;">
                            <div class="bg-white">
                                <label for="InputName">Bus Route Destination</label>
                                <asp:Label ID="BusRouteDestinationLabel" runat="server" Visible="false"></asp:Label>
                                <div class="input-group">
                                    <asp:DropDownList ID="BusRouteDestinationDropDownList" CssClass="form-control" runat="server" onchange="DropDownCheck(this)" placeholder="Bus Route Destination">
                                    </asp:DropDownList>
                                </div>
                            </div>
                        </div>
                        <%--mantis : end : 0046082--%>
                    </div>
                </div>

                <div class="cBoth"></div>
                <div class="row form-group">
                    <div class="col-md-12" id="OptionalSubjectDiv" runat="server" visible="false" style="height: fit-content">
                        <div class="topic-header">
                            <h5 class="sectionh5">
                                <span id="OptionalSubjectSpan" runat="server" text=""><i class="fas fa-info-circle bg-dpurp"></i>&nbsp;Assign Optional Subject</span>
                            </h5>
                        </div>
                        <div class="col-lg-12 bg-white">
                            <asp:CheckBoxList ID="AssignOptionalSubjectCheckBoxList" runat="server" RepeatDirection="Horizontal" RepeatColumns="5" BackColor="White" CellPadding="10" Style="color: white">
                            </asp:CheckBoxList>
                        </div>
                    </div>
                </div>

                <div class="form-group" id="AdmissionCriteriaFormDiv" visible="false" runat="server">
                    <div class="col-lg-12 padd-0">
                        <div class="topic-header">
                            <h5 class="sectionh5">
                                <span id="DynamicAdmissionFromFiledHeaderLabel" runat="server" text=""><i class="fas fa-info-circle bg-dpurp"></i>&nbsp;More Details</span>
                            </h5>
                        </div>
                        <div class="col-lg-12 bg-white">
                            <div class="table-responsive padd-5">
                                <%--Changes for mantis : 0038705 By Krunal K Patel Added FieldTypeDatePicker ---%>
                                <asp:GridView runat="server" ID="AdmissionCriteriaFormGridView" AutoGenerateColumns="False"
                                    EmptyDataText="No records available for the seacrh criteria!" OnRowDataBound="AdmissionCriteriaFormGridView_RowDataBound"
                                    AllowPaging="false" DataKeyNames="Id,FieldTypeId,FieldList,IsFieldMandatory,AdmissionFormFieldResponse" ShowHeader="true"
                                    CssClass="table table-striped table-bordered table-hover more" Oncol-lg-12DataBound="AdmissionSetupGridView_col-lg-12DataBound">
                                    <Columns>
                                        <asp:BoundField DataField="FieldGroup" ItemStyle-Width="15%" HeaderStyle-HorizontalAlign="Left" />
                                        <asp:BoundField DataField="FieldRemark" 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"></asp:DropDownList>
                                                <asp:TextBox ID="FieldTypeTextBox" runat="server" Visible="false" CssClass="form-control" TextMode="MultiLine" Height="50px"></asp:TextBox>
                                                <asp:TextBox runat="server" CssClass="form-control" ID="FieldTypeDatePicker" placeholder="dd/mm/yyyy" onkeyup="FormatIt(this);" AutoPostBack="false" Visible="false" />
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                    </Columns>
                                    <PagerSettings Visible="False" />
                                </asp:GridView>

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

                <div class="form-group" id="SchoolDetail" visible="false" runat="server">
                    <div class="col-lg-12 padd-0">
                        <div class="topic-header">
                            <h5 class="sectionh5">
                                <span id="StudentInformationheaderLabel" runat="server" text=""><i class="fas fa-graduation-cap bg-lav"></i>&nbsp;Student's Academic Details</span>
                            </h5>
                        </div>
                        <div class="col-lg-12 bg-white">
                            <asp:Label ID="StudentAcademicRemarkLabel" runat="server"></asp:Label>
                            <div class="table-responsive padd-5">
                                <asp:GridView ID="AdmissionSetupGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                    AllowPaging="false" Showtopic-header="True"
                                    CssClass="table table-striped table-bordered table-hover" Oncol-lg-12DataBound="AdmissionSetupGridView_col-lg-12DataBound">
                                    <Columns>
                                        <asp:TemplateField HeaderText="Class" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                            <ItemTemplate>
                                                <asp:TextBox ID="ClassNameTextBox" runat="server" SkinID="CustomWidthTextBox" CssClass="form-control" MaxLength="100" Text='<%# Bind("ClassName") %>'></asp:TextBox>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="Academic Year" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                            <ItemTemplate>
                                                <asp:TextBox ID="AcademicYearTextBox" onkeypress="return onlyNumbers(this);" CssClass="form-control" runat="server" SkinID="CustomWidthTextBox" MaxLength="100" Text='<%# Bind("AcademicYear") %>'></asp:TextBox>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="Name of Institute" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                            <ItemTemplate>
                                                <asp:TextBox ID="InstituteNameTextBox" runat="server" SkinID="CustomWidthTextBox" CssClass="form-control" MaxLength="100" Text='<%# Bind("InstituteName") %>'></asp:TextBox>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="City" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                            <ItemTemplate>
                                                <asp:TextBox ID="InstituteCityTextBox" runat="server" SkinID="CustomWidthTextBox" CssClass="form-control" MaxLength="100" Text='<%# Bind("InstituteCity") %>'></asp:TextBox>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="Board" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                            <ItemTemplate>
                                                <asp:TextBox ID="InstituteAffiliatonTextBox" runat="server" SkinID="CustomWidthTextBox" CssClass="form-control" MaxLength="100" Text='<%# Bind("InstituteAffiliaton") %>'></asp:TextBox>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="Result (%)" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                            <ItemTemplate>
                                                <asp:TextBox ID="ResultTextBox" runat="server" SkinID="CustomWidthTextBox" CssClass="form-control" MaxLength="100" Text='<%# Bind("Result") %>'></asp:TextBox>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="Medium of Study" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                            <ItemTemplate>
                                                <asp:TextBox ID="LanguageTextBox" runat="server" SkinID="CustomWidthTextBox" CssClass="form-control" MaxLength="100" Text='<%# Bind("Language") %>'></asp:TextBox>
                                            </ItemTemplate>
                                        </asp:TemplateField>

                                    </Columns>
                                    <PagerSettings Visible="False" />
                                </asp:GridView>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="form-group" runat="server" id="FatherFamilyDetailsDiv" visible="false">
                    <div class="col-lg-12 padd-0">
                        <div class="topic-header">
                            <h5 class="sectionh5">
                                <span id="FatherInfromationLabel" runat="server" text=""><i class="fas fa-users bg-grey"></i>&nbsp;Father's Information</span>

                            </h5>
                        </div>

                        <div class="col-md-4" id="FatherFullNameDiv" runat="server" visible="false">
                            <div class="bg-white">
                                <label for="InputName">Full Name</label>
                                <asp:Label ID="FatherFullNamelbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                                <div class="input-group">
                                    <asp:TextBox ID="FatherNameTextBox" CssClass="form-control" runat="server" onkeypress="NumberNotAlllow()" placeholder="Name"></asp:TextBox>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4" id="FatherMobileNoDiv" runat="server" visible="false">
                            <div class="bg-white">
                                <label for="InputName">Mobile No.</label>
                                <asp:Label ID="FatherMobileNolbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                                <div class="input-group">
                                    <asp:TextBox ID="FatherMobileNoTextBox" CssClass="form-control" runat="server" onkeypress="return isNumberKey(event)" placeholder="Mobile No."
                                        MaxLength="12" onkeyup="if (/\D/g.test(this.value)) this.value = this.value.replace(/\D/g,'')"></asp:TextBox>
                                    <div id="fmobilenull" class="null-message" style="display: none">Valid Mobile no. is required</div>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4" id="FatherAdhaarNumberDiv" runat="server" visible="false">
                            <div class="bg-white">
                                <label for="InputName">Father Aadhaar Number</label>
                                <asp:Label ID="FatherAdhaarNumberLabelM" runat="server" class="mandatory" Visible="false"></asp:Label>
                                <div class="input-group">
                                    <asp:TextBox ID="FatherAdhaarNumberTextBox" CssClass="form-control" runat="server" onkeypress="return isNumberKeys(event)" MaxLength="12"
                                        placeholder="Father Aadhaar Number" onkeyup="if (/\D/g.test(this.value)) this.value = this.value.replace(/\D/g,'')"></asp:TextBox>
                                    <div id="fAdharnull" class="null-message" style="display: none">Valid Father Aadhaar no. is required</div>
                                </div>
                            </div>
                        </div>


                    </div>
                </div>
                <div class="form-group" runat="server" id="FatherFullDetailsDivDiv" visible="false">
                    <div class="col-md-4" id="FatherBdayDiv" runat="server" visible="false">
                        <div class="bg-white">
                            <label for="InputEmail">Birth Date</label>
                            <div class="input-group">
                                <asp:TextBox runat="server" CssClass="form-control" ID="FatherBirthDateTextBox" placeholder="dd/mm/yyyy" onkeypress="OnlyNumericEntry()" />
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" id="F_pan" runat="server" visible="false">
                        <div class="bg-white">
                            <label for="InputName">Father Pan Card</label>
                            <asp:Label ID="FathePancardLabel" runat="server" class="mandatory" Visible="false"></asp:Label>
                            <div class="input-group">
                                <asp:TextBox ID="FatherPancardTextBox" CssClass="form-control" runat="server" placeholder="Father Pan Card"></asp:TextBox>
                                <div id="fpancardnull" class="null-message" style="display: none">Valid Father Pan Card No. is required</div>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" id="Qualificationdiv" runat="server" visible="false">
                        <div class="bg-white">
                            <label for="InputName">Qualification</label>
                            <asp:Label ID="Qualificationlbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                            <div class="input-group">
                                <asp:TextBox ID="FatherQualificationTextBox" CssClass="form-control" runat="server" onkeypress="NumberNotAlllow()" placeholder="Qualification"></asp:TextBox>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" id="Occupationdiv" runat="server" visible="false">
                        <div class="bg-white">
                            <label for="InputName">Occupation</label>
                            <asp:Label ID="Occupationlbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                            <div class="input-group">
                                <asp:TextBox ID="FatherOccupationTextBox" CssClass="form-control" runat="server" onkeypress="NumberNotAlllow()" placeholder="Occupation"></asp:TextBox>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" id="Emaildiv" runat="server" visible="false">
                        <div class="bg-white">
                            <label for="InputName">Email</label>
                            <asp:Label ID="Emaillbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                            <div class="input-group">
                                <asp:TextBox ID="FatherEmailTextBox" CssClass="form-control" runat="server" placeholder="Email" onchange="validateEmail(this)"></asp:TextBox>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" id="YearIncomeDiv" runat="server" visible="false">
                        <div class="bg-white">
                            <label for="InputEmail">Annual Income</label>
                            <asp:Label ID="Yearlyincomelbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                            <div class="input-group">
                                <asp:TextBox runat="server" CssClass="form-control" ID="FatherYearlyIncomeTextBox" MaxLength="10" placeholder="Yearly Income"
                                    onkeypress="return isNumberKey(event)" onkeyup="if (/\D/g.test(this.value)) this.value = this.value.replace(/\D/g,'')" />
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" id="OrgDiv" runat="server" visible="false">
                        <div class="bg-white">
                            <label for="InputName">Organization</label>
                            <asp:Label ID="Organizationlbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                            <div class="input-group">
                                <asp:TextBox ID="FatherOrganizationTextBox" CssClass="form-control" runat="server" onkeypress="checkNum()" placeholder="Organization"></asp:TextBox>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" id="Designation" runat="server" visible="false">
                        <div class="bg-white">
                            <label for="InputName">Designation</label>
                            <asp:Label ID="Designationlbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                            <div class="input-group">
                                <asp:TextBox ID="DesignationTextBox" CssClass="form-control" runat="server" placeholder="Designation" onkeypress="NumberNotAlllow()"></asp:TextBox>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" id="OfficePhone" runat="server" visible="false">
                        <div class="bg-white">
                            <label for="InputName">OfficePhone</label>
                            <asp:Label ID="OfficePhonelbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                            <div class="input-group">
                                <asp:TextBox ID="FatherOfficePhoneTextBox" CssClass="form-control" runat="server" onkeypress="return isNumberKey(event)" placeholder="OfficePhone"
                                    MaxLength="12" onkeyup="if (/\D/g.test(this.value)) this.value = this.value.replace(/\D/g,'')"></asp:TextBox>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4 height64" id="ExStudent" runat="server" visible="false">
                        <div class="bg-white">
                            <label class="material-checkbox">
                                <asp:CheckBox ID="FatherExStudentCheckBox" runat="server"></asp:CheckBox>
                                <span>Father ExStudent</span>
                            </label>
                        </div>
                    </div>
                    <div class="col-md-4" id="FatherExStudentDiv" style="display: none;">
                        <div class="bg-white">
                            <label for="InputName">Father PassOutYear</label>
                            <div class="input-group">
                                <asp:TextBox ID="FatherPassOutYearTextBox" CssClass="form-control" runat="server" placeholder="Father PassOutYear"
                                    onkeypress="return isNumberKey(event)" onkeyup="if (/\D/g.test(this.value)) this.value = this.value.replace(/\D/g,'')"></asp:TextBox>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" id="OfficeAddressDiv" runat="server" visible="false">
                        <div class="bg-white">
                            <label for="InputName">Office Address </label>
                            <asp:Label ID="OfficeAddresslbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                            <div class="input-group">
                                <asp:TextBox ID="FatherOfficeAddressTextBox" CssClass="form-control" Height="40px" TextMode="MultiLine" runat="server" placeholder="Office Address"></asp:TextBox>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" id="FatherPhotoDiv" runat="server" visible="false">
                        <div class="bg-white">
                            <label for="InputEmail">Photo</label>
                            <asp:Label ID="Photolbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                            <div class="input-group">
                                <div class="file-upload">
                                    <div class="file-select">
                                        <div class="file-select-button">Choose File</div>
                                        <asp:FileUpload ID="FatherFileUpload" CssClass="inputfile" runat="server" onchange="ValidateFileSize1(this);" />
                                        <label class="file-select-name"><span></span>No file chosen...</label>
                                    </div>
                                </div>
                                <img runat="server" id="FatherImage" height="50" width="50" style="margin-top: 10px; width: 78px; height: 69px" />
                                <asp:Label ID="FatherImageLabel" Text="(File should be less then" runat="server" ForeColor="BlueViolet" />
                                <asp:Label ID="FatherSuccessImageLabel" Text="Uploaded Successfully" runat="server" Style="display: none"></asp:Label>
                            </div>
                        </div>
                    </div>




                </div>
                <div class="cBoth"></div>
                <div class="form-group" id="FatherAcdemicDeatil" runat="server" visible="false">
                    <div class="col-lg-12 padd-0">
                        <div class="topic-header">
                            <h5 class="sectionh5">
                                <span id="Span1" runat="server" text=""><i class="fas fa-graduation-cap bg-lav"></i>&nbsp;Father's Academic Details / Highest Qualification</span>
                            </h5>
                        </div>
                        <div class="col-lg-12 bg-white">
                            <div class=" table-responsive padd-5">
                                <asp:GridView ID="AdmissionSetupGridViewFather" runat="server" Width="100%" AutoGenerateColumns="False"
                                    AllowPaging="false" Showtopic-header="True"
                                    CssClass="table table-striped table-bordered table-hover">
                                    <Columns>
                                        <asp:TemplateField HeaderText="Class / Degree" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                            <ItemTemplate>
                                                <asp:TextBox ID="ClassNameTextBox" runat="server" CssClass="form-control" SkinID="CustomWidthTextBox" MaxLength="100" Text='<%# Bind("ClassName") %>'></asp:TextBox>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="Academic Year" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                            <ItemTemplate>
                                                <asp:TextBox ID="AcademicYearTextBox" runat="server" CssClass="form-control" SkinID="CustomWidthTextBox" MaxLength="100" Text='<%# Bind("AcademicYear") %>'></asp:TextBox>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="Name of Institute" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                            <ItemTemplate>
                                                <asp:TextBox ID="InstituteNameTextBox" runat="server" CssClass="form-control" SkinID="CustomWidthTextBox" MaxLength="100" Text='<%# Bind("InstituteName") %>'></asp:TextBox>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="City" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                            <ItemTemplate>
                                                <asp:TextBox ID="InstituteCityTextBox" runat="server" CssClass="form-control" SkinID="CustomWidthTextBox" MaxLength="100" Text='<%# Bind("InstituteCity") %>'></asp:TextBox>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="Board / University" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                            <ItemTemplate>
                                                <asp:TextBox ID="InstituteAffiliatonTextBox" runat="server" CssClass="form-control" SkinID="CustomWidthTextBox" MaxLength="100" Text='<%# Bind("InstituteAffiliaton") %>'></asp:TextBox>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="Medium of Study" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                            <ItemTemplate>
                                                <asp:TextBox ID="LanguageTextBox" runat="server" CssClass="form-control" SkinID="CustomWidthTextBox" MaxLength="100" Text='<%# Bind("Language") %>'></asp:TextBox>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                    </Columns>
                                    <PagerSettings Visible="False" />
                                </asp:GridView>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="cBoth"></div>
                <div class="form-group" runat="server" id="MotherFamilyDetailsDiv" visible="false">
                    <div class="col-lg-12 padd-0">
                        <div class="topic-header">
                            <h5 class="sectionh5">
                                <span id="MotherInformationLabel" runat="server" text=""><i class="fas fa-users bg-green"></i>&nbsp;Mother's Information</span>
                            </h5>
                        </div>

                        <div class="col-md-4" runat="server" id="MotherNameDiv" visible="false">
                            <div class="bg-white">
                                <label for="InputName">Full Name</label>
                                <asp:Label ID="MFullNamelbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                                <div class="input-group">
                                    <asp:TextBox ID="MotherNameTextBox" CssClass="form-control" runat="server" onkeypress="NumberNotAlllow()" placeholder="Name"></asp:TextBox>
                                </div>
                            </div>
                        </div>

                        <div class="col-md-4" runat="server" id="MotherMobilNoDiv" visible="false">
                            <div class="bg-white">
                                <label for="InputName">Mobile No.</label>
                                <asp:Label ID="MotherMobilNolbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                                <div class="input-group">
                                    <asp:TextBox ID="MotherMobilNoTextBox" CssClass="form-control" runat="server" onkeypress="return isNumberKey(event)" placeholder="Mobile No."
                                        MaxLength="12" onkeyup="if (/\D/g.test(this.value)) this.value = this.value.replace(/\D/g,'')"> </asp:TextBox>
                                    <div id="mmobilenull" class="null-message" style="display: none">Valid Mobile no. is required</div>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4" id="MotherAadhaarNumberDiv" runat="server" visible="false">
                            <div class="bg-white">
                                <label for="InputName">Mother Aadhaar Number</label>
                                <asp:Label ID="MotherAadhaarNoLabel" runat="server" class="mandatory" Visible="false"></asp:Label>
                                <div class="input-group">
                                    <asp:TextBox ID="MotherAadhaarNoTextBox" CssClass="form-control" runat="server" onkeypress="return isNumberKeys(event)" MaxLength="12"
                                        placeholder="Mother Aadhaar Number" onkeyup="if (/\D/g.test(this.value)) this.value = this.value.replace(/\D/g,'')"></asp:TextBox>
                                </div>
                            </div>
                        </div>

                    </div>
                </div>
                <div class="form-group" runat="server" id="MotherFullDetailsDivDiv" visible="false">
                    <div class="col-md-4" id="MotherBdayDiv" runat="server" visible="false">
                        <div class="bg-white">
                            <label for="InputEmail">Birth Date</label>
                            <asp:Label ID="MotherBdaylbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                            <div class="input-group">
                                <asp:TextBox runat="server" CssClass="form-control" ID="MotherBirthDateTextBox" placeholder="dd/mm/yyyy" onkeypress="OnlyNumericEntry()" />
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" id="M_pan" runat="server" visible="false">
                        <div class="bg-white">
                            <label for="InputName">Mother Pan Card</label>
                            <asp:Label ID="MotherPancardLabel" runat="server" class="mandatory" Visible="false"></asp:Label>
                            <div class="input-group">
                                <asp:TextBox ID="MotherPancardTextBox" CssClass="form-control" runat="server" placeholder="Mother Pan Card"></asp:TextBox>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" runat="server" visible="false" id="MQualificationDiv">
                        <div class="bg-white">
                            <label for="InputName">Qualification</label>
                            <asp:Label ID="MQualificationlbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                            <div class="input-group">
                                <asp:TextBox ID="MotherQualificationTextBox" CssClass="form-control" runat="server" placeholder="Qualification" onkeypress="NumberNotAlllow()"></asp:TextBox>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" runat="server" visible="false" id="MotherOccDiv">
                        <div class="bg-white">
                            <label for="InputName">Occupation</label>
                            <asp:Label ID="MOccupationlbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                            <div class="input-group">
                                <asp:TextBox ID="MotherOccupationTextBox" CssClass="form-control" runat="server" onkeypress="NumberNotAlllow()" placeholder="Occupation"></asp:TextBox>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" runat="server" visible="false" id="MotherEmailDiv">
                        <div class="bg-white">
                            <label for="InputName">Email</label>
                            <asp:Label ID="MotherEmaillbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                            <div class="input-group">
                                <asp:TextBox ID="MotherEmailTextBox" CssClass="form-control" runat="server" placeholder="Email" onchange="validateEmail(this)"></asp:TextBox>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" runat="server" visible="false" id="MotherYIncomeDIv">
                        <div class="bg-white">
                            <label for="InputEmail">Annual Income</label>
                            <asp:Label ID="MotherYIncomelbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                            <div class="input-group">
                                <asp:TextBox runat="server" CssClass="form-control" ID="MotherIncomeTextBox" MaxLength="10" placeholder="Yearly Income"
                                    onkeypress="return isNumberKey(event)" onkeyup="if (/\D/g.test(this.value)) this.value = this.value.replace(/\D/g,'')" />
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" runat="server" visible="false" id="MotherOrgDiv">
                        <div class="bg-white">
                            <label for="InputName">Organization</label>
                            <asp:Label ID="MotherOrglbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                            <div class="input-group">
                                <asp:TextBox ID="MotherOrganizationTextBox" CssClass="form-control" runat="server" onkeypress="checkNum()" placeholder="Organization"></asp:TextBox>
                            </div>
                        </div>
                    </div>

                    <div class="col-md-4" runat="server" visible="false" id="MohterDesignationDiv">
                        <div class="bg-white">
                            <label for="InputName">Designation</label>
                            <asp:Label ID="MDesignationlbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                            <div class="input-group">
                                <asp:TextBox ID="MotherDesignationTextBox" CssClass="form-control" runat="server" onkeypress="NumberNotAlllow()" placeholder="Designation"></asp:TextBox>
                            </div>
                        </div>
                    </div>

                    <div class="col-md-4" runat="server" visible="false" id="MotherOfficePhDiv">
                        <div class="bg-white">
                            <label for="InputName">OfficePhone</label>
                            <asp:Label ID="MOfficePhonelbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                            <div class="input-group">
                                <asp:TextBox ID="MotherOfficePhoneTextBox" CssClass="form-control" runat="server" onkeypress="return isNumberKey(event)" placeholder="OfficePhone"
                                    MaxLength="12" onkeyup="if (/\D/g.test(this.value)) this.value = this.value.replace(/\D/g,'')"></asp:TextBox>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4 height64" runat="server" visible="false" id="MotherExDiv">
                        <div class="bg-white">
                            <label class="material-checkbox">
                                <asp:CheckBox ID="MotherExStudentCheckBox" runat="server" SkinID=""></asp:CheckBox>
                                <span>Mother ExStudent</span>
                            </label>
                        </div>
                    </div>
                    <div class="col-md-4" id="MotherExStudentdiv" style="display: none;">
                        <div class="bg-white">
                            <label for="InputName">Mother PassOutYear</label>
                            <asp:Label ID="MotherExStudentlbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                            <div class="input-group">
                                <asp:TextBox ID="MotherPassOutyearTextBox" runat="server" CssClass="form-control" placeholder="Mother PassOutyear"
                                    onkeypress="return isNumberKey(event)" onkeyup="if (/\D/g.test(this.value)) this.value = this.value.replace(/\D/g,'')"></asp:TextBox>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" runat="server" visible="false" id="MotherOfficeAddDiv">
                        <div class="bg-white">
                            <label for="InputName">Office Address </label>
                            <asp:Label ID="MotherOfficeAddlbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                            <div class="input-group">
                                <asp:TextBox ID="MotherOfficeAddressTextBox" CssClass="form-control" TextMode="MultiLine" Height="40px" runat="server" placeholder="Office Address"></asp:TextBox>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" runat="server" visible="false" id="MotherPhotoDiv">
                        <div class="bg-white">
                            <label for="InputEmail">Photo</label>
                            <asp:Label ID="MPhotolbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                            <div class="input-group">
                                <div class="file-upload">
                                    <div class="file-select">
                                        <div class="file-select-button">Choose File</div>
                                        <asp:FileUpload ID="MotherFileUpload" CssClass="inputfile" runat="server" onchange="ValidateFileSize1(this);" />
                                        <label class="file-select-name"><span></span>No file chosen...</label>
                                    </div>
                                </div>
                                <img runat="server" id="MotherImage" height="50" width="50" style="margin-top: 10px; width: 78px; height: 69px" />
                                <asp:Label ID="MotherImageLabel" Text="(file should be less then" runat="server" ForeColor="blueviolet" />
                                <asp:Label ID="MotherSuccessImageLabel" Text="Uploaded Successfully" runat="server" Style="display: none"></asp:Label>
                            </div>
                        </div>
                    </div>


                </div>
                <div class="cBoth"></div>
                <div class="form-group" runat="server" id="MotherAcedamicDetailsDiv" visible="false">
                    <div class="col-lg-12 padd-0">
                        <div class="topic-header">
                            <h5 class="sectionh5">
                                <span id="Span2" runat="server" text=""><i class="fas fa-graduation-cap bg-lav"></i>&nbsp;Mother's Academic Details / Highest Qualification</span>
                            </h5>
                        </div>
                        <div class="col-lg-12 bg-white">
                            <div class="table-responsive padd-5">
                                <asp:GridView ID="AdmissionSetupGridViewMother" runat="server" Width="100%" AutoGenerateColumns="False"
                                    AllowPaging="false" Showtopic-header="True"
                                    CssClass="table table-striped table-bordered table-hover">
                                    <Columns>
                                        <asp:TemplateField HeaderText="Class / Degree" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                            <ItemTemplate>
                                                <asp:TextBox ID="ClassNameTextBox" CssClass="form-control" runat="server" SkinID="CustomWidthTextBox" MaxLength="100" Text='<%# Bind("ClassName") %>'></asp:TextBox>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="Academic Year" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                            <ItemTemplate>
                                                <asp:TextBox ID="AcademicYearTextBox" CssClass="form-control" runat="server" SkinID="CustomWidthTextBox" MaxLength="100" Text='<%# Bind("AcademicYear") %>'></asp:TextBox>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="Name of Institute" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                            <ItemTemplate>
                                                <asp:TextBox ID="InstituteNameTextBox" CssClass="form-control" runat="server" SkinID="CustomWidthTextBox" MaxLength="100" Text='<%# Bind("InstituteName") %>'></asp:TextBox>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="City" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                            <ItemTemplate>
                                                <asp:TextBox ID="InstituteCityTextBox" CssClass="form-control" runat="server" SkinID="CustomWidthTextBox" MaxLength="100" Text='<%# Bind("InstituteCity") %>'></asp:TextBox>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="Board / University" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                            <ItemTemplate>
                                                <asp:TextBox ID="InstituteAffiliatonTextBox" CssClass="form-control" runat="server" SkinID="CustomWidthTextBox" MaxLength="100" Text='<%# Bind("InstituteAffiliaton") %>'></asp:TextBox>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="Medium of Study" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                            <ItemTemplate>
                                                <asp:TextBox ID="LanguageTextBox" CssClass="form-control" runat="server" SkinID="CustomWidthTextBox" MaxLength="100" Text='<%# Bind("Language") %>'></asp:TextBox>
                                            </ItemTemplate>
                                        </asp:TemplateField>

                                    </Columns>
                                    <PagerSettings Visible="False" />
                                </asp:GridView>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="cBoth"></div>
                <div class="form-group" runat="server" id="GuardianDetailsDiv" visible="false">
                    <div class="col-lg-12 padd-0">
                        <div class="topic-header">
                            <h5 class="sectionh5">
                                <span id="GuardianInformationLabel" runat="server" text=""><i class="fas fa-users bg-dblue"></i>&nbsp;Guardian's Information (In case residing with Guardian)</span>
                            </h5>
                        </div>
                        <div class="col-md-4" runat="server" visible="false" id="GuardianNameDiv">
                            <div class="bg-white">
                                <label for="InputName">Full Name</label>
                                <asp:Label ID="GuardianNamelbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                                <div class="input-group">
                                    <asp:TextBox ID="GuardianNameTextBox" CssClass="form-control" runat="server" onkeypress="NumberNotAlllow()" placeholder="Name"></asp:TextBox>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4" runat="server" visible="false" id="GuardMobDiv">
                            <div class="bg-white">
                                <label for="InputName">Mobile No.</label>
                                <asp:Label ID="GuardMoblbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                                <div class="input-group">
                                    <asp:TextBox ID="GuardianMobileNoTextBox" CssClass="form-control" runat="server" onkeypress="return isNumberKey(event)" placeholder="Mobile No."
                                        MaxLength="12" onkeyup="if (/\D/g.test(this.value)) this.value = this.value.replace(/\D/g,'')"></asp:TextBox>
                                    <div id="gmobilenull" class="null-message" style="display: none">Valid Mobile no. is required</div>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4" id="GuardianAadhaarNumberDiv" runat="server" visible="false">
                            <div class="bg-white">
                                <label for="InputName">Guardian Aadhaar Number</label>
                                <asp:Label ID="GuardianAadhaarNoLabel" runat="server" class="mandatory" Visible="false"></asp:Label>
                                <div class="input-group">
                                    <asp:TextBox ID="GuardianAadhaarNoTextBox" CssClass="form-control" runat="server" onkeypress="return isNumberKeys(event)" MaxLength="12"
                                        placeholder="Guardian Aadhaar Number" onkeyup="if (/\D/g.test(this.value)) this.value = this.value.replace(/\D/g,'')"></asp:TextBox>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="form-group" runat="server" id="GuardianFullDetailsDiv" visible="false">
                    <div class="col-lg-12 padd-0">
                        <div class="col-md-4" runat="server" id="GuardianBdayDiv" visible="false">
                            <div class="bg-white">
                                <label for="InputEmail">Birth Date</label>
                                <asp:Label ID="GuardianBdaylbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                                <div class="input-group">
                                    <asp:TextBox runat="server" CssClass="form-control" ID="GuardianBirthDateTextBox" placeholder="dd/mm/yyyy" onkeypress="OnlyNumericEntry()" />
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4" runat="server" visible="false" id="GuardQualDiv">
                            <div class="bg-white">
                                <label for="InputName">Qualification</label>
                                <asp:Label ID="GuardQuallbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                                <div class="input-group">
                                    <asp:TextBox ID="GuardianQualificationTextBox" CssClass="form-control" runat="server" placeholder="Qualification" onkeypress="NumberNotAlllow()"></asp:TextBox>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4" runat="server" visible="false" id="GuardOccDiv">
                            <div class="bg-white">
                                <label for="InputName">Occupation</label>
                                <asp:Label ID="GuardOcclbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                                <div class="input-group">
                                    <asp:TextBox ID="GuardianOccupationTextBox" CssClass="form-control" runat="server" onkeypress="NumberNotAlllow()" placeholder="Occupation"></asp:TextBox>
                                </div>
                            </div>
                        </div>

                        <div class="col-md-4" runat="server" visible="false" id="GuardEmailDiv">
                            <div class="bg-white">
                                <label for="InputName">Email</label>
                                <asp:Label ID="GuardEmaillbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                                <div class="input-group">
                                    <asp:TextBox ID="GuardianEmailTextBox" CssClass="form-control" runat="server" placeholder="Email" onchange="validateEmail(this)"></asp:TextBox>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4" runat="server" visible="false" id="GuardYIDiv">
                            <div class="bg-white">
                                <label for="InputEmail">Annual Income</label>
                                <asp:Label ID="GuardYIlbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                                <div class="input-group">
                                    <asp:TextBox runat="server" ID="GuardianYearlyIncomeTextBox" CssClass="form-control" MaxLength="10" placeholder="Yearly Income"
                                        onkeypress="return isNumberKey(event)" onkeyup="if (/\D/g.test(this.value)) this.value = this.value.replace(/\D/g,'')" />
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4" runat="server" visible="false" id="GuardOrgDiv">
                            <div class="bg-white">
                                <label for="InputName">Organization</label>
                                <asp:Label ID="GuardOrglbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                                <div class="input-group">
                                    <asp:TextBox ID="GuuardianOrganizationTextBox" CssClass="form-control" runat="server" onkeypress="checkNum()" placeholder="Organization"></asp:TextBox>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4" runat="server" visible="false" id="GuardDesiDiv">
                            <div class="bg-white">
                                <label for="InputName">Designation</label>
                                <asp:Label ID="GuardDesilbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                                <div class="input-group">
                                    <asp:TextBox ID="GuuardianDesigantionTextBox" CssClass="form-control" runat="server" onkeypress="NumberNotAlllow()" placeholder="Designation"></asp:TextBox>
                                </div>
                            </div>
                        </div>

                        <div class="col-md-4" runat="server" visible="false" id="GuardOfficeDiv">
                            <div class="bg-white">
                                <label for="InputName">Office Phone</label>
                                <asp:Label ID="GuardOfficelbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                                <div class="input-group">
                                    <asp:TextBox ID="GuardianOfficePhoneTextBox" CssClass="form-control" runat="server" onkeypress="return isNumberKey(event)" placeholder="Office Phone"
                                        MaxLength="12" onkeyup="if (/\D/g.test(this.value)) this.value = this.value.replace(/\D/g,'')"></asp:TextBox>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4" runat="server" visible="false" id="GuardRelWithDiv">
                            <div class="bg-white">
                                <label for="InputEmail">Relation with Guardian</label>
                                <asp:Label ID="GuardRelWithlbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                                <div class="input-group">
                                    <asp:TextBox runat="server" ID="RelationWithGuardianTextBox" onKeyPress="return isCharacterKeys(event)" CssClass="form-control" placeholder="Relation With Guardian" />
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4 height64" runat="server" visible="false" id="GuardExDiv">
                            <div class="bg-white">
                                <label class="material-checkbox">
                                    <asp:CheckBox ID="RelativeExStudentCheckBox" runat="server"></asp:CheckBox>
                                    <span>Relative ExStudent </span>
                                </label>
                            </div>
                        </div>
                        <div class="col-md-4" id="RelativeExStudentdiv" style="display: none;">
                            <div class="bg-white">
                                <label for="InputName">Relative PassOutYear</label>
                                <asp:Label ID="RelativePassOutYearlbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                                <div class="input-group">
                                    <asp:TextBox ID="RelativePassOutYearTextBox" CssClass="form-control" runat="server" placeholder="Relative PassOutYear"
                                        onkeypress="return isNumberKey(event)" onkeyup="if (/\D/g.test(this.value)) this.value = this.value.replace(/\D/g,'')"></asp:TextBox>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4" runat="server" visible="false" id="GuardOffAddDiv">
                            <div class="bg-white">
                                <label for="InputName">Office Address </label>
                                <asp:Label ID="GuardOffAddlbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                                <div class="input-group">
                                    <asp:TextBox ID="GuardianOfficeAddressTextBox" CssClass="form-control" TextMode="MultiLine" Height="40px" runat="server" placeholder="Office Address"></asp:TextBox>
                                </div>
                            </div>
                        </div>

                        <div class="col-md-4" runat="server" visible="false" id="GuardPhotoDiv">
                            <div class="bg-white">
                                <label for="InputEmail">Photo</label>
                                <asp:Label ID="GuardPhotolbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                                <div class="input-group">
                                    <div class="file-upload">
                                        <div class="file-select">
                                            <div class="file-select-button">Choose File</div>
                                            <asp:FileUpload ID="GuardianFileUpload" CssClass="inputfile" runat="server" onchange="ValidateFileSize1(this);" />
                                            <label class="file-select-name"><span></span>No file chosen...</label>
                                        </div>
                                    </div>
                                    <img runat="server" id="GuardianImage" height="50" width="50" style="margin-top: 10px; width: 78px; height: 69px" />
                                    <asp:Label ID="GuardianImageLabel" Text="(File should be less then" runat="server" ForeColor="BlueViolet" />
                                    <asp:Label ID="GuradianSuccessImageLabel" Text="Uploaded Successfully" runat="server" Style="display: none"></asp:Label>
                                </div>
                            </div>
                        </div>

                    </div>
                </div>

                <div class="cBoth"></div>
                <div class="form-group" runat="server" id="GuardianAcdemicDetailsDiv" visible="false">
                    <div class="col-lg-12 padd-0">
                        <div class="topic-header">
                            <h5 class="sectionh5">
                                <span id="Span3" runat="server" text=""><i class="fas fa-graduation-cap bg-lav"></i>&nbsp;Guardian's Academic Details</span>
                            </h5>
                        </div>
                        <div class="col-lg-12 bg-white">
                            <div class="table-responsive padd-5">
                                <asp:GridView ID="AdmissionSetupGridViewGuardian" runat="server" Width="100%" AutoGenerateColumns="False"
                                    AllowPaging="false" Showtopic-header="True"
                                    CssClass="table table-striped table-bordered">
                                    <Columns>
                                        <asp:TemplateField HeaderText="Class" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                            <ItemTemplate>
                                                <asp:TextBox ID="ClassNameTextBox" CssClass="form-control" runat="server" SkinID="CustomWidthTextBox" MaxLength="100" Text='<%# Bind("ClassName") %>'></asp:TextBox>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="Academic Year" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                            <ItemTemplate>
                                                <asp:TextBox ID="AcademicYearTextBox" CssClass="form-control" runat="server" SkinID="CustomWidthTextBox" MaxLength="100" Text='<%# Bind("AcademicYear") %>'></asp:TextBox>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="Name of Institute" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                            <ItemTemplate>
                                                <asp:TextBox ID="InstituteNameTextBox" CssClass="form-control" runat="server" SkinID="CustomWidthTextBox" MaxLength="100" Text='<%# Bind("InstituteName") %>'></asp:TextBox>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="City" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                            <ItemTemplate>
                                                <asp:TextBox ID="InstituteCityTextBox" CssClass="form-control" runat="server" SkinID="CustomWidthTextBox" MaxLength="100" Text='<%# Bind("InstituteCity") %>'></asp:TextBox>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="Board" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                            <ItemTemplate>
                                                <asp:TextBox ID="InstituteAffiliatonTextBox" CssClass="form-control" runat="server" SkinID="CustomWidthTextBox" MaxLength="100" Text='<%# Bind("InstituteAffiliaton") %>'></asp:TextBox>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="Medium of Study" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                            <ItemTemplate>
                                                <asp:TextBox ID="LanguageTextBox" CssClass="form-control" runat="server" SkinID="CustomWidthTextBox" MaxLength="100" Text='<%# Bind("Language") %>'></asp:TextBox>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                    </Columns>
                                    <PagerSettings Visible="False" />
                                </asp:GridView>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="cBoth"></div>
                <div class="form-group" runat="server" id="SiblingDetailsDiv" visible="false">
                    <div class="col-lg-12 padd-0">

                        <div class="topic-header">
                            <h5 class="sectionh5">
                                <span id="MobileNoheaderLabel" runat="server" text=""><i class="fas fa-info-circle bg-brown"></i>&nbsp;Details of Siblings studying/studied</span>
                            </h5>
                        </div>

                        <div class="bg-white col-lg-12">
                            <div class="table-responsive">
                                <asp:GridView ID="AdmissionSetupGridViewSibling" runat="server" Width="100%" AutoGenerateColumns="False"
                                    AllowPaging="false" Showtopic-header="True"
                                    DataKeyNames="Id"
                                    CssClass="table table-striped table-bordered table-hover">
                                    <Columns>
                                        <asp:TemplateField HeaderText="ID No/GR No " ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                            <ItemTemplate>
                                                <asp:TextBox ID="IDNo_GRNoTextBox" CssClass="form-control" runat="server" SkinID="CustomWidthTextBox" MaxLength="20" Text='<%# Bind("Code") %>'></asp:TextBox>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="Name" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                            <ItemTemplate>
                                                <asp:TextBox ID="SiblingNameTextBox" CssClass="form-control" runat="server" SkinID="CustomWidthTextBox" MaxLength="100" Text='<%# Bind("SiblingName") %>'></asp:TextBox>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="Relation" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                            <ItemTemplate>
                                                <asp:TextBox ID="SiblingRelationTextBox" CssClass="form-control" runat="server" SkinID="CustomWidthTextBox" MaxLength="50" Text='<%# Bind("SiblingRelation") %>'></asp:TextBox>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="Standard" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                            <ItemTemplate>
                                                <asp:TextBox ID="SiblingStandardTextBox" CssClass="form-control" runat="server" SkinID="CustomWidthTextBox" MaxLength="50" Text='<%# Bind("SiblingStandard") %>'></asp:TextBox>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="Board" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                            <ItemTemplate>
                                                <asp:TextBox ID="SiblingBoardTextBox" CssClass="form-control" runat="server" SkinID="CustomWidthTextBox" MaxLength="150" Text='<%# Bind("SiblingBoard") %>'></asp:TextBox> <%--mantis : 0045884--%>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="Institute Name" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                            <ItemTemplate>
                                                <asp:TextBox ID="SiblingSchoolTextBox" CssClass="form-control" runat="server" SkinID="CustomWidthTextBox" MaxLength="150" Text='<%# Bind("SiblingSchool") %>'></asp:TextBox>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                    </Columns>
                                    <PagerSettings Visible="False" />
                                </asp:GridView>
                            </div>
                        </div>
                    </div>

                </div>
                <div class="cBoth"></div>
                <div class="form-group" runat="server" id="ReferenceDetailsDiv" visible="false">
                    <div class="col-lg-12 padd-0">
                        <div class="topic-header">
                            <h5 class="sectionh5">
                                <span id="ReferenceInfromationLabel" runat="server" text=""><i class="fas fa-bookmark bg-info"></i>&nbsp;Reference</span>
                            </h5>
                        </div>

                        <div class="col-lg-12 bg-white">
                            <div class="table-responsive">
                                <asp:GridView ID="AdmissionSetupGridViewReference" runat="server" Width="100%" AutoGenerateColumns="False"
                                    AllowPaging="false" Showtopic-header="True"
                                    CssClass="table table-striped table-bordered" Oncol-lg-12DataBound="AdmissionSetupGridViewReference_col-lg-12DataBound"
                                    OnRowDataBound="AdmissionSetupGridViewReference_RowDataBound">
                                    <Columns>
                                        <asp:TemplateField HeaderText="Reference Detail" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                            <ItemTemplate>
                                                <asp:TextBox ID="ReferenceDetailTextBox" CssClass="form-control" runat="server" SkinID="CustomWidthTextBox" MaxLength="100" Text='<%# Bind("ReferenceDetail") %>'></asp:TextBox>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="Name" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                            <ItemTemplate>
                                                <asp:TextBox ID="ReferenceNameTextBox" CssClass="form-control" runat="server" SkinID="CustomWidthTextBox" MaxLength="100" Text='<%# Bind("ReferenceName") %>'></asp:TextBox>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="Relation" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                            <ItemTemplate>
                                                <asp:TextBox ID="ReferenceRelationTextBox" CssClass="form-control" runat="server" SkinID="CustomWidthTextBox" MaxLength="100" Text='<%# Bind("ReferenceRelation") %>'></asp:TextBox>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="Contact No" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                            <ItemTemplate>
                                                <asp:TextBox ID="ReferenceContactNoTextBox" CssClass="form-control" runat="server" onkeypress="return isNumberKey(event)" SkinID="CustomWidthTextBox" MaxLength="10" Text='<%# Bind("ReferenceContactNo") %>'></asp:TextBox>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                    </Columns>
                                    <PagerSettings Visible="False" />
                                </asp:GridView>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="cBoth"></div>


                <div class="form-group" runat="server" id="HealthDiv" visible="false">
                    <div class="col-lg-12 padd-0">
                        <div class="topic-header">
                            <h5 class="sectionh5">
                                <span id="Label2" runat="server" text=""><i class="fas fa-briefcase-medical bg-red"></i>&nbsp;Health Detail</span>
                            </h5>
                        </div>

                        <div class="col-md-4 height70" runat="server" id="PhysicalDeformitydiv" visible="false">
                            <div class="bg-white">
                                <label class="material-checkbox">
                                    <asp:CheckBox ID="PhysicalDeformityCheckBox"
                                        runat="server" />
                                    <span>Physical Deformity</span>
                                </label>
                            </div>
                        </div>
                        <div class="col-md-4" runat="server" id="pRemarkdiv" visible="false">
                            <div class="bg-white">
                                <label for="InputName">Physical Deformity Remark</label>
                                <asp:Label ID="pRemarklbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                                <div class="input-group">
                                    <asp:TextBox ID="pRemarkTextBox" CssClass="form-control" runat="server" Enabled="false"></asp:TextBox>
                                </div>
                            </div>
                        </div>

                        <div class="col-md-4 height70" runat="server" id="MajorIllnessDiv" visible="false">
                            <div class="bg-white">
                                <label class="material-checkbox">
                                    <asp:CheckBox ID="MajorIllnessCheckBox"
                                        runat="server" />
                                    <span>Major Illness</span>
                                </label>
                            </div>
                        </div>
                        <div class="col-md-4" runat="server" id="MRemarkDiv" visible="false">
                            <div class="bg-white">
                                <label for="InputName">Major Illness Remark</label>
                                <asp:Label ID="MRemarklbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                                <div class="input-group">
                                    <asp:TextBox ID="MRemarkTextBox" CssClass="form-control" runat="server" Enabled="false"></asp:TextBox>
                                </div>
                            </div>
                        </div>

                        <div class="col-md-4 height70" runat="server" id="IsAllergyDiv" visible="false">
                            <div class="bg-white">
                                <label class="material-checkbox">
                                    <asp:CheckBox ID="IsAllergyCheckBox"
                                        runat="server" />
                                    <span>Allergy</span>
                                </label>
                            </div>
                        </div>

                        <div class="col-md-4" runat="server" id="ARemarkDiv" visible="false">
                            <div class="bg-white">
                                <label for="InputName">Allergy Remark</label>
                                <asp:Label ID="ARemarklbl" runat="server" class="mandatory" Visible="false"></asp:Label>
                                <div class="input-group">
                                    <asp:TextBox ID="ARemarkTextBox" CssClass="form-control" runat="server" Enabled="false"></asp:TextBox>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <%--Mantis : 0041087 By Krunal K Patel : Mail OTP Option For Verify Email --%>
                <div class="cBoth"></div>
                <div class="col-md-12 padd-0">
                    <div class="passwordbox">
                        <div class="form-group col-lg-6 padd-0" runat="server" id="OTPDiv" visible="false">
                            <%--<div class="col-lg-6 padd-0">--%>
                            <div class="topic-header">
                                <h5 class="sectionh5">
                                    <span id="Span4" runat="server" text=""><i class="fas fa-info-circle bg-dpurp"></i>&nbsp;Verify Mobile OTP</span>
                                </h5>
                            </div>
                            <div class="col-md-4">
                                <div class="bg-white">
                                    <label for="MobileNoLable">Enter Mobile OTP</label>
                                    <div class="input-group">
                                        <asp:TextBox ID="OTPTextBox" CssClass="form-control" runat="server" placeholder="OTP" onkeypress="return isNumberKey(event)" Enabled="false"></asp:TextBox>
                                    </div>
                                </div>
                            </div>
                            <div class="col-md-4">
                                <asp:Button ID="OTPButton" runat="server" CssClass="btn green fas" Text="Send OTP" OnClick="OTPButton_Click" />
                            </div>
                            <%--</div>--%>
                        </div>
                        <div class="form-group col-lg-6 padd-0" runat="server" id="OTPEmailDiv" visible="false">
                            <div class="topic-header">
                                <h5 class="sectionh5">
                                    <span id="Span5" runat="server" text=""><i class="fas fa-info-circle bg-dpurp"></i>&nbsp;Verify Email OTP </span>
                                </h5>
                            </div>
                            <div class="col-md-4">
                                <div class="bg-white">
                                    <label for="MobileNoLable">Enter Email OTP</label>
                                    <div class="input-group">
                                        <asp:TextBox ID="OTPTextBoxEmail" CssClass="form-control" runat="server" placeholder="OTP" onkeypress="return isNumberKey(event)" Enabled="false"></asp:TextBox>
                                    </div>
                                </div>
                            </div>
                            <div class="col-md-4">
                                <asp:Button ID="OTPButtonEmail" runat="server" CssClass="btn green fas" Text="Send OTP" OnClick="OTPButtonEmail_Click" />
                            </div>
                        </div>
                    </div>
                </div>
                <div class="cBoth"></div>
                <div class="col-md-12 padd-0">
                    <div class="passwordbox">
                        <div class="form-group col-lg-6 padd-0" runat="server" id="PasswordDiv">
                            <div class="topic-header">
                                <h5 class="sectionh5">
                                    <span id="Password" runat="server" text="password" cssclass="mandatory"><i class="fas fa-unlock-alt bg-aqua"></i>&nbsp;Password</span>
                                </h5>
                            </div>

                            <div class="col-lg-6 padd-0">
                                <div class="bg-white">
                                    <label for="InputName" class="mandatory">Password</label>
                                    <div class="input-group">
                                        <asp:TextBox ID="PasswordTextBox" CssClass="form-control" runat="server" TextMode="Password" onkeypress="CheckPassword()" placeholder="&#9679;&#9679;&#9679;&#9679;&#9679;" ReadOnly="true" onfocus="this.removeAttribute('readonly');"></asp:TextBox>
                                        <div id="passnull" class="null-message" style="display: none"><i class="fas fa-lock-open"></i>Password is required</div>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="form-group col-lg-6 padd-0" runat="server" id="ConfirmPasswordDiv">
                            <div class="topic-header">
                                <h5 class="sectionh5">
                                    <span id="Label1" runat="server" text="Confirm Password" cssclass="mandatory"><i class="fas fa-unlock-alt bg-jade"></i>&nbsp;Confirm Password</span>
                                </h5>

                            </div>

                            <div class="col-lg-6">
                                <div class="bg-white">
                                    <div class="input-group">
                                        <label for="InputName" class="mandatory">Confirm Password</label>
                                        <asp:TextBox ID="ConfirmPasswordTextBox" CssClass="form-control" runat="server" TextMode="Password" onkeypress="CheckPassword()" placeholder="&#9679;&#9679;&#9679;&#9679;&#9679;" ReadOnly="true" onfocus="this.removeAttribute('readonly');"></asp:TextBox>
                                        <div id="confirmpassnull" class="null-message" style="display: none">Confirmation is required</div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                </div>

                <div class="col-lg-12 text-center registerbuttondiv">
                    <asp:Button ID="RegisterButton" runat="server" CssClass="btn green fas" Text="&#xf044; Submit" OnClick="RegisterButton_Click" OnClientClick="return confirm('Are you sure you want to Register ?')" />
                    <asp:Button ID="CancelButton" Text="&#xf00d; Cancel" CssClass="btn red fas" runat="server" OnClick="CancelButton_Click" />
                </div>
            </div>
        </form>
    </div>

</body>
</html>
<script src='<%# ResolveUrl("~/App_Themes/BlackTheme/plugins/jQueryUI/jquery-ui.min.js")%>' type="text/javascript"></script>
<script src="//code.jquery.com/jquery-1.10.2.js"></script>
<script src="//code.jquery.com/ui/1.11.4/jquery-ui.js"></script>
<script data-main='<%=ResolveUrl("~/JavaScript/rjs/student-all")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
<script type="text/javascript">
    $(document).ready(function () {
        if ($('#FatherExStudentCheckBox').is(':checked')) {
            $('#FatherExStudentDiv').show();
            $("#FatherPassOutYearTextBox").focus();
        }
        else {
            $('#FatherExStudentDiv').hide();
        }
        if ($('#MotherExStudentCheckBox').is(':checked')) {
            $("#MotherExStudentdiv").show();
            $("#MotherPassOutyearTextBox").focus();
        }
        else {
            $("#MotherExStudentdiv").hide();
        }
        if ($("#RelativeExStudentCheckBox").is(':checked')) {
            $("#RelativeExStudentdiv").show();
            $("#RelativePassOutYearTextBox").focus();
        }
        else {
            $("#RelativeExStudentdiv").hide();
        }


    });
    //Changes for mantis : 0038705 By Krunal K Patel Added FieldTypeDatePicker 
    $(function () {
        var currentYear = (new Date).getFullYear();

        $("input[id*='FieldTypeDatePicker']").datepicker({
            dateFormat: 'dd/mm/yy',
            changeYear: true,
            changeMonth: true,
            yearRange: "1950:currentYear"
        }).val();
    });
    $(function () {
        var currentYear = (new Date).getFullYear();
        $("#BirthDateTextBox").datepicker({
            dateFormat: 'dd/mm/yy',
            changeYear: true,
            changeMonth: true,
            yearRange: "1950:currentYear"
        }).val();
    });
    function FormatIt(obj) {
        if (obj.value.length == 2)
            obj.value = obj.value + "/";
        if (obj.value.length == 5)
            obj.value = obj.value + "/";
    }
    function fnValidateDecimal(evt) {
        var re = /^[-+]?[0-9]+\.[0-9]+$/;
        if (evt.match(re)) {
            return true;
        }
        else {
            return false;
        }


    }
    function isNumberKey(evt) {
        var charCode = (evt.which) ? evt.which : event.keyCode
        if (charCode > 31 && (charCode < 48 || charCode > 57)) {
            return false;
        }
        else {
            var mobile = document.getElementById("MobileNoTextBox").value;
            var DOB = document.getElementById("BirthDateTextBox").value;
            if (mobile != "") {
                document.getElementById("mobilenull").style.display = 'none';
            }
            if (DOB != "") {
                document.getElementById("dobdnull").style.display = 'none';
            }
        }
    }
    function CheckPassword() {
        var pass = document.getElementById("PasswordTextBox").value;
        var conpass = document.getElementById("ConfirmPasswordTextBox").value;
        if (pass != "") {
            document.getElementById("passnull").style.display = 'none';
        }
        if (conpass != "") {
            document.getElementById("confirmpassnull").style.display = 'none';
        }
    }

    function NumberNotAlllow() {
        if ((event.keyCode > 64 && event.keyCode < 91) || (event.keyCode > 96 && event.keyCode < 123)

       || event.keyCode == 8 || event.keyCode == 32 || event.keyCode == 13 || event.keyCode ==

       176) {
            event.returnValue = true;
        }
        else {
            event.returnValue = false;
        }
    }

    function validateEmail(email) {
        var filter = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
        if (!filter.test(email.value)) {
            alert('Please provide a valid email address');
            email.focus;
            email.value = "";
            return false;
        }
    }

    $("#FatherExStudentCheckBox").click(function () {
        if ($('#FatherExStudentCheckBox').is(':checked')) {
            $('#FatherExStudentDiv').show();
        }
        else {
            $('#FatherExStudentDiv').hide();
        }

    });

    $("#MotherExStudentCheckBox").click(function () {
        if ($('#MotherExStudentCheckBox').is(':checked')) {
            $("#MotherExStudentdiv").show();
        }
        else {
            $("#MotherExStudentdiv").hide();
        }
    });

    $("#RelativeExStudentCheckBox").click(function () {
        if ($("#RelativeExStudentCheckBox").is(':checked')) {
            $("#RelativeExStudentdiv").show();
        }
        else {
            $("#RelativeExStudentdiv").hide();
        }

    });
</script>
<script>
    (function (document, window, index) {
        var inputs = document.querySelectorAll('.inputfile');
        Array.prototype.forEach.call(inputs, function (input) {
            var label = input.nextElementSibling,
                labelVal = label.innerHTML;

            input.addEventListener('change', function (e) {
                var fileName = '';
                if (this.files && this.files.length > 1)
                    fileName = (this.getAttribute('data-multiple-caption') || '').replace('{count}', this.files.length);
                else
                    fileName = e.target.value.split('\\').pop();

                if (fileName)
                    label.querySelector('span').innerHTML = fileName;
                else
                    label.innerHTML = labelVal;
            });

            // Firefox bug fix
            input.addEventListener('focus', function () { input.classList.add('has-focus'); });
            input.addEventListener('blur', function () { input.classList.remove('has-focus'); });
        });
    }(document, window, 0));
    function isNumberKeys(evt) {
        var charcode = (evt.which) ? evt.which : event.keycode;
        if ((charcode >= 48 && charcode <= 57) || charcode == 32)
            return true;
        return false;
    }

    function ValidateFileSize1(obj) {
        if (Validate(obj)) {

            var id = obj.id;
            var file_size = (document.getElementById(id).files[0].size / 1024);
            var SizeLimit = $('#ImageMaxSize').val();

            if ($('#AttachmentSizeHiddenField').val() != '') {
                if (file_size > $('#AttachmentSizeHiddenField').val()) {
                    alert('File should be less than ' + $('#AttachmentSizeHiddenField').val() + ' KB');
                    document.getElementById(id).value = "";
                }
                else {
                    if (id == "StudentFileUpload") {
                        document.getElementById('StudentImage').src = window.URL.createObjectURL(obj.files[0]);
                        document.getElementById('StudentSuccessImageLabel').style.display = 'inherit';
                    }
                    else if (id == "FatherFileUpload") {
                        document.getElementById('FatherImage').src = window.URL.createObjectURL(obj.files[0]);
                        document.getElementById('FatherSuccessImageLabel').style.display = 'inherit';
                    }
                    else if (id == "MotherFileUpload") {
                        document.getElementById('MotherImage').src = window.URL.createObjectURL(obj.files[0]);
                        document.getElementById('MotherSuccessImageLabel').style.display = 'inherit';
                    }
                    else if (id == "GuardianFileUpload") {
                        document.getElementById('GuardianImage').src = window.URL.createObjectURL(obj.files[0]);
                        document.getElementById('GuardianSuccessImageLabel').style.display = 'inherit';
                    }
                    //}
                }
            }

            //else
            //{
            //    document.getElementById("StudentFileUpload").value = '';
            //    document.getElementById("FatherFileUpload").value = '';
            //    document.getElementById("MotherFileUpload").value = '';
            //    document.getElementById("GuardianFileUpload").value = '';

            //}
        }

    }

    function Validate(obj) {
        var id = obj.id;
        var file = document.getElementById(id).value;
        var validExtensions = ["jpg", "jpeg", "bmp", "png"]
        var file1 = file.split('.').pop();
        if (validExtensions.indexOf(file1.toLowerCase()) == -1) { //changes for mantis id:0046053
            alert("Image should be in format : " + validExtensions.join(', '));
            document.getElementById(id).value = "";
            return false;
        }
        else
            return true;
    }

    $(function () {
        $("#IsAllergyCheckBox").click(function () {
            if ($(this).is(":checked")) {
                $("#ARemarkTextBox").removeAttr("disabled");
                $("#ARemarkTextBox").focus();
            } else {
                $("#ARemarkTextBox").attr("disabled", "disabled");
            }
        });
    });

    $(function () {
        $("#PhysicalDeformityCheckBox").click(function () {
            if ($(this).is(":checked")) {
                $("#pRemarkTextBox").removeAttr("disabled");
                $("#pRemarkTextBox").focus();
            } else {
                $("#pRemarkTextBox").attr("disabled", "disabled");
            }
        });
    });

    $(function () {
        $("#IsAllergyCheckBox").click(function () {
            if ($(this).is(":checked")) {
                $("#ARemarkTextBox").removeAttr("disabled");
                $("#ARemarkTextBox").focus();
            } else {
                $("#ARemarkTextBox").attr("disabled", "disabled");
            }
        });
    });

    $(function () {
        $("#MajorIllnessCheckBox").click(function () {
            if ($(this).is(":checked")) {
                $("#MRemarkTextBox").removeAttr("disabled");
                $("#MRemarkTextBox").focus();
            } else {
                $("#MRemarkTextBox").attr("disabled", "disabled");
            }
        });
    });

</script>
<script>
    function isCharacterKeys(evt) {
        var charcode = (evt.which) ? evt.which : event.keycode;
        if ((charcode >= 65 && charcode <= 90) || (charcode >= 97 && charcode <= 122) || charcode == 32)
            return true;
        return false;
    }

    $(document).ready(function () {
        var check = document.getElementById('<%=CheckPaymentRemarkHiddenField.ClientID %>').value;
        var browser = get_browser();
        if (browser.name == "Chrome" && check == "true") {
            $('#PaymentRemarkDiv').show();
        }
    });

        function get_browser() {
            var ua = navigator.userAgent, tem, M = ua.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i) || [];
            if (/trident/i.test(M[1])) {
                tem = /\brv[ :]+(\d+)/g.exec(ua) || [];
                return { name: 'IE', version: (tem[1] || '') };
            }
            if (M[1] === 'Chrome') {
                tem = ua.match(/\bOPR|Edge\/(\d+)/)
                if (tem != null) { return { name: 'Opera', version: tem[1] }; }
            }
            M = M[2] ? [M[1], M[2]] : [navigator.appName, navigator.appVersion, '-?'];
            if ((tem = ua.match(/version\/(\d+)/i)) != null) { M.splice(1, 1, tem[1]); }
            return {
                name: M[0],
                version: M[1]
            };
        }
</script>
