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

<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
    Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>
<!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="https://fonts.googleapis.com/css?family=PT+Sans:400,400i,700,700i" rel="stylesheet">
    <script type="text/javascript" src="https://ebz-static.s3.ap-south-1.amazonaws.com/easecheckout/easebuzz-checkout.js"></script>
    <script type="text/javascript">
        //Easebuzz Payment window - Iframe      
        function processPayment() {
            var access_key = "<%=EasebuzzAccessKey%>";
            var merchant_key = "<%=EasebuzzKey%>";
            var env = "<%=EasebuzzEnv%>";
            console.log("access_key: " + access_key);
            console.log("EasebuzzKey: " + merchant_key);
            console.log("env: " + env);

            var easebuzzCheckout = new EasebuzzCheckout(merchant_key, env)

            var options = {
                access_key: access_key, // access key received via Initiate Payment

                onResponse: function (response) { console.log(response); },
                theme: "#123456" // color hex
            }
            easebuzzCheckout.initiatePayment(options);
        }
    </script>
    <style type="text/css">
        /*<%--0038544 : Added New CSS For mantis :  BY Krunal K Patel --%>*/
        .material-checkbox1 {
            position: relative;
            cursor: pointer;
            font-family: "Roboto", "Segoe UI", BlinkMacSystemFont, system-ui, -apple-system;
            line-height: 18px;
            margin-top: 4px;
        }
    </style>
</head>

