<%@ page language="C#" autoeventwireup="true" inherits="Pages_OnlineAdmission_FormConfirmation, App_Web_yvusdjx4" 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 xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href='<%# ResolveUrl("~/App_Themes/BlackTheme/bootstrap/css/bootstrap.min.css")%>'
        rel="Stylesheet" type="text/css" />
    <link href="~/App_Themes/BlackTheme/bootstrap/css/bootstrap.css" rel="stylesheet"
        type="text/css" />
    <style type="text/css">
        .auto-style1 {
            width: 100%;
        }

        .auto-style2 {
            height: 23px;
        }

        .auto-style1 tr td {
            border-style: outset;
            border-width: thin;
            margin-left: 80px;
        }

        input[type=password] {
            display: initial;
            padding: 0px 6px;
            padding-right: 2px !important;
            font-size: 14px;
            line-height: 1.42857143;
            color: #555;
            background-color: #fff;
            background-image: none;
            border: 1px solid #ccc;
            border-radius: 4px !important;
            -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
            box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
            -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
            -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
            transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
        }

            input[type=password]:disabled {
                cursor: not-allowed;
                background-color: #eee;
                opacity: 1;
            }

            input[type=password]:read-only {
                cursor: not-allowed;
                background-color: #eee;
                opacity: 1;
            }

            input[type=password]:focus {
                border-color: #66afe9;
                outline: 0;
                -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
                box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
            }

            input[type=password]:hover {
                border-color: #66afe9;
                outline: 0;
                -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
                box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
            }

        label {
            font-size: 12px !important;
            font-family: "Helvetica Neue",Helvetica,Arial,sans-serif !important;
            padding-left: 2px;
            padding-right: 2px;
            font-weight: 600;
            color: #333;
        }

        .detail-label {
            font-size: 12px !important;
            font-family: "Helvetica Neue",Helvetica,Arial,sans-serif !important;
            font-weight: 500;
            padding-top: 10px;
            padding-left: 2px;
            padding-right: 2px;
            color: #333;
        }

        .gridview-textbox {
            width: 150% !important;
            height: 40px !important;
        }

        legend {
            border-bottom: 1px !important;
        }

        input[type=text], input[type=password] {
            width: 100% !important;
            height: 22px !important;
            background: transparent !important;
            border: 1px solid;
            border-color: #ccc !important;
            color: #333 !important;
        }

            input[type=text]:disabled, select:disabled {
                background-color: pink !important;
                opacity: 0.5 !important;
            }

        .null-message {
            color: #ed1c24;
            font-size: 12px;
            padding-top: 5px;
        }

        select {
            width: 100% !important;
            height: 22px !important;
            background: transparent;
            border: 1px solid;
            border-color: #ccc !important;
        }

        input[type=date] {
            line-height: normal !important;
            font-size: 16px !important;
            border-radius: 5px;
        }

        img {
            border: 1px solid black;
        }

        input[type="submit"] {
            /*background: url(../../Images/form-background.jpg);*/
            color: white;
            width: 100%;
            font-size: medium;
            font-weight: 600;
            background-color: #337ab7;
        }

            input[type="submit"]:hover {
                transition: all 0.2s linear;
                background: #337ab7;
                color: white;
            }

        .ui-datepicker {
            font-size: 11pt !important;
        }

        .mTop15 {
            margin-top: 15px;
        }

        .page-header {
            background-color: #337ab7;
            color: white;
            position: fixed;
            z-index: 2;
            text-align: center;
            width: 100%;
        }

        .well {
            background-color: gainsboro;
        }

        .divbg:hover {
            box-shadow: 0px 0px 0px 1px black;
            transition: all 0.5s ease;
        }

        .divbg {
            box-shadow: 0px 0px 2px 2px #337ab7;
            transition: all 1s ease;
        }

        .form-background {
            /*background: url(../../Images/form-background.jpg);*/
            background: url(../../Images/container-background.png);
            /*background-color: white;*/
        }

        .container {
            padding-left: 0px !important;
        }

        .container-background {
            /*background: url(../../Images/container-background.png);*/
            background-color: white;
            box-sizing: border-box;
        }

        .container-box {
            box-shadow: 0px 0px 2px 2px rgba(1,1,1,0.5);
            box-sizing: border-box;
        }

        .container-box-button {
            box-shadow: 0px 2px 2px rgba(1,1,1,0.5), -1px 2px 2px rgba(1,1,1,0.5), 2px 2px 2px rgba(1,1,1,0.5);
        }

        .box-gridview {
            box-shadow: 0px 0px 2px 2px rgba(0,0,0,0.5);
        }

        textarea {
            background: transparent;
            border: 1px solid black;
        }

            textarea:hover {
                border: 1px solid black;
            }

        .header {
            padding: 1px;
            padding-left: 9px;
            background: #337ab7;
            color: white;
            border-radius: 4px;
        }

        .table-striped > tbody > tr:nth-of-type(odd) {
            background-color: white !important;
            color: #333;
        }

        .table-striped > tbody > tr:nth-of-type(even) {
            background-color: white !important;
            color: #333;
        }
    </style>