<body>
    <div class="w3l-main">
        <div class="row">
            <div class="col-lg-12">
                <div class="page-header">
                    <h3>
                        <asp:Label ID="OrgNameLabel" runat="server" Text=""></asp:Label>
                    </h3>
                    <h4 class="pTop6">Admission Form  Details</h4>
                </div>
            </div>
        </div>
        <form id="form1" runat="server" class="w3l-from container">
            <div class="col-lg-12 padd-0 mt1" runat="server" id="failurmessageforonlinepayment"
                visible="false">
                <div class="alert alert-danger">
                    <asp:Label runat="server" ID="ErrorLabel"></asp:Label>
                </div>
            </div>

            <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! Try Again
                </div>
            </div>

            <div class="col-lg-12 padd-0 mt1" runat="server" id="failurmessageforDocumentUpload"
                visible="false">
                <div class="alert alert-danger">
                    <i class="fa fa-asterisk "></i>&nbsp;&nbsp;&nbsp;  Document is Required
                </div>
            </div>
            <div class="col-lg-12 padd-0 mt1" runat="server" id="DeleteDocumentMessage"
                visible="false">
                <div class="alert alert-danger">
                    <i class="fa fa-asterisk "></i>&nbsp;&nbsp;&nbsp; Document can't Delete
                </div>
            </div>
            <div class="col-lg-12 padd-0 mt1" runat="server" id="mailmessage"
                visible="false">
                <div class="alert alert-success">
                    <i class="fa fa-asterisk "></i>&nbsp;&nbsp;&nbsp; Sent Sucessfully
                </div>
            </div>

            <div class="col-lg-12">
                <div class="well well-sm divbg" runat="server" id="FormConfirmationRemarkDiv">
                    <asp:Label ID="FormConfirmationRemarkLabel" runat="server"></asp:Label>
                </div>
            </div>

            <div class="outerBox11 pTop5 col-md-6" id="Info" runat="server" visible="false">
                <div class="alert alert-info">
                    <i class="material-icons">All Information may not be shown!!!!!
                </div>
            </div>
            <div class="form-group">
                <div class="col-lg-12 padd-0">

                    <div class="topic-header">
                        <h5>
                            <span id="ApplicationFormNoHeaderLabel" runat="server"><i class="fas fa-lock bg-grey"></i>&nbsp;Login Information</span>
                        </h5>
                    </div>

                    <div class="col-md-4">
                        <div class="bg-white">
                            <label for="InputName">Form No.</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="formnolabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>

                    <div class="col-md-4">
                        <div class="bg-white">
                            <label for="InputName">Password</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="passwordlabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <asp:HiddenField ID="IsOrgGroupType" runat="server" />
            <asp:HiddenField ID="ReportPathHiddenField" runat="server" />
            <asp:HiddenField ID="AttachmentSizeHiddenField" runat="server" />
            <%-- <asp:HiddenField ID="RazorpayKeyId" runat="server" />
            <asp:HiddenField ID="Razorpayamount" runat="server" visible="true"/>
            <asp:HiddenField ID="Razorpayname" runat="server" />
            <asp:HiddenField ID="Razorpayemail" runat="server" />
            <asp:HiddenField ID="Razorpaycontact" runat="server" />
            <asp:HiddenField ID="Razorpayorderid" runat="server" />
            <asp:HiddenField ID="RazorpayReceiptBook" runat="server" />--%>
            <div class="form-group">
                <div class="col-lg-12 padd-0">
                    <div class="topic-header">
                        <h5>
                            <span id="SchoolInformationHeaderLabel" runat="server" text=""><i class="fas fa-info-circle 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">School Name</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="schoolnamelabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4">
                        <div class="bg-white">
                            <label for="InputName">
                                Batch</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="batchnamelabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4">
                        <div class="bg-white">
                            <label for="InputName">
                                Standard
                            </label>
                            <div class="input-group detail-label">
                                <asp:Label ID="standardnamelabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

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

                    <div class="topic-header">
                        <h5>
                            <span id="PersonalInformationLabel" runat="server" text=""><i class="fas fa-info-circle bg-jade"></i>&nbsp;Student Information</span>
                        </h5>
                    </div>


                    <div class="col-md-4" runat="server" id="FirstNameDiv">
                        <div class="bg-white">
                            <label for="InputName">Name</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="firstnamelabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" runat="server" id="FatherNameDiv" visible="false">
                        <div class="bg-white row">
                            <label for="InputName">Father's Name</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="middlenamelabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>


                    <%--<div class="col-md-3 padd-0">
                                <div class="col-md-4" runat="server" visible="false" id="FatherNameDiv">
                                <div class="input-group detail-label">

                                    <asp:Label ID="middlenamelabel" class="" runat="server"></asp:Label>
                                </div>

                            </div>
                            &nbsp;&nbsp; --%>

                    <div class="col-md-4" runat="server" id="SurnameDiv">
                        <div class="bg-white row">
                            <label for="InputName">Surname</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="lastnamelabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <%--<div class="col-md-3 padd-0">
                                <div class="input-group detail-label">

                                    <asp:Label ID="lastnamelabel" class="" runat="server"></asp:Label>
                                </div>
                            </div>
                        </div>
                    </div>--%>

                    <div class="col-md-4">
                        <div class="bg-white row">
                            <label for="InputName">
                                Gender</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="genderlabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4">
                        <div class="bg-white row">
                            <label for="InputName">
                                Date Of Birth</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="birthdatelabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4">
                        <div class="bg-white row">
                            <label for="InputName">
                                Age</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="AgeLabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>


                    <div class="col-md-4" runat="server" visible="false" id="StudentPhotoDiv">
                        <div class="bg-white">
                            <label>
                                Student's Photo</label>
                            <div class="input-group detail-label">
                                <img runat="server" id="StudentPhoto" style="margin-top: 10px; width: 78px; height: 69px" />
                            </div>
                        </div>
                    </div>
                    <%--Added For mantis : 29772--%>
                    <div class="col-md-4">
                        <div class="bg-white">
                            <label for="InputName">
                                Whatsapp Contact No
                            </label>
                            <div class="input-group detail-label">
                                <asp:Label ID="WhatsappContactNolabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <%--Mantis start - 0043425--%>
                    <div class="col-md-4" id="PENNumberDiv" runat="server" visible="false">
                        <div class="bg-white" id="PENNumberSpecificDiv" runat="server">
                            <label for="InputName">PEN Number</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="PENNumberLabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" id="ApaarNumberDiv" runat="server" visible="false">
                        <div class="bg-white" id="ApaarNumberSpecificDiv" runat="server">
                            <label for="InputName">Apaar Id Number</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="ApaarNumberLabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <%--Mantis End - 0043425--%>
                </div>
            </div>

            <div class="form-group">
                <div class="col-lg-12 padd-0">
                    <div class="topic-header">
                        <h5>
                            <span id="AddressHeaderLabel" runat="server"><i class="fas fa-info-circle bg-red"></i>&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>
                            <div class="input-group detail-label">
                                <asp:Label ID="streetonelabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" runat="server" visible="false" id="StreetTwoDiv">
                        <div class="bg-white">
                            <label for="InputName">
                                Street Two</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="streettwolabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" runat="server" visible="false" id="StreetThreeDiv">
                        <div class="bg-white">
                            <label for="InputName">
                                Street Three</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="steetthreelabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" runat="server" visible="false" id="CityDiv">
                        <div class="bg-white">
                            <label for="InputName">
                                City</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="citylabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" runat="server" visible="false" id="StateDiv">
                        <div class="bg-white">
                            <label for="InputName">
                                State</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="statelabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" runat="server" visible="false" id="CountryDiv">
                        <div class="bg-white">
                            <label for="InputName">
                                Country</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="countrylabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" runat="server" visible="false" id="ZipCodeDiv">
                        <div class="bg-white">
                            <label for="InputName">
                                Pin Code</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="zipcodelabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4">
                        <div class="bg-white">
                            <label for="InputName">
                                Contact No.
                            </label>
                            <div class="input-group detail-label">
                                <asp:Label ID="mobilenolabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" runat="server" visible="false" id="ContactEmailDiv">
                        <div class="bg-white">
                            <label for="InputName">
                                Email
                            </label>
                            <div class="input-group detail-label">
                                <asp:Label ID="emaillabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>

                </div>
            </div>

            <div class="form-group" id="OtherInformation" runat="server" visible="false">
                <div class="col-lg-12 padd-0">
                    <div class="topic-header">
                        <h5>
                            <span id="ReligionHeaderLabel" runat="server"><i class="fas fa-info-circle bg-info"></i>&nbsp;Other Information</span>
                        </h5>
                    </div>
                    <div class="col-md-4" runat="server" visible="false" id="PreviousSchoolDiv">
                        <div class="bg-white">
                            <label for="InputName" id="PrevSchoolLabel" runat="server">
                                Previous School/Board
                            </label>
                            <div class="input-group detail-label">
                                <asp:Label ID="previousschoollabel" class="" runat="server"></asp:Label>
                            </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 row">
                                <label for="InputName">Birth Place</label>
                                <div class="input-group detail-label">
                                    <asp:Label ID="BirthPlaceTextBox" CssClass="" runat="server"></asp:Label>
                                </div>
                            </div>
                        </div>

                        <div class="col-md-4" runat="server" visible="false" id="BirthTalukaDiv">
                            <div class="bg-white">
                                <label for="InputName">Birth Taluka</label>
                                <div class="input-group detail-label">
                                    <asp:Label ID="BirthTalukaTextBox" CssClass="" runat="server"></asp:Label>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4" runat="server" visible="false" id="BirthDistDiv">
                            <div class="bg-white">
                                <label for="InputName">Birth District</label>
                                <div class="input-group detail-label">
                                    <asp:Label ID="BirthDistrictTextBox" CssClass="" runat="server"></asp:Label>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4" runat="server" visible="false" id="BirthStateDiv">
                            <div class="bg-white">
                                <label for="InputName">Birth State</label>
                                <div class="input-group detail-label">
                                    <asp:Label ID="BirthStateLabel" CssClass="" runat="server"></asp:Label>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4" runat="server" visible="false" id="BirthCoutryDiv">
                            <div class="bg-white">
                                <label for="InputName">Birth Country</label>
                                <div class="input-group detail-label">
                                    <asp:Label ID="BirthCountryLabel" CssClass="" runat="server"></asp:Label>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" runat="server" visible="false" id="ReligionDiv">
                        <div class="bg-white">
                            <label for="InputName">
                                Religion</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="religionlabel" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" runat="server" visible="false" id="FamilyCasteDiv">
                        <div class="bg-white">
                            <label for="InputName">
                                Family Caste</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="familycastlabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" runat="server" visible="false" id="CasteCategoryDiv">
                        <div class="bg-white">
                            <label for="InputName">
                                Caste Category</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="castcategorylabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" runat="server" visible="false" id="SubCasteDiv">
                        <div class="bg-white">
                            <label for="InputName">
                                SubCaste</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="SubCastlbl" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" runat="server" visible="false" id="NationalityDiv">
                        <div class="bg-white">
                            <label for="InputName">
                                Nationality</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="nantioniltylabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" runat="server" visible="false" id="MotherTongueDiv">
                        <div class="bg-white">
                            <label for="InputName">
                                Mother tongue</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="MotherTounghLabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" id="Bloodgroupdiv" runat="server" visible="false">
                        <div class="bg-white" id="BloodgroupSpecificdiv" runat="server" visible="true">
                            <label for="InputName">
                                Blood Group</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="BloodGroupLabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" id="AdhaarDiv" runat="server" visible="false">
                        <div class="bg-white" id="AdhaarSpecificDiv" runat="server" visible="false">
                            <label for="InputName">
                                Aadhaar Number</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="AdhaarNumberLabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" id="Hosteldiv" runat="server" visible="false">
                        <div class="bg-white" id="HostelSpecificDiv" runat="server" visible="true">
                            <label for="InputName">
                                Hostel Required</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="HostelRequiredLabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" id="Transportdiv" runat="server" visible="false">
                        <div class="bg-white" id="TransportSpecificdiv" runat="server" visible="true">
                            <label for="InputName">
                                Transport Required</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="TransportRequiredLabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <%--mantis : 0046082--%>
                    <div class="col-md-4" id="TrasportModeDiv" runat="server" visible="false">
                        <div class="bg-white" id="TransporModeSpecificdiv" runat="server" visible="true">
                            <label for="InputName">
                                Trasport</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="TransportModeLabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" id="BusRouteDiv" runat="server" visible="false">
                        <div class="bg-white" id="BusRouteSpecificdiv" runat="server" visible="true">
                            <label for="InputName">
                                Bus Route</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="BusRouteLabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" id="BusRouteDestinationDiv" runat="server" visible="false">
                        <div class="bg-white" id="BusRouteDestinationSpecificdiv" runat="server" visible="true">
                            <label for="InputName">
                                Bus Route Destination</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="BusRouteDestinationLabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <%--end : mantis : 0046082--%>
                    <div class="col-md-4" id="OtherInformationDiv" runat="server" visible="false">
                        <div class="bg-white">
                            <label for="InputName">
                                Other Information</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="OtherdetailLabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" id="LiveWithDiv" runat="server" visible="false">
                        <div class="bg-white">
                            <label for="InputName">
                                Live With</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="LiveWithLabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" id="MeritMarkDiv" runat="server" visible="false">
                        <div class="bg-white">
                            <label for="InputName">
                                Merit Marks</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="MeritMarkLabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" id="MeritGradeDiv" runat="server" visible="false">
                        <div class="bg-white">
                            <label for="InputName">
                                Merit Grade</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="MeritGradeLabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-12 padd-0">
                        <div class="col-md-4" id="CustomField1Div" visible="false" runat="server">
                            <div class="bg-white">
                                <asp:Label ID="CustomField1Label" runat="server" Visible="false" ForeColor="Black"></asp:Label>
                                <div class="input-group detail-label">
                                    <asp:Label ID="CustomField1AnswerLabel" class="" runat="server" Visible="false"></asp:Label>
                                </div>
                            </div>
                        </div>

                        <div class="col-md-4" id="CustomField2Div" visible="false" runat="server">
                            <div class="bg-white">
                                <asp:Label ID="CustomField2Label" runat="server" Visible="false" ForeColor="Black"></asp:Label>
                                <div class="input-group detail-label">
                                    <asp:Label ID="CustomField2AnswerLabel" class="" runat="server" Visible="false"></asp:Label>
                                </div>
                            </div>
                        </div>

                        <div class="col-md-4" id="CustomField3Div" visible="false" runat="server">
                            <div class="bg-white">
                                <asp:Label ID="CustomField3Label" runat="server" Visible="false" ForeColor="Black"></asp:Label>
                                <div class="input-group detail-label">
                                    <asp:Label ID="CustomField3AnswerLabel" class="" runat="server" Visible="false"></asp:Label>
                                </div>
                            </div>
                        </div>
                    </div>

                </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>
                            <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" Enabled="false">
                        </asp:CheckBoxList>
                    </div>
                </div>
            </div>
            <div class="cBoth"></div>
            <div class="form-group" id="AdmissionCriteriaFormDiv" runat="server" visible="true">
                <div class="bg-white col-lg-12">
                    <div class="topic-header">
                        <h5>
                            <span id="DynamicAdmissionFromFiledHeaderLabel" runat="server" text=""><i class="fas fa-info-circle bg-dpurp"></i>&nbsp;More Details</span>
                        </h5>
                    </div>
                    <div class="table-responsive">
                        <asp:GridView ID="AdmissionCriteriaFormGridview" runat="server" Width="100%" AutoGenerateColumns="False"
                            AllowPaging="false" ShowHeader="True" CssClass="table table-striped table-bordered more"
                            Font-Size="Small">
                            <Columns>
                                <asp:BoundField DataField="FieldGroup" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left" />
                                <asp:BoundField DataField="FieldRemark" ItemStyle-Width="40%" HeaderStyle-HorizontalAlign="Left" />
                                <asp:BoundField DataField="AdmissionFormFieldResponse" ItemStyle-Width="50%" HeaderStyle-HorizontalAlign="Left" />
                            </Columns>
                            <PagerSettings Visible="False" />
                        </asp:GridView>
                    </div>
                </div>
            </div>
            <div class="form-group" id="StudentAcademicsDiv" runat="server">
                <div class="col-lg-12 padd-0">
                    <div class="topic-header">
                        <h5>
                            <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">
                        <div class="table-responsive padd-5">
                            <asp:GridView ID="StudentAcademicsGridview" runat="server" Width="100%" AutoGenerateColumns="False"
                                AllowPaging="false" ShowHeader="True" CssClass="table table-striped table-bordered"
                                Font-Size="Small">
                                <Columns>
                                    <asp:BoundField DataField="AdmissionClass" HeaderText="Class" />
                                    <asp:BoundField DataField="AcademicYear" HeaderText="Academic Year" />
                                    <asp:BoundField DataField="InstituteName" HeaderText="Name of Institute" />
                                    <asp:BoundField DataField="InstituteCity" HeaderText="City" />
                                    <asp:BoundField DataField="InstituteAffiliaton" HeaderText="Board" />
                                    <asp:BoundField DataField="Result" HeaderText="Result (%)" />
                                    <asp:BoundField DataField="Language" HeaderText="Medium of Study" />
                                </Columns>
                                <PagerSettings Visible="False" />
                            </asp:GridView>
                        </div>
                    </div>
                </div>
            </div>

            <div class="form-group" runat="server" id="FatherFamilyDiv" visible="false">
                <div class="col-lg-12 padd-0">
                    <div class="topic-header">
                        <h5>
                            <span id="FatherInformationHeaderLabel" runat="server" text=""><i class="fas fa-info-circle bg-yellow"></i>&nbsp;Father's Information</span>
                        </h5>
                    </div>
                    <div class="col-md-4" runat="server" visible="false" id="FatherFullNameDiv">
                        <div class="bg-white">
                            <label for="InputName">
                                Full Name</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="fatherfullnamelabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" runat="server" visible="false" id="FatherMobileNoDiv">
                        <div class="bg-white">
                            <label for="InputName">
                                Mobile No.</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="fathermobilenolabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" runat="server" visible="false" id="FatherAdhaarNumberDiv">
                        <div class="bg-white">
                            <label for="InputName">
                                Father Aadhaar Number</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="FatherAdhaarNumberlbl" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="form-group" id="FamilyDetailDiv" runat="server" visible="false">

                <div class="col-md-4" runat="server" visible="false" id="F_PanCard">
                    <div class="bg-white">
                        <label for="InputName">
                            Father Pan Card</label>
                        <div class="input-group detail-label">
                            <asp:Label ID="FatherPancardLabel" class="" runat="server"></asp:Label>
                        </div>
                    </div>
                </div>

                <div class="col-md-4" runat="server" visible="false" id="FatherQualDiv">
                    <div class="bg-white">
                        <label for="InputName">
                            Qualification</label>
                        <div class="input-group detail-label">
                            <asp:Label ID="fatherqualificationlabel" class="" runat="server"></asp:Label>
                        </div>
                    </div>
                </div>
                <div class="col-md-4" runat="server" visible="false" id="FatherOccDiv">
                    <div class="bg-white">
                        <label for="InputName">
                            Occupation</label>
                        <div class="input-group detail-label">
                            <asp:Label ID="fatheroccupationlabel" class="" runat="server"></asp:Label>
                        </div>
                    </div>
                </div>

                <div class="col-md-4" runat="server" visible="false" id="FatherEmailDiv">
                    <div class="bg-white">
                        <label for="InputName">
                            Email</label>
                        <div class="input-group detail-label">
                            <asp:Label ID="fatheremaillabel" class="" runat="server"></asp:Label>
                        </div>
                    </div>
                </div>
                <div class="col-md-4" runat="server" visible="false" id="FatherYIDiv">
                    <div class="bg-white">
                        <label for="InputEmail">
                            Annual Income</label>
                        <div class="input-group detail-label">
                            <asp:Label ID="fatherincomelabel" class="" runat="server"></asp:Label>
                        </div>
                    </div>
                </div>
                <div class="col-md-4" runat="server" visible="false" id="FatherOrgDiv">
                    <div class="bg-white">
                        <label for="InputName">
                            Organization</label>
                        <div class="input-group detail-label">
                            <asp:Label ID="FatherOrganizaionLabel" class="" runat="server"></asp:Label>
                        </div>
                    </div>
                </div>
                <div class="col-md-4" runat="server" visible="false" id="FathreDesigDiv">
                    <div class="bg-white">
                        <label for="InputName">
                            Designation</label>
                        <div class="input-group detail-label">
                            <asp:Label ID="FatherDesignationLabel" class="" runat="server"></asp:Label>
                        </div>
                    </div>
                </div>
                <div class="col-md-4" runat="server" visible="false" id="FatherOfficeDiv">
                    <div class="bg-white">
                        <label for="InputName">
                            Office Phone</label>
                        <div class="input-group detail-label">
                            <asp:Label ID="FatherOfficePhoneLabel" class="" runat="server"></asp:Label>
                        </div>
                    </div>
                </div>
                <div class="col-md-4" runat="server" visible="false" id="FatherOffAddDiv">
                    <div class="bg-white">
                        <label for="InputName">
                            Office Address
                        </label>
                        <div class="input-group detail-label">
                            <asp:Label ID="fatherofficeaddresslabel" class="" runat="server"></asp:Label>
                        </div>
                    </div>
                </div>
                <%--<div class="col-md-4">
                                                    <label for="InputName" style="display:none">
                                                       Father ExStudent
                                                    </label>
                                                    <div class="input-group detail-label">
                                                        <asp:CheckBox ID="FatherExStudentCheckBox" runat="server" Visible="false"/>
                                                    </div>
                                                </div>--%>

                <div class="col-md-4" runat="server" visible="false" id="FatherPYDiv">
                    <div class="bg-white">
                        <label for="InputName">
                            FatherPassOutYear
                        </label>
                        <div class="input-group detail-label">
                            <asp:Label ID="FatherPassOutYearLabel" runat="server"></asp:Label>
                        </div>
                    </div>
                </div>

                <div class="col-md-4" id="FatherPhotoDiv" runat="server" visible="false">
                    <div class="bg-white">
                        <label>
                            Photo</label>
                        <div class="input-group detail-label">
                            <img runat="server" id="FatherImage" style="margin-top: 10px; width: 78px; height: 69px" />
                        </div>
                    </div>
                </div>
                <div class="col-md-4" id="fatherdoblabelDiv" runat="server" visible="false">
                    <div class="">
                        <div class="input-group detail-label">
                            <asp:Label ID="fatherdoblabel" runat="server" Visible="false"></asp:Label>
                        </div>
                    </div>
                </div>
            </div>
            <div class="cBoth"></div>
            <div class="form-group" runat="server" id="FatherAcademicsDiv">
                <div class="col-lg-12 padd-0">
                    <div class="topic-header">
                        <h5>
                            <span id="Span1" runat="server" text=""><i class="fas fa-graduation-cap bg-lav"></i>&nbsp;Father's Academic Details</span>
                        </h5>
                    </div>
                    <div class="col-lg-12 bg-white">
                        <div class="table-responsive padd-5">
                            <asp:GridView ID="FatherAcademicsGridview" runat="server" Width="100%" AutoGenerateColumns="False"
                                AllowPaging="false" ShowHeader="True" CssClass="table table-striped table-bordered"
                                Font-Size="Small">
                                <Columns>
                                    <asp:BoundField DataField="AdmissionClass" HeaderText="Class" />
                                    <asp:BoundField DataField="AcademicYear" HeaderText="Academic Year" />
                                    <asp:BoundField DataField="InstituteName" HeaderText="Name of Institute" />
                                    <asp:BoundField DataField="InstituteCity" HeaderText="City" />
                                    <asp:BoundField DataField="InstituteAffiliaton" HeaderText="Board" />
                                    <asp:BoundField DataField="Language" HeaderText="Medium of Study" />
                                </Columns>
                                <PagerSettings Visible="False" />
                            </asp:GridView>
                        </div>
                    </div>
                </div>
            </div>

            <div class="form-group" runat="server" id="MotherDetailDiv" visible="false">
                <div class="col-lg-12 padd-0">
                    <div class="topic-header">
                        <h5>
                            <span id="MotherInformationHeaderLabel" runat="server"><i class="fas fa-info-circle bg-pink"></i>&nbsp;Mother's Information</span>
                        </h5>
                    </div>

                    <div class="col-md-4" id="MotherNameDiv" runat="server" visible="false">
                        <div class="bg-white">
                            <label for="InputName">
                                Full Name</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="motherfullnamelabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>

                    <div class="col-md-4" runat="server" visible="false" id="MotherMobilNoDiv">
                        <div class="bg-white">
                            <label for="InputName">
                                Mobile No.</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="mothermobilenolabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>

                    <div class="col-md-4" runat="server" visible="false" id="MotherAadhaarNumberDiv">
                        <div class="bg-white">
                            <label for="InputName">
                                Mother Aadhaar Number</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="MotherAadhaarNumberLabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="form-group" runat="server" id="MotherFullDetailsDiv" visible="false">
                <div class="col-lg-12 padd-0">
                    <div class="col-md-4" runat="server" visible="false" id="M_PanCard">
                        <div class="bg-white">
                            <label for="InputName">
                                Mother Pan Card</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="MotherPancardLabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" runat="server" visible="false" id="MotherQualDiv">
                        <div class="bg-white">
                            <label for="InputName">
                                Qualification</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="motherqualificationlabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" runat="server" visible="false" id="MotherOccDiv">
                        <div class="bg-white">
                            <label for="InputName">
                                Occupation</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="motheroccupationlable" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>

                    <div class="col-md-4" runat="server" visible="false" id="MotherEmailDiv">
                        <div class="bg-white">
                            <label for="InputName">
                                Email</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="motheremaillabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" runat="server" visible="false" id="MotherYIDiv">
                        <div class="bg-white">
                            <label for="InputEmail">
                                Annual Income</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="motherincomelabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" runat="server" visible="false" id="MotherOrgDiv">
                        <div class="bg-white">
                            <label for="InputName">
                                Organization</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="MotherOrganizationLabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" runat="server" visible="false" id="MotherDesigDiv">
                        <div class="bg-white">
                            <label for="InputName">
                                Designation</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="MotherDesignationLabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" runat="server" visible="false" id="MotherOfficePhDiv">
                        <div class="bg-white">
                            <label for="InputName">
                                Office Phone</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="MotherOfficePhoneLabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" runat="server" visible="false" id="MotherOfficeAddressDiv">
                        <div class="bg-white">
                            <label for="InputName">
                                Office Address
                            </label>
                            <div class="input-group detail-label">
                                <asp:Label ID="motherofficeaddresslabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" runat="server" visible="false" id="MotherExDiv">
                        <div class="bg-white">
                            <label for="InputName">
                                Mother ExStudent
                            </label>
                            <div class="input-group detail-label">
                                <asp:Label ID="MotherPassOutyearLabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>

                    <div class="col-md-4" runat="server" visible="false" id="MotherPhotoDiv">
                        <div class="bg-white">
                            <label>
                                Photo</label>
                            <div class="input-group detail-label">
                                <img runat="server" id="MotherImage" style="margin-top: 10px; width: 78px; height: 69px" />
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" id="motherdobDiv" runat="server" visible="false">
                        <div class="">
                            <div class="input-group detail-label">
                                <asp:Label ID="motherdoblabel" runat="server" Visible="false"></asp:Label>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="form-group" runat="server" id="MotherAcademicsDiv">
                <div class="col-lg-12 padd-0">
                    <div class="topic-header">
                        <h5>
                            <span id="Span2" runat="server" text=""><i class="fas fa-graduation-cap bg-lav"></i>&nbsp;Mother's Academic Details</span>
                        </h5>
                    </div>
                    <div class="col-lg-12 bg-white">
                        <div class="table-responsive padd-5">
                            <asp:GridView ID="MotherAcademicsGridview" runat="server" Width="100%" AutoGenerateColumns="False"
                                AllowPaging="false" ShowHeader="True" CssClass="table table-striped table-bordered"
                                Font-Size="Small">
                                <Columns>
                                    <asp:BoundField DataField="AdmissionClass" HeaderText="Class/Degree" />
                                    <asp:BoundField DataField="AcademicYear" HeaderText="Academic Year" />
                                    <asp:BoundField DataField="InstituteName" HeaderText="Name of Institute" />
                                    <asp:BoundField DataField="InstituteCity" HeaderText="City" />
                                    <asp:BoundField DataField="InstituteAffiliaton" HeaderText="Board" />
                                    <asp:BoundField DataField="Language" HeaderText="Medium of Study" />
                                </Columns>
                                <PagerSettings Visible="False" />
                            </asp:GridView>
                        </div>
                    </div>
                </div>
            </div>

            <div class="form-group" runat="server" id="GuardianDetailDiv" visible="false">
                <div class="col-lg-12 padd-0">

                    <div class="topic-header">
                        <h5>
                            <span id="GuardianInformationHeaderLabel" runat="server"><i class="fas fa-info-circle bg-blue"></i>&nbsp;Guardian's Information</span>
                        </h5>
                    </div>


                    <div class="col-md-4" runat="server" visible="false" id="GuardianNameDiv">
                        <div class="bg-white">
                            <label for="InputName">
                                Full Name</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="guardianfullnamelabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" runat="server" visible="false" id="GuardMobDiv">
                        <div class="bg-white">
                            <label for="InputName">
                                Mobile No.</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="guardianmobilenolabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" runat="server" visible="false" id="GuardianAadhaarNumberDiv">
                        <div class="bg-white">
                            <label for="InputName">
                                Guardian Aadhaar Number</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="GuardianAadhaarNumberLabel" class="" runat="server"></asp:Label>
                            </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" visible="false" id="GuardQuaDIv">
                        <div class="bg-white">
                            <label for="InputName">
                                Qualification</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="guardianqualificationlabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" runat="server" visible="false" id="GuardOccDiv">
                        <div class="bg-white">
                            <label for="InputName">
                                Occupation</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="guardianoccupationlabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>

                    <div class="col-md-4" runat="server" visible="false" id="GuardEmailDiv">
                        <div class="bg-white">
                            <label for="InputName">
                                Email</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="guardianemaillabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" runat="server" visible="false" id="GuardYIDiv">
                        <div class="bg-white">
                            <label for="InputName">
                                Annual Income</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="guardianincomelabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" runat="server" visible="false" id="GuardOrgDiv">
                        <div class="bg-white">
                            <label for="InputEmail">
                                Organization</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="GuardianOrganizationLabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" runat="server" visible="false" id="GuardDesigDiv">
                        <div class="bg-white">
                            <label for="InputEmail">
                                Designation</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="GuardianDesignationLabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" runat="server" visible="false" id="GuardOfficePhDiv">
                        <div class="bg-white">
                            <label for="InputEmail">
                                Office Phone</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="guardianOfficePhoneLabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" runat="server" visible="false" id="GuardOfficeAddDiv">
                        <div class="bg-white">
                            <label for="InputName">
                                Office Address
                            </label>
                            <div class="input-group detail-label">
                                <asp:Label ID="guardianofficeaddresslabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" runat="server" visible="false" id="guardRelDiv">
                        <div class="bg-white">
                            <label for="InputEmail">
                                Relationship with Guardian</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="guardianrelationshiplabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" runat="server" visible="false" id="GuardRelPassoutDiv">
                        <div class="bg-white">
                            <label for="InputEmail">
                                Relative PassOutYear</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="RelativePassOutYearLabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4">
                        <div class="bg-white" runat="server" visible="false" id="GuardPhotoDiv">
                            <label>
                                Photo</label>
                            <div class="input-group detail-label">
                                <img runat="server" id="GuardianImage" style="margin-top: 10px; width: 78px; height: 69px" />
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" id="guardiandobDiv" runat="server" visible="false">
                        <div class="input-group detail-label">
                            <asp:Label ID="guardiandoblabel" runat="server" Visible="false"></asp:Label>
                        </div>
                    </div>
                </div>
            </div>

            <div class="form-group" runat="server" id="GuardianAcademics">
                <div class="col-lg-12 padd-0">
                    <div class="topic-header">
                        <h5>
                            <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="GuardianAcademicsGridview" runat="server" Width="100%" AutoGenerateColumns="False"
                                AllowPaging="false" ShowHeader="True" CssClass="table table-striped table-bordered"
                                Font-Size="Small">
                                <Columns>
                                    <asp:BoundField DataField="AdmissionClass" HeaderText="Class" />
                                    <asp:BoundField DataField="AcademicYear" HeaderText="Academic Year" />
                                    <asp:BoundField DataField="InstituteName" HeaderText="Name of Institute" />
                                    <asp:BoundField DataField="InstituteCity" HeaderText="City" />
                                    <asp:BoundField DataField="InstituteAffiliaton" HeaderText="Board" />
                                    <asp:BoundField DataField="Language" HeaderText="Medium of Study" />
                                </Columns>
                                <PagerSettings Visible="False" />
                            </asp:GridView>
                        </div>
                    </div>
                </div>
            </div>

            <div class="form-group" runat="server" id="SiblingDiv">
                <div class="col-lg-12 padd-0">
                    <div class="topic-header">
                        <h5>
                            <span id="SiblingHeaderLabel" runat="server"><i class="fas fa-users bg-brown"></i>&nbsp;Sibling</span>
                        </h5>
                    </div>

                    <div class="bg-white col-lg-12">
                        <div class="table-responsive">
                            <asp:GridView ID="SiblingGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                AllowPaging="false" ShowHeader="True" EmptyDataText="No records Found" CssClass="table table-striped table-bordered"
                                Font-Size="Small">
                                <Columns>
                                    <asp:BoundField DataField="Code" HeaderText="ID No/GR No" />
                                    <asp:BoundField DataField="SiblingName" HeaderText="Sibling Name" />
                                    <asp:BoundField DataField="SiblingRelation" HeaderText="Relation" />
                                    <asp:BoundField DataField="SiblingStandard" HeaderText="Standard" />
                                    <asp:BoundField DataField="SiblingBoard" HeaderText="Board" /> <%--mantis : 0045884--%>
                                    <asp:BoundField DataField="SiblingSchool" HeaderText="School/College" />
                                </Columns>
                                <PagerSettings Visible="False" />
                            </asp:GridView>
                        </div>
                    </div>
                </div>
            </div>

            <div class="form-group" runat="server" id="ReferenceDiv">
                <div class="col-lg-12 padd-0">
                    <div class="topic-header">
                        <h5>
                            <span id="ReferenceHeaderLabel" 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="ReferenceGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                AllowPaging="false" ShowHeader="True" EmptyDataText="No records Found" CssClass="table table-striped table-bordered"
                                Font-Size="Small">
                                <Columns>
                                    <asp:BoundField DataField="ReferenceDetail" HeaderText="Reference Detail" />
                                    <asp:BoundField DataField="ReferenceName" HeaderText="Name" />
                                    <asp:BoundField DataField="ReferenceRelation" HeaderText="Relation" />
                                    <asp:BoundField DataField="ReferenceContactNo" HeaderText="Contact No" />
                                </Columns>
                                <PagerSettings Visible="False" />
                            </asp:GridView>
                        </div>
                    </div>
                </div>
            </div>

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


                    <div class="col-md-4" id="PhysicalDeformitydiv" runat="server" visible="false">
                        <div class="bg-white">
                            <label for="InputName">
                                Physical Deformity</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="PysicalDeformityLabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" id="pRemarkdiv" runat="server" visible="false">
                        <div class="bg-white">
                            <label for="InputName">
                                Physical Deformity Remark</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="PRemarkLabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" id="MajorIllnessDiv" runat="server" visible="false">
                        <div class="bg-white">
                            <label for="InputName">
                                Major Illness</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="MajorIllnessLabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" id="MRemarkDiv" runat="server" visible="false">
                        <div class="bg-white">
                            <label for="InputName">
                                Major Illness Remark</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="Label8" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" id="IsAllergyDiv" runat="server" visible="false">
                        <div class="bg-white">
                            <label for="InputName">
                                Allergy</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="AllergyLabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4" id="ARemarkDiv" runat="server" visible="false">
                        <div class="bg-white">
                            <label for="InputName">
                                Allergy Remark</label>
                            <div class="input-group detail-label">
                                <asp:Label ID="AllergyRemarkLabel" class="" runat="server"></asp:Label>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="form-group" id="DocumentDiv" runat="server" visible="false">
                <div class="col-lg-12 padd-0">
                    <div class="topic-header">
                        <h5>
                            <%--<span id="Span4" runat="server"><i class="fas fa-heartbeat bg-red"></i>&nbsp;Document</span>--%>
                            <span id="Span4" runat="server" text=""><i class="fas fa-info-circle bg-dpurp"></i>&nbsp;Document's</span>
                        </h5>
                    </div>

                    <%--<asp:Button ID="RefreshButton" runat="server" Text="Refresh" CssClass="btn back fas" OnClick="RefreshButton_Click"  />--%>

                    <div class="col-lg-12 bg-white">
                        <div class="table-responsive">
                            <asp:GridView ID="DocumentGridView" runat="server" Width="100%" AutoGenerateColumns="False" OnRowDataBound="DocumentGridView_RowDataBound"
                                AllowPaging="false" ShowHeader="True" EmptyDataText="No records Found" CssClass="table table-striped table-bordered" DataKeyNames="DocumentId"
                                Font-Size="Small">
                                <Columns>
                                    <asp:TemplateField HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="5%">
                                        <HeaderTemplate>
                                            <label class="material-checkbox">
                                                <asp:CheckBox ID="HeaderSelectCheckBox" runat="server" onclick="CheckAll(this);" />
                                                <span></span>
                                            </label>

                                            </div>
                                        </HeaderTemplate>
                                        <ItemStyle HorizontalAlign="Center" />
                                        <ItemTemplate>
                                            <label class="material-checkbox">
                                                <asp:CheckBox ID="SelectCheckBox" runat="server" Checked='<%# Convert.ToBoolean(Eval("IsCheck")) %>' />
                                                <span></span>
                                            </label>
                                        </ItemTemplate>
                                    </asp:TemplateField>

                                    <asp:TemplateField HeaderText="Document Name" ItemStyle-Width="30%" HeaderStyle-HorizontalAlign="Left"
                                        ItemStyle-HorizontalAlign="Left" ItemStyle-Wrap="true">
                                        <ItemTemplate>
                                            <%--<asp:HyperLink ID="UploadedFileHyperLink" runat="server" Text="" CssClass="UploadedgetHyperLink"
                                                Target="_blank"></asp:HyperLink>--%>

                                            <asp:HiddenField ID="IsMandatoryHiddenField" Value='<%# (Eval("IsMandatory")) %>' runat="server" />
                                            <asp:Label ID="IsMandatoryLabel" runat="server" Text="*" Visible="false" ForeColor="Red" Font-Size="Medium"></asp:Label>

                                            <asp:Label ID="DocumentNameLabel" runat="server" Text='<%# (Eval("DocumentName")) %>'></asp:Label>

                                        </ItemTemplate>
                                    </asp:TemplateField>


                                    <%--  <asp:BoundField DataField="DocumentName" HeaderText="Document Name" ItemStyle-HorizontalAlign="Left"
                                        HeaderStyle-HorizontalAlign="left" ItemStyle-Width="30%" />--%>
                                    <asp:TemplateField HeaderText="File Name" ItemStyle-Width="30%" HeaderStyle-HorizontalAlign="Left"
                                        ItemStyle-HorizontalAlign="Left" ItemStyle-Wrap="true">
                                        <ItemTemplate>
                                            <%--<asp:HyperLink ID="UploadedFileHyperLink" runat="server" Text="" CssClass="UploadedgetHyperLink"
                                                Target="_blank"></asp:HyperLink>--%>

                                            <asp:Label ID="UploadedFileHyperLink" runat="server" Text='<%# (Eval("DocumentFileName")) %>' CssClass="UploadedgetHyperLink"
                                                Target="_blank"></asp:Label>

                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="Upload File" ItemStyle-Width="9%" HeaderStyle-HorizontalAlign="left"
                                        ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                        <ItemTemplate>

                                            <%--  <a href="javascript:;" onclick='OpenFileUploadGrid(<%#Eval("DocumentId")%>);' class="btn print fas">
                                                <i class="fa fa-arrow-down"></i>Browse</a>
                                            <asp:FileUpload ID="NewUpload" runat="server" onChange="readURLGrid(this);" ClientIDMode="Static" Style="display: none;" AllowMultiple="true" />
                                            <asp:ImageButton ID="DocumentRefreshbutton" runat="server" OnClick="DocumentRefreshbutton_Click" Style="display: none;" />--%>
                                            <asp:FileUpload ID="DocumentFileUpload" runat="server" onChange="FileUploadCall(this)" EnableViewState="true" />
                                            <asp:Button ID="RefreshButton" runat="server" Text="Refresh" CssClass="btn back fas" OnClick="RefreshButton_Click" Style="display: none" />
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="Delete" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="center"
                                        ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                        <ItemTemplate>
                                            <%--<asp:ImageButton ID="DeleteuploadedDocumnetImageButton" runat="server" OnClick="DeleteuploadedDocumnetImageButton_Click"
                                                ToolTip="Delete" ImageUrl="~/Images/Del.png" />--%>
                                            <asp:Button ID="DeleteUploadedDocumnetButton" runat="server" OnClick="DeleteUploadedDocumnetButton_Click" OnClientClick="return confirm('Are you sure you want to delete this Image?');"
                                                ToolTip="Delete" Text="&#xf00d;" CssClass="btn red fas" />
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="center"
                                        ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                        <ItemTemplate>
                                            <%--<asp:ImageButton ID="DeleteuploadedDocumnetImageButton" runat="server" OnClick="DeleteuploadedDocumnetImageButton_Click"
                                                ToolTip="Delete" ImageUrl="~/Images/Del.png" />--%>
                                            <asp:Button ID="DownloadDocumnetButton" runat="server" CssClass="btn green fas" Text="&#xf019;" OnClick="DownloadDocumnetButton_Click"
                                                ToolTip="Download" />
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                </Columns>
                                <PagerSettings Visible="False" />
                            </asp:GridView>
                        </div>
                    </div>

                </div>
            </div>
            <%--0038544 : Changes Design Check Box Position For mantis :  BY Krunal K Patel --%>
            <div class="col-md-12" runat="server" id="IAgreeDiv">
                <div class="bg-white">
                    <label aria-multiline="false" for="IAgreeCheckBox" class="material-checkbox1">
                        <asp:Label ID="IAgreelabel" class="" runat="server" Style="white-space: pre-wrap"></asp:Label>
                    </label>
                    <br />

                    <label class="material-checkbox" aria-multiline="false">
                        <asp:CheckBox ID="IAgreeCheckBox" runat="server" />
                        <span></span>
                    </label>
                </div>
            </div>

            <div class="col-md-12 text-center pTop6">

                <asp:Button ID="BackButton" runat="server" Text="< Back" CssClass="btn back fas" OnClick="BackButton_Click" />

                <asp:Button ID="SaveButton" runat="server" Text="&#xf00c; Confirm" CssClass="btn save fas" OnClick="SaveButton_Click"
                    OnClientClick="return getConfirmation()" />

                <asp:Button ID="EditButton" runat="server" Text="&#xf044; Edit" CssClass="btn edit fas" OnClick="EditButton_Click" />

                <asp:Button ID="PrintButton1" Text="&#xf02f; Print" runat="server" CssClass="btn print fas" Visible="false" OnClick="PrintButton_Click"
                    OnClientClick="exportToPDF()" />
                <asp:Button ID="btnPrint1" Text="&#xf02f; Print HTML" runat="server" CssClass="btn print fas" OnClick="btnPrint_Click" Visible="false" OnClientClick="exportToPDF()" />

                <asp:Button ID="SendFormInMailButton" runat="server" Text="&#xf00c; Send Admission Form In Mail" CssClass="btn save fas" OnClick="SendFormInMailButton_Click" Visible="false" />
            </div>

            <div class="col-md-12" id="OnlinePaymentDiv" runat="server" visible="false">

                <div class="alignCenter alert alert-info">
                    <b>Terms And Conditions</b>
                    <br />
                    <b>Please Note : </b>You will be taken to secure external payment gateway to complete
                        the transaction.
                        <br />
                    Please do not hit the back button or refresh the page while the transaction is in
                        process.
                        <br />
                    For security purposes we record your IP Address which is
                        <asp:Label ID="IPAddressLabel" runat="server"></asp:Label>
                    <br />
                    If for any reason, the payment receipt details are not displayed on your screen
                        after you have made payments,
                        <br />
                    Please Contact school office with transaction id.
                </div>
                <%-- <div class="col-md-4">
                            <label for="InputName">
                                * Pay Type</label>
                            <div class="input-group detail-label">
                                <asp:DropDownList ID="PayTypeDropDownList" runat="server">
                                </asp:DropDownList>
                            </div>
                        </div>--%>
                <div id="GatwayDiv" runat="server">
                    <div class="col-md-4">
                        <div class="bg-white">
                            <label for="InputName" class="mandatory">
                                Gateway</label>
                            <div class="input-group detail-label">
                                <asp:DropDownList ID="GatewayDropDownList" CssClass="form-control" runat="server">
                                </asp:DropDownList>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="col-md-4">
                    <div class="bg-white">
                        <label for="InputName" class="mandatory">
                            Name</label>
                        <div class="input-group detail-label">
                            <asp:TextBox ID="NameTextBox" runat="server" CssClass="form-control" placeholder="Enter Name"></asp:TextBox>
                        </div>
                    </div>
                </div>
                <div class="col-md-4">
                    <div class="bg-white">
                        <label for="InputName" class="mandatory">
                            EmailID</label>
                        <div class="input-group detail-label">
                            <asp:TextBox ID="EmailIDTextBox" runat="server" CssClass="form-control" placeholder="Enter Email ID"></asp:TextBox>
                        </div>
                    </div>
                </div>
                <div class="col-md-4">
                    <div class="bg-white">
                        <label for="InputName" class="mandatory">
                            Mobile No</label>
                        <div class="input-group detail-label">
                            <asp:TextBox ID="MobileNoTextBox" runat="server" CssClass="form-control" placeholder="Enter Mobile No" MaxLength="10"
                                onkeypress="javascript:return isNumberKey(this)"></asp:TextBox>
                        </div>
                    </div>
                </div>

                <div class="col-md-12 text-center">
                    <asp:Button ID="PayOnlineFeeButton" Text="Pay Online Fee" CssClass="btn fas red" runat="server" OnClick="PayOnlineFeeButton_Click" OnClientClick="return ValidatePayment();" />
                    <%--<asp:Button ID="rzpbutton" visible="false" Text="Pay Online Fee" CssClass="btn fas red" runat="server" OnClientClick="return CallButtonEvent();" />--%>

                    <asp:Button ID="PrintButton" Text="&#xf02f; Print" runat="server" CssClass="btn print fas" OnClick="PrintButton_Click"
                        OnClientClick="exportToPDF()" />
                    <asp:Button ID="btnPrint" Text="&#xf02f; Print HTML" runat="server" CssClass="btn print fas" OnClick="btnPrint_Click" OnClientClick="exportToPDF()" />

                </div>

            </div>
            <div class="col-md-12" id="OnlinePaymentStatusDiv" runat="server" visible="false">
                <div class="alignCenter alert alert-info">
                    <b>Fee Status : </b>Fee Paid
                </div>
            </div>

            <div class="col-md-12" id="PaymentTransactionDiv" runat="server">
                <asp:GridView ID="PaymentTransactionGridView" runat="server" AutoGenerateColumns="false"
                    EmptyDataText="No Records Found !!" AllowPaging="false" ShowHeader="true"
                    CssClass="table table-striped table-bordered table-hover" OnRowDataBound="PaymentTransactionGridView_RowDataBound"
                    DataKeyNames="StatusId,BankName,PaymentGatewayId">
                    <Columns>
                        <asp:BoundField DataField="PaymentTransactionId" HeaderText="TransactionId" HeaderStyle-HorizontalAlign="Center" />
                        <asp:BoundField DataField="PayDateTime" HeaderText="Date Time" HeaderStyle-HorizontalAlign="Center" />
                        <asp:BoundField DataField="Amount" HeaderText="Paid Amount" HeaderStyle-HorizontalAlign="Center" />
                        <asp:TemplateField ItemStyle-Wrap="true" HeaderText="Status">
                            <ItemTemplate>
                                <asp:Label ID="StatusLabel" runat="server"></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField ItemStyle-Wrap="true" HeaderText="Receipt Print">
                            <ItemTemplate>
                                <asp:Button ID="ReceiptViewButton" runat="server" CssClass="btn green fas" Text="&#xf019;" OnClick="ReceiptViewButton_Click" OnClientClick="exportToPDF()"
                                    ToolTip="Download" />
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                </asp:GridView>
            </div>

            <asp:ScriptManager ID="ScriptManager1" runat="server">
            </asp:ScriptManager>
            <rsweb:ReportViewer ID="ReportViewer1" runat="server" Width="0px">
            </rsweb:ReportViewer>
        </form>
        <%-- <button id="Easebuzz-button" hidden onclick="processPayment()"/>--%>
    </div>

</body>

</html>

<script src='<%# ResolveUrl("~/App_Themes/BlackTheme/plugins/jQueryUI/jquery-ui.min.js")%>' type="text/javascript"></script>
<script data-main='<%=ResolveUrl("~/JavaScript/rjs/document")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>

<%-- <script src="https://checkout.razorpay.com/v1/checkout.js"></script> 
   <button id="rzp-button1" hidden>Pay</button>
<script>

    var Razorpayorderid = document.getElementById('Razorpayorderid').value
    if (Razorpayorderid != null) {
        var options = {
            "key": document.getElementById('RazorpayKeyId').value, // Enter the Key ID generated from the Dashboard
            "amount": document.getElementById('Razorpayamount').value, // Amount is in currency subunits. Default currency is INR. Hence, 50000 refers to 50000 paise
            "currency": "INR",
            "name": document.getElementById('Razorpayname').value,
            "description": document.getElementById('RazorpayCollectionGroup').value,
            "image": "https://razorpay.com/favicon.png",
            "email": document.getElementById('Razorpayemail').value,
            "contact": document.getElementById('Razorpaycontact').value,
            "order_id": document.getElementById('Razorpayorderid').value,
            "prefill": {
                "name": document.getElementById('Razorpayname').value,
                "email": document.getElementById('Razorpayemail').value,
                "contact": document.getElementById('Razorpaycontact').value
            },
            "callback_url": "/Pages/OnlinePayment/PaymentStatus.aspx",

        };
    }
    var rzp1 = new Razorpay(options);
    rzp1.on('payment.failed', function (response) {
        alert(response.error.code);
        alert(response.error.description);
        alert(response.error.source);
        alert(response.error.step);
        alert(response.error.reason);
        alert(response.error.metadata.order_id);
        alert(response.error.metadata.payment_id);
    });
    document.getElementById('rzp-button1').onclick = function (e) {
        rzp1.open();
        e.preventDefault();
    }