</head>
<body style="background-image: url(../../App_Themes/Recruitment/images/Background.png); background-repeat: no-repeat; background-size: cover;">
    <form id="form1" runat="server">
        <div class="row">
            <div class="col-lg-12">
                <div class="page-header" style="margin-top: 0; font-size: 24px; z-index: 2; font-weight: bold;">
                    <h3>
                        <asp:Label ID="OrgNameLabel" runat="server" Style="font-weight: 500; text-align: center;" Text=""></asp:Label></h3>

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

        <div class="row">
        </div>
        <legend class="col-md-10 col-md-offset-1"></legend>
        <legend class="col-md-10 col-md-offset-1"></legend>
        <legend class="col-md-10 col-md-offset-1"></legend>
        <div>
            <div class="container container-background container-box">
                <div style="padding-top: 10px;" runat="server" id="failurmessageforonlinepayment"
                    visible="false">
                    <div class="alert alert-danger" style="margin-bottom: 0px !important; font-size: small">
                        <asp:Label runat="server" ID="ErrorLabel"></asp:Label>
                    </div>
                </div>
                <div style="padding-top: 10px;" runat="server" id="failuremessage" visible="false">
                    <div class="alert alert-danger" style="margin-bottom: 0px !important; font-size: small">
                        <span class="glyphicon glyphicon-remove"></span><strong>Error! Try Again</strong>
                    </div>
                </div>
                <legend class="col-md-10 col-md-offset-1"></legend>
                <div class="col-md-10 col-md-offset-1">
                    <div class="header" style="margin-top: 0px; background-color: #333;">
                        <h4 style="text-align: center">Application Details</h4>
                    </div>
                </div>
                <legend class="col-md-10 col-md-offset-1"></legend>
                <div class="">
                    <div class="">
                        <div class="col-lg-12">
                            <div class="col-md-10 col-md-offset-1">
                                <div class="well well-sm divbg" runat="server" id="FormConfirmationRemarkDiv">
                                    <strong>
                                        <h5>
                                            <strong>
                                                <asp:Label ID="FormConfirmationRemarkLabel" runat="server"></asp:Label>
                                            </strong>
                                        </h5>
                                    </strong>
                                </div>
                            </div>
                            <div class="form-group">
                                <div class="row">
                                    <div class="col-md-10 col-md-offset-1">
                                        <div class="header">
                                            <strong>
                                                <h5>
                                                    <strong>
                                                        <asp:Label ID="ApplicationFormNoHeaderLabel" runat="server" Text="Login Information"></asp:Label>
                                                    </strong>
                                                </h5>
                                            </strong>
                                        </div>
                                    </div>
                                    <div class="col-md-10 col-md-offset-1">
                                        <div class="col-md-4 mTop15">
                                            <label for="InputName">Candidate No</label>
                                            <div class="input-group">
                                                <asp:Label ID="formnolabel" class="detail-label" Style="padding-top: 0px;" runat="server"></asp:Label>
                                            </div>
                                        </div>
                                        <div class="col-md-4 mTop15">
                                            <label for="InputName">Application No</label>
                                            <div class="input-group">
                                                <asp:Label ID="ApplicationNoLabel" class="detail-label" Style="padding-top: 0px;" runat="server"></asp:Label>
                                            </div>
                                        </div>
                                        <div class="col-md-4 mTop15">
                                            <label for="InputName">Password</label>
                                            <div class="input-group">
                                                <asp:Label ID="passwordlabel" class="detail-label" runat="server"></asp:Label>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>

                            <div class="form-group">
                                <div class="row">
                                    <div>
                                        <div class="col-md-10 col-md-offset-1">
                                            <div class="header">
                                                <strong>
                                                    <h5>
                                                        <strong>
                                                            <asp:Label ID="PersonalInformationLabel" runat="server" Text="Candidate Information"></asp:Label>
                                                        </strong>
                                                    </h5>
                                                </strong>
                                            </div>
                                        </div>
                                        <div class="col-md-10 col-md-offset-1">
                                            <div class="col-md-4 mTop15">
                                                <label for="InputName">
                                                    Name</label>
                                                <div class="input-group">
                                                    <asp:Label ID="firstnamelabel" class="detail-label" runat="server"></asp:Label>
                                                    <asp:Label ID="middlenamelabel" class="detail-label" runat="server"></asp:Label>
                                                    <asp:Label ID="lastnamelabel" class="detail-label" runat="server"></asp:Label>
                                                </div>
                                            </div>
                                            <div class="col-md-4 mTop15">
                                                <label for="InputName">
                                                    Gender</label>
                                                <div class="input-group">
                                                    <asp:Label ID="genderlabel" class="detail-label" runat="server"></asp:Label>
                                                </div>
                                            </div>
                                            <div class="col-md-4 mTop15">
                                                <label for="InputName">
                                                    Date Of Birth</label>
                                                <div class="input-group">
                                                    <asp:Label ID="birthdatelabel" class="detail-label" runat="server"></asp:Label>
                                                </div>
                                            </div>

                                            <%--<div class="col-md-4 mTop15">
                                                <label for="InputName">
                                                    Previous School
                                                </label>
                                                <div class="input-group">
                                                    <asp:Label ID="previousschoollabel" class="detail-label" runat="server"></asp:Label>
                                                </div>
                                            </div>--%>
                                            <div class="col-md-4 mTop15" runat="server" visible="false" id="MaritalStatusDiv">
                                                <label for="InputName">
                                                    Marital Status
                                                </label>
                                                <div class="input-group">
                                                    <asp:Label ID="MaritalStatuslabel" class="detail-label" runat="server"></asp:Label>
                                                </div>
                                            </div>
                                            <div class="col-md-4 mTop15" runat="server" visible="false" id="BloodGroupDiv">
                                                <label for="InputName">
                                                    Blood Group
                                                </label>
                                                <div class="input-group">
                                                    <asp:Label ID="BloodGroupLabel" class="detail-label" runat="server"></asp:Label>
                                                </div>
                                            </div>
                                            <div class="col-md-4 mTop15">
                                                <label for="InputName">
                                                    Vacancy
                                                </label>
                                                <div class="input-group">
                                                    <asp:Label ID="VacancyLabel" class="detail-label" runat="server"></asp:Label>
                                                </div>
                                            </div>
                                            <div class="col-md-4 mTop15" runat="server" visible="false" id="ReligionDiv">
                                                <label for="InputName">
                                                    Religion</label>
                                                <div class="input-group">
                                                    <asp:Label ID="religionlabel" class="detail-label" runat="server"></asp:Label>
                                                </div>
                                            </div>
                                            <div class="col-md-4 mTop15" runat="server" visible="false" id="FamilyCasteDiv">
                                                <label for="InputName">
                                                    Family Cast</label>
                                                <div class="input-group">
                                                    <asp:Label ID="familycastlabel" class="detail-label" runat="server"></asp:Label>
                                                </div>
                                            </div>
                                            <div class="col-md-4 mTop15" runat="server" visible="false" id="CastCategoryDiv">
                                                <label for="InputName">
                                                    Cast Category</label>
                                                <div class="input-group">
                                                    <asp:Label ID="castcategorylabel" class="detail-label" runat="server"></asp:Label>
                                                </div>
                                            </div>
                                            <div class="col-md-4 mTop15" runat="server" visible="false" id="QualificationDiv">
                                                <label for="InputName">
                                                    Highest Qualification</label>
                                                <div class="input-group">
                                                    <asp:Label ID="QualificationLabel" class="detail-label" runat="server"></asp:Label>
                                                </div>
                                            </div>
                                            <div class="col-md-4 mTop15" runat="server" visible="false" id="MobileNoDiv">
                                                <label for="InputName">
                                                    Mobile No.</label>
                                                <div class="input-group">
                                                    <asp:Label ID="MobNoLabel" class="detail-label" runat="server"></asp:Label>
                                                </div>
                                            </div>

                                            <%--add for mantis: 34273, start--%>
                                            <div class="col-md-4 mTop15" runat="server" visible="false" id="WhatsAppContactNoDiv">
                                                <label for="InputName">
                                                    WhatsApp Contact No</label>
                                                <div class="input-group">
                                                    <asp:Label ID="WhatsAppContactNoDivLabel" class="detail-label" runat="server"></asp:Label>
                                                </div>
                                            </div>
                                            <%--add for mantis: 34273, end--%>

                                            <div class="col-md-4 mTop15" runat="server" visible="false" id="CandidatePhotoDiv">
                                                <label>
                                                    Candidate Photo</label>
                                                <div class="input-group col-md-12">
                                                    <img runat="server" id="StudentPhoto" height="60" width="60" />
                                                </div>
                                            </div>
                                            <div class="col-md-4 mTop15" runat="server" visible="false" id="PersonalEmailDiv">
                                                <label for="InputName">
                                                    Personal Email</label>
                                                <div class="input-group">
                                                    <asp:Label ID="PersonalEmailLabel" class="detail-label" runat="server"></asp:Label>
                                                </div>
                                            </div>
                                            <div class="col-md-4 mTop15" runat="server" visible="false" id="LastDrawnSalaryDiv">
                                                <label for="LastDrawnSalary">
                                                    Last Drawn Salary</label>
                                                <div class="input-group">
                                                    <asp:Label ID="LastDrawnSalaryLabel" class="detail-label" runat="server"></asp:Label>
                                                </div>
                                            </div>
                                            <div class="col-md-4 mTop15" runat="server" visible="false" id="ExpectedSalaryDiv">
                                                <label for="LastDrawnSalary">
                                                    Expected Salary</label>
                                                <div class="input-group">
                                                    <asp:Label ID="ExpectedSalaryLabel" class="detail-label" runat="server"></asp:Label>
                                                </div>
                                            </div>
                                            <div class="col-md-4 mTop15" runat="server" visible="false" id="AdditionalRemarkDiv">
                                                <label for="Additional Remark">
                                                    Additional Remark</label>
                                                <div class="input-group">
                                                    <asp:Label ID="AdditionalRemarkLabel" class="detail-label" runat="server"></asp:Label>
                                                </div>
                                            </div>
                                            <div class="col-md-4 mTop15" runat="server" visible="false" id="ReferenceDiv">
                                                <label for="Reference">
                                                    Reference</label>
                                                <div class="input-group">
                                                    <asp:Label ID="ReferenceLabel" class="detail-label" runat="server"></asp:Label>
                                                </div>
                                            </div>
                                            <div class="col-md-4 mTop15" runat="server" visible="false" id="MainSubjectDiv">
                                                <label for="MainSubject">
                                                    Main Subject</label>
                                                <div class="input-group">
                                                    <asp:Label ID="MainSubjectLabel" class="detail-label" runat="server"></asp:Label>
                                                </div>
                                            </div>
                                            <div class="col-md-4 mTop15" runat="server" visible="true" id="OrgDiv">
                                                <label for="MainSubject">
                                                    Organization</label>
                                                <div class="input-group">
                                                    <asp:Label ID="OrganizationLabel" class="detail-label" runat="server"></asp:Label>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <legend class="col-md-10 col-md-offset-1"></legend>
                            <div class="form-group">
                                <div class="row">
                                    <div>
                                        <div class="col-md-10 col-md-offset-1">
                                            <div class="header">
                                                <strong>
                                                    <h5>
                                                        <strong>
                                                            <asp:Label ID="AddressHeaderLabel" runat="server" Text="Communication Information"></asp:Label>
                                                        </strong>
                                                    </h5>
                                                </strong>
                                            </div>
                                        </div>
                                        <div class="col-md-10 col-md-offset-1 mTop15">
                                            <label for="InputName">
                                                Local Address:</label>
                                        </div>
                                        <div class="col-md-10 col-md-offset-1">
                                            <div class="col-md-4 mTop15" runat="server" visible="false" id="StreetOneDiv">
                                                <label for="InputName">
                                                    Street One</label>
                                                <div class="input-group">
                                                    <asp:Label ID="streetonelabel" class="detail-label" runat="server"></asp:Label>
                                                </div>
                                            </div>
                                            <div class="col-md-4 mTop15" runat="server" visible="false" id="StreetTwoDiv">
                                                <label for="InputName">
                                                    Street Two</label>
                                                <div class="input-group">
                                                    <asp:Label ID="streettwolabel" class="detail-label" runat="server"></asp:Label>
                                                </div>
                                            </div>
                                            <div class="col-md-4 mTop15" runat="server" visible="false" id="StreetThreeDiv">
                                                <label for="InputName">
                                                    Street Three</label>
                                                <div class="input-group">
                                                    <asp:Label ID="steetthreelabel" class="detail-label" runat="server"></asp:Label>
                                                </div>
                                            </div>
                                            <div class="col-md-4 mTop15" runat="server" visible="false" id="CityDiv">
                                                <label for="InputName">
                                                    City</label>
                                                <div class="input-group">
                                                    <asp:Label ID="citylabel" class="detail-label" runat="server"></asp:Label>
                                                </div>
                                            </div>
                                            <div class="col-md-4 mTop15" runat="server" visible="false" id="StateDiv">
                                                <label for="InputName">
                                                    State</label>
                                                <div class="input-group">
                                                    <asp:Label ID="statelabel" class="detail-label" runat="server"></asp:Label>
                                                </div>
                                            </div>
                                            <div class="col-md-4 mTop15" runat="server" visible="false" id="CountryDiv">
                                                <label for="InputName">
                                                    Country</label>
                                                <div class="input-group">
                                                    <asp:Label ID="countrylabel" class="detail-label" runat="server"></asp:Label>
                                                </div>
                                            </div>
                                            <div class="col-md-4 mTop15" runat="server" visible="false" id="ZipCodeDiv">
                                                <label for="InputName">
                                                    Zip Code</label>
                                                <div class="input-group">
                                                    <asp:Label ID="zipcodelabel" class="detail-label" runat="server"></asp:Label>
                                                </div>
                                            </div>
                                            <div class="col-md-4 mTop15" runat="server" visible="false" id="ContactNoDiv">
                                                <label for="InputName">
                                                    Contact No.
                                                </label>
                                                <div class="input-group">
                                                    <asp:Label ID="mobilenolabel" class="detail-label" runat="server"></asp:Label>
                                                </div>
                                            </div>

                                        </div>

                                        <div class="col-md-10 col-md-offset-1">
                                            <label for="InputName">
                                                Permanent Address:</label>
                                        </div>
                                        <div class="col-md-10 col-md-offset-1">
                                            <div class="col-md-4 mTop15">
                                                <label for="InputName">
                                                    Street One</label>
                                                <div class="input-group">
                                                    <asp:Label ID="PermanentStreetOneLabel" class="detail-label" runat="server"></asp:Label>
                                                </div>
                                            </div>
                                            <div class="col-md-4 mTop15">
                                                <label for="InputName">
                                                    Street Two</label>
                                                <div class="input-group">
                                                    <asp:Label ID="PermanentStreetTwoLabel" class="detail-label" runat="server"></asp:Label>
                                                </div>
                                            </div>
                                            <div class="col-md-4 mTop15">
                                                <label for="InputName">
                                                    Street Three</label>
                                                <div class="input-group">
                                                    <asp:Label ID="PermanentStreetThreeLabel" class="detail-label" runat="server"></asp:Label>
                                                </div>
                                            </div>
                                            <div class="col-md-4 mTop15">
                                                <label for="InputName">
                                                    City</label>
                                                <div class="input-group">
                                                    <asp:Label ID="PermanentCityLabel" class="detail-label" runat="server"></asp:Label>
                                                </div>
                                            </div>
                                            <div class="col-md-4 mTop15">
                                                <label for="InputName">
                                                    State</label>
                                                <div class="input-group">
                                                    <asp:Label ID="PermanentStateLabel" class="detail-label" runat="server"></asp:Label>
                                                </div>
                                            </div>
                                            <div class="col-md-4 mTop15">
                                                <label for="InputName">
                                                    Country</label>
                                                <div class="input-group">
                                                    <asp:Label ID="PermanentCountryLabel" class="detail-label" runat="server"></asp:Label>
                                                </div>
                                            </div>
                                            <div class="col-md-4 mTop15">
                                                <label for="InputName">
                                                    Zip Code</label>
                                                <div class="input-group">
                                                    <asp:Label ID="PermanentZipCodeOneLabel" class="detail-label" runat="server"></asp:Label>
                                                </div>
                                            </div>
                                            <div class="col-md-4 mTop15">
                                                <label for="InputName">
                                                    Contact No.
                                                </label>
                                                <div class="input-group">
                                                    <asp:Label ID="PermanentContactnoLabel" class="detail-label" runat="server"></asp:Label>
                                                </div>
                                            </div>

                                        </div>
                                    </div>
                                </div>
                            </div>
                            <legend class="col-md-10 col-md-offset-1"></legend>

                            <div class="form-group" runat="server" id="SiblingDiv">
                                <div class="row">
                                    <div>
                                        <div class="col-md-10 col-md-offset-1">
                                            <div class="header">
                                                <strong>
                                                    <h5>
                                                        <strong>
                                                            <asp:Label ID="SiblingHeaderLabel" runat="server" Text="Qualification"></asp:Label>
                                                        </strong>
                                                    </h5>
                                                </strong>
                                            </div>
                                        </div>
                                        <div class="col-md-10 col-md-offset-1">
                                            <asp:GridView ID="QualificationGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                AllowPaging="false" ShowHeader="True" EmptyDataText="No records Found" CssClass="table table-striped table-bordered"
                                                OnRowDataBound="QualificationGridView_RowDataBound" Font-Size="Small">
                                                <Columns>
                                                    <asp:BoundField DataField="ExamPassed" HeaderText="Exam Passed" />
                                                    <asp:BoundField DataField="PassYear" HeaderText="Pass Year" />
                                                    <%-- <asp:BoundField DataField="Percentage" HeaderText="Percentage" />--%>
                                                    <asp:TemplateField HeaderText="Percentage" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                        <ItemTemplate>
                                                            <asp:Label ID="PercentageTextBox" runat="server" SkinID="CustomWidthTextBox" MaxLength="100" Text='<%# DataBinder.Eval(Container.DataItem,"Percentage").ToString().ToUpper()=="0.00"?"":DataBinder.Eval(Container.DataItem,"Percentage")%>'></asp:Label>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:BoundField DataField="Grade" HeaderText="Grade" />
                                                    <asp:BoundField DataField="InstituteDetail" HeaderText="Institute Detail" />
                                                    <asp:BoundField DataField="BoardDetail" HeaderText="Board Detail" />
                                                    <asp:BoundField DataField="Medium" HeaderText="Medium" />
                                                    <asp:BoundField DataField="Subjects" HeaderText="Subjects" />
                                                </Columns>
                                                <PagerSettings Visible="False" />
                                            </asp:GridView>
                                        </div>
                                    </div>
                                </div>
                                <legend class="col-md-10 col-md-offset-1"></legend>
                            </div>

                            <div class="form-group" runat="server" id="EmploymentDiv">
                                <div class="row">
                                    <div>
                                        <div class="col-md-10 col-md-offset-1">
                                            <div class="header">
                                                <strong>
                                                    <h5>
                                                        <strong>
                                                            <asp:Label ID="EmploymentHeaderLabel" runat="server" Text="Employment"></asp:Label>
                                                        </strong>
                                                    </h5>
                                                </strong>
                                            </div>
                                        </div>
                                        <div class="col-md-10 col-md-offset-1">
                                            <asp:GridView ID="EmploymentGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                AllowPaging="false" ShowHeader="True" EmptyDataText="No records Found" CssClass="table table-striped table-bordered"
                                                Font-Size="Small" OnRowDataBound="EmploymentGridView_RowDataBound">
                                                <Columns>
                                                    <asp:BoundField DataField="CompanyName" HeaderText="Institute Name" />
                                                    <asp:BoundField DataField="FromDate" HeaderText="From Date" />
                                                    <asp:BoundField DataField="ToDate" HeaderText="To Date" />
                                                    <asp:BoundField DataField="Duration" HeaderText="Duration" />
                                                    <asp:BoundField DataField="Designation" HeaderText="Designation" />
                                                    <%--    <asp:BoundField DataField="LastSalary" HeaderText="LastS alary" />--%>
                                                    <asp:TemplateField HeaderText="LastSalary" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                        <ItemTemplate>
                                                            <asp:Label ID="LastSalaryTextBox" runat="server" SkinID="CustomWidthTextBox" MaxLength="100" Text='<%# DataBinder.Eval(Container.DataItem,"LastSalary").ToString().ToUpper()=="0"?"":DataBinder.Eval(Container.DataItem,"LastSalary")%>'></asp:Label>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:BoundField DataField="ReasonForLeaving" HeaderText="Reason For Leaving" />
                                                    <asp:BoundField DataField="JobDescription" HeaderText="Job Description" />
                                                    <asp:BoundField DataField="IsCurrentlyWorking" HeaderText="Currently Working" />
                                                </Columns>
                                                <PagerSettings Visible="False" />
                                            </asp:GridView>
                                        </div>
                                    </div>
                                </div>
                                <legend class="col-md-10 col-md-offset-1"></legend>
                            </div>

                            <%--add for mantis: 32799--%>
                            <div class="form-group" runat="server" id="CustomFieldDataDiv">
                                <div class="row">
                                    <div>
                                        <div class="col-md-10 col-md-offset-1">
                                            <div class="header">
                                                <strong>
                                                    <h5>
                                                        <strong>
                                                            <asp:Label ID="Label2" runat="server" Text="More Details"></asp:Label>
                                                        </strong>
                                                    </h5>
                                                </strong>
                                            </div>
                                        </div>
                                        <div class="col-md-10 col-md-offset-1">
                                            <asp:GridView runat="server" ID="CandidateCriteriaFormGridView" AutoGenerateColumns="False"
                                                EmptyDataText="No records available for the seacrh criteria!"
                                                AllowPaging="false" DataKeyNames="Id,FieldTypeId,FieldList,IsFieldMandatory,AutoId" ShowHeader="true"
                                                CssClass="table table-striped table-bordered table-hover more" Oncol-lg-12DataBound="CandidateSetupGridView_col-lg-12DataBound">
                                                <Columns>
                                                    <asp:BoundField DataField="FieldGroup" ItemStyle-Width="15%" HeaderStyle-HorizontalAlign="Left" />
                                                    <asp:BoundField DataField="FieldTitle" ItemStyle-Width="40%" HeaderStyle-HorizontalAlign="Left" />
                                                    <asp:TemplateField HeaderText="Mandatory" ItemStyle-Width="5%" SortExpression="IsFieldMandatory"
                                                        HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                        <ItemTemplate>
                                                            <asp:Label ID="IsFieldMandatoryLabel" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"IsFieldMandatory").ToString().ToUpper()=="TRUE"?"*":"" %>' class="text-red font-23"></asp:Label>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:BoundField DataField="FieldData" ItemStyle-Width="40%" HeaderStyle-HorizontalAlign="Left" />
                                                </Columns>
                                                <PagerSettings Visible="False" />
                                            </asp:GridView>
                                        </div>
                                    </div>
                                </div>
                                <legend class="col-md-10 col-md-offset-1"></legend>
                            </div>

                            <div class="form-group" runat="server" id="FamilyDiv">
                                <div class="row">
                                    <div>
                                        <div class="col-md-10 col-md-offset-1">
                                            <div class="header">
                                                <strong>
                                                    <h5>
                                                        <strong>
                                                            <asp:Label ID="Label1" runat="server" Text="Family Details"></asp:Label>
                                                        </strong>
                                                    </h5>
                                                </strong>
                                            </div>
                                        </div>
                                        <div class="col-md-10 col-md-offset-1">
                                            <asp:GridView ID="FamilyDetailsGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                AllowPaging="false" ShowHeader="True" EmptyDataText="No records Found" CssClass="table table-striped table-bordered"
                                                Font-Size="Small" OnRowDataBound="FamilyDetailsGridView_RowDataBound">
                                                <Columns>
                                                    <asp:BoundField DataField="Relationship" HeaderText="Relationship" />
                                                    <asp:BoundField DataField="Name" HeaderText="Name" />
                                                    <asp:BoundField DataField="BloodGroup" HeaderText="Blood Group" />
                                                    <asp:BoundField DataField="DateOfBirth" HeaderText="Date Of Birth" />
                                                    <asp:BoundField DataField="Age" HeaderText="Age" />
                                                    <asp:BoundField DataField="Occupation" HeaderText="Occupation" />
                                                </Columns>
                                                <PagerSettings Visible="False" />
                                            </asp:GridView>
                                        </div>
                                    </div>
                                </div>
                                <legend class="col-md-10 col-md-offset-1"></legend>
                            </div>

                        </div>
                    </div>
                </div>
                <div class="col-md-10 col-md-offset-1">
                    <div class="well well-sm divbg" runat="server" id="IAgreeDiv">
                        <div>
                            <label class="material-checkbox">
                                <asp:CheckBox ID="IAgreeCheckBox" runat="server" />
                                <%--<span class="popuptext" id="myPopup" title="XYZ">A Simple Popup!</span>--%>
                                <asp:Label ID="IAgreelabel" class="" runat="server"></asp:Label>
                            </label>
                        </div>
                    </div>
                </div>

                <div class="col-md-12" style="margin-bottom: 10px">
                    <div class="col-md-2">
                        <asp:Button ID="BackButton" runat="server" Text="< Back" OnClick="BackButton_Click" Visible="false" />
                    </div>
                    <div class="col-md-2">
                        <asp:Button ID="EditButton" runat="server" Text="Edit" OnClick="EditButton_Click" />
                    </div>
                    <div class="col-md-2">
                        <asp:Button ID="SaveButton" runat="server" Text="Confirm" OnClick="SaveButton_Click"
                            OnClientClick="return getConfirmation()" />
                    </div>
                    <div class="col-md-2">
                        <asp:Button ID="PrintButton" Text="Print" runat="server" OnClick="PrintButton_Click"
                            OnClientClick="exportToPDF()" />
                    </div>
                    <div class="col-md-2">
                        <asp:Button ID="btnPrintHTML" Text="Print HTML" runat="server" OnClick="btnPrintHTML_Click" OnClientClick="exportToPDF()" />
                    </div>
                </div>
                <div class="col-md-12" id="OnlinePaymentDiv" runat="server" visible="false">
                    <div class="col-md-10 col-md-offset-1">
                        <div class="alignCenter help help-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 mTop15">
                            <label for="InputName">
                                * Pay Type</label>
                            <div class="input-group">
                                <asp:DropDownList ID="PayTypeDropDownList" runat="server">
                                </asp:DropDownList>
                            </div>
                        </div>
                        <div class="col-md-4 mTop15">
                            <label for="InputName">
                                * Name</label>
                            <div class="input-group">
                                <asp:TextBox ID="NameTextBox" runat="server" placeholder="Enter Name"></asp:TextBox>
                            </div>
                        </div>
                        <div class="col-md-4 mTop15">
                            <label for="InputName">
                                * EmailID</label>
                            <div class="input-group">
                                <asp:TextBox ID="EmailIDTextBox" runat="server" placeholder="Enter Email ID"></asp:TextBox>
                            </div>
                        </div>
                        <div class="col-md-4 mTop15">
                            <label for="InputName">
                                * Mobile No</label>
                            <div class="input-group">
                                <asp:TextBox ID="MobileNoTextBox" runat="server" placeholder="Enter Mobile No" MaxLength="10"
                                    onkeypress="javascript:return isNumberKey(this)"></asp:TextBox>
                            </div>
                        </div>
                        <div class="col-md-4 mTop15">
                            <asp:Button ID="PayOnlineFeeButton" Text="Pay Online Fee" runat="server" OnClick="PayOnlineFeeButton_Click" />
                        </div>
                    </div>
                </div>
                <asp:ScriptManager ID="ScriptManager1" runat="server">
                </asp:ScriptManager>
                <rsweb:ReportViewer ID="ReportViewer1" runat="server" Width="0px">
                </rsweb:ReportViewer>
            </div>
        </div>
    </form>
</body>
</html>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src='<%# ResolveUrl("~/App_Themes/BlackTheme/plugins/jQueryUI/jquery-ui.min.js")%>'
    type="text/javascript"></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 Recruitment form?once confirmed it can not be edited!");
                return true;
            }
        }
        else {
            return window.confirm("Do you really want to save the Recruitment 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;
    }

</script>