</script>
<script type="text/javascript">
    function CallButtonEvent() {
      
        debugger;
        var btn = document.getElementById('rzp-button1');
        btn.click();
             
    }
    </script>--%>

<script type="text/javascript">
    function getConfirmation() {
        var a = document.getElementById("IAgreeCheckBox");
        if ($("#IAgreeDiv").is(':visible')) {
            if (a.checked == false) {
                alert("Please make sure that you accept the Terms and Conditions");
                a.focus();
                return false;
                //var popup = document.getElementById("myPopup");
                //popup.show();
                //a.focus();
                return false;
            }
            else {
                return window.confirm("Do you really want to save the admission form?once confirmed it can not be edited!");
                return true;
            }
        }
        else {
            return window.confirm("Do you really want to save the admission form?once confirmed it can not be edited!");
        }
    }
    function exportToPDF() {
        var form = document.createElement("form");
        form.setAttribute('method', "post");
        form.setAttribute('action', "FormConfirmation.aspx");
        window.document.forms[0].target = '_blank';
        form.submit();
    }

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

    function FileUploadCall(fileUpload) {
        if (fileUpload.value != '') {
            var file = fileUpload.value;
            var iSize = (fileUpload.files[0].size / 1024);
            //iSize = (Math.round((iSize / 1024) * 100) / 100);
            var id = fileUpload.id;
            if ($('#AttachmentSizeHiddenField').val() != '') {
                if (iSize > $('#AttachmentSizeHiddenField').val()) {
                    document.getElementById(id).value = "";
                    alert('File should be less than ' + $('#AttachmentSizeHiddenField').val() + ' KB');
                    return false;
                }
                else if (isAttachmentFile(document.getElementById(id).value) == false || document.getElementById(id).value == null) {
                    document.getElementById(id).value = "";
                    alert("Invalid file");
                    return false;
                }
                else {
                    var a = $('#<%=DocumentGridView.ClientID %>').find('[id*="RefreshButton"]');
                        a.click();
                    }
            }
            else {
                var a = $('#<%=DocumentGridView.ClientID %>').find('[id*="RefreshButton"]');
                a.click();
            }

        }
    }

    function ValidatePayment() {
        var Confirmation = true;
        $.ajax({
            type: "POST",
            url: "FormConfirmation.aspx/ValidatePayment",
            contentType: "application/json; charset=utf-8",
            dataType: "json",
            async: false,
            success: function (result) {
                var obj = (result.d);
                if (obj == -101) {
                    if (window.confirm("You have already attempted to pay the fee. Please check for your previous transaction details. If you still want to go ahead then please pay after sometime."))
                        Confirmation = true;
                    else
                        Confirmation = false;
                }
            }
        })
        if (Confirmation == false)
            return false;
        else
            return true;
    }

    function isAttachmentFile(file) {
        var jpg = /\.(jpg|)$/i;
        var png = /\.(png|)$/i;
        var jpeg = /\.(jpeg|)$/i;
        var pdf = /\.(.pdf|)$/i;
        if ((/\.(jpg|jpeg|png|pdf|)$/i).test(file.toLowerCase())) {
            return true;
        }
        else {
            return false;
        }
    }
</script>
