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


<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl" TagPrefix="Date" %>
<%@ Register Src="~/UserControls/Common/CommonSearch/CommonSearch.ascx" TagName="CommonSearchUserControl" TagPrefix="Common" %>
<%@ Register Src="~/UserControls/AutoComplete/AutoCompleteControl.ascx" TagName="AutoCompleteControl" TagPrefix="acc" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl" TagPrefix="ScreenGroup" %>
<%@ Register Src="~/UserControls/Common/Recruitment/VacancyDetailBoxControl.ascx" TagName="VacancyControl" TagPrefix="Vacancy" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="HREmployeeMasterSearchUpdatePanel" runat="server">
        <ContentTemplate>
            <Common:CommonSearchUserControl ID="CommonSearchControl" runat="server" Visible="false" />
            <div id="divContentPage" class="divcontentpagemargin">
                <div class="dashBoardLeftCont">
                    <div class="himssuHeader3WireBox">
                        <table>
                            <tr>
                                <td>
                                    <div class="himsBoxContent">
                                        <div class="leftUlMenu">
                                            <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="229"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="whiteboxpaddingleft row">
                    <Vacancy:VacancyControl ID="VacancyUserControl" runat="server" Visible="true" />
                    <div class="himssuHeader1WireBox card card-box">
                        <div class="himsBoxHeader card-head" id="Div4" runat="server" visible="True">
                            <div class="leftdiv">
                            </div>
                            <div class="himsBoxTitle">
                                <div class="headerText fLeft">
                                    <header>
                                        <asp:Label ID="Label4" Text="Candidate Detail" runat="server" />
                                    </header>
                                </div>
                            </div>
                            <div class="fRight mt-27 pagination display-flex">

                                <asp:Button ID="OfferLetterReportButton" runat="server" Text="&#xf15b; Offer Letter" OnClick="OfferLetterReportButton_Click"
                                    SkinID="0" CssClass="fas btn btn-report " Style="width: auto!important" Font-Bold="true" CommandName="Print" Visible="false" />
                                <asp:HiddenField ID="ReportTypeHiddenField" runat="server" />
                                <div id="NumberOfRecordDiv" class="display-flex" runat="server" visible="true">
                                    <asp:LinkButton AlternateText="First page" ToolTip="First page" ID="FirstRecordImageButton"
                                        runat="server" CommandName="Page" CommandArgument="First"
                                        OnClick="FirstRecordImageButton_Click" CssClass="btn btn-default gridviewpagerbuttonpadding">
					<i class="fa fa-fast-backward"></i>
                                    </asp:LinkButton>
                                    <asp:LinkButton AlternateText="Previous page" ToolTip="Previous page" ID="PreviousImageButton"
                                        runat="server" CommandName="Page" CommandArgument="Prev"
                                        OnClick="PreviousImageButton_Click" CssClass="btn btn-default gridviewpagerbuttonpadding">
					<i class="fa fa-play fa-rotate-180"></i>
                                    </asp:LinkButton>

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

                                    <asp:LinkButton AlternateText="Last page" ToolTip="Last page" ID="LastRecordImageButton"
                                        runat="server" CssClass="btn btn-default gridviewpagerbuttonpadding" CommandName="Page" CommandArgument="Last"
                                        OnClick="LastRecordImageButton_Click">
					  <i class="fa fa-fast-forward"></i>
                                    </asp:LinkButton>
                                    &nbsp;  &nbsp; &nbsp;
                                </div>

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

                            </div>
                        </div>
                        <div class="himsBoxContent card-body padd-0">
                            <asp:Panel ID="DetailPanel" runat="Server">
                                <div class="contentHolder">
                                    <div class="topdisplayContainer" style="width: 100%">
                                        <table>
                                            <tr>
                                                <td>
                                                    <div class="himsDisplayBox">
                                                        <div style="margin-top: 0px">
                                                        </div>
                                                        <div class="himsBoxContent messageMessage col-md-12">
                                                            <div class="topdisplayContainer col-md-12">
                                                                <table>
                                                                    <tr>
                                                                        <td>
                                                                            <asp:Label ID="CodeLabelL" runat="server" Text="Code :" Font-Bold="true"></asp:Label>
                                                                            <%-- </td>
                                                                        <td>--%>
                                                                            <asp:Label ID="CodeLabelT" runat="server" Text=""></asp:Label>
                                                                        </td>
                                                                        <td></td>
                                                                        <td>&nbsp;
                                                                        </td>
                                                                        <td>&nbsp;
                                                                        </td>
                                                                        <td>&nbsp;
                                                                        </td>
                                                                        <td>
                                                                            <asp:Label ID="NameLabelL" runat="server" Text="Name :" Font-Bold="true"></asp:Label>
                                                                            <%-- </td>
                                                                        <td>--%>
                                                                            <asp:Label ID="NameLabelT" runat="server" Text=""></asp:Label>
                                                                        </td>
                                                                        <td>&nbsp;
                                                                        </td>
                                                                        <td>&nbsp;
                                                                        </td>
                                                                        <td>&nbsp;
                                                                        </td>
                                                                        <td>&nbsp;
                                                                        </td>
                                                                        <td>
                                                                            <asp:Label ID="StatusLabelL" runat="server" Text="Status :" Font-Bold="true"></asp:Label>
                                                                            <%-- </td>
                                                                        <td>--%>
                                                                            <asp:Label ID="StatusLabelT" runat="server" Text=""></asp:Label>
                                                                        </td>
                                                                        <td>&nbsp;
                                                                        </td>
                                                                        <td>&nbsp;
                                                                        </td>
                                                                        <td>&nbsp;
                                                                        </td>
                                                                        <td>&nbsp;
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                                <div class="cBoth">
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="himsBoxFooter">
                                                            <div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </td>
                                            </tr>
                                        </table>
                                    </div>
                                    <div class="navgraybackground ">
                                        <ul class="nav nav-tabs">
                                            <li class="active">
                                                <a href="#tab_1">
                                                    <asp:Button Text="&#xf044; General" ID="EmployeeMendatoryButton" CssClass="transparenttab fas" SkinID="0"
                                                        runat="server" />
                                                </a>
                                            </li>
                                            <li>
                                                <a href="#tab_1">
                                                    <asp:Button Text="&#xf095; Communication" ID="CommunicationButton" CssClass="transparenttab fas" SkinID="0"
                                                        Enabled="false" runat="server" />
                                                </a>
                                            </li>
                                            <li>
                                                <a href="#tab_1">
                                                    <asp:Button Text="&#xf0c0; Employment" ID="EmploymentButton" CssClass="transparenttab fas"
                                                        SkinID="0" runat="server" />
                                                </a>
                                            </li>
                                            <li>
                                                <a href="#tab_1">
                                                    <asp:Button Text="&#xf19d; Qualification" ID="QualificationButton" CssClass="transparenttab fas"
                                                        SkinID="0" runat="server" />
                                                </a>
                                            </li>
                                            <li>
                                                <a href="#tab_1">
                                                    <asp:Button Text="&#xf0c0; Family" ID="FamilyButton" CssClass="transparenttab fas"
                                                        SkinID="0" runat="server" />
                                                </a>
                                            </li>
                                            <li>
                                                <a href="#tab_1">
                                                    <asp:Button Text="&#xf21e; Health" ID="HealthButton" CssClass="transparenttab fas" Enabled="false" SkinID="0"
                                                        runat="server" Visible="false" />
                                                </a>
                                            </li>
                                            <li>
                                                <a href="#tab_1">
                                                    <asp:Button Text="&#xf15b; Document" ID="DocumentButton" CssClass="transparenttab fas" SkinID="0"
                                                        runat="server" />
                                                </a>
                                            </li>

                                        </ul>
                                    </div>
                                    <table width="100%" style="width: 100%">
                                        <div class="contentHolder">
                                            <tr>
                                                <td style="vertical-align: top; border-top: 0px solid gray !important; margin-top: -5px">
                                                    <asp:Panel ID="PanEnable" runat="server" meta:resourcekey="PanEnableResource1">
                                                        <div class="himssuHeader1WireBox">
                                                            <div class="himsBoxContent">
                                                                <div class="contentHolder">
                                                                    <div class="outerBox pTop5 col-md-3 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="CandidateNoLabel" runat="server" Text="Candidate No" SkinID="MandatoryLabel"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <asp:TextBox ID="CandidateNoTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                                AutoPostBack="true" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" OnTextChanged="CodeFindTextBox_TextChange"
                                                                                MaxLength="9"></asp:TextBox>
                                                                        </div>
                                                                        <div class="fLeft" style="margin-top: 2px; padding-left: 5px">
                                                                            <asp:ImageButton ID="CodeFindImageButton" runat="server" SkinID="FindImage" OnClick="CodeSearchImageButton_Click"
                                                                                ToolTip="Code Search" Visible="False" meta:resourcekey="CodeFindImageButtonResource1"></asp:ImageButton>
                                                                        </div>
                                                                        <asp:HiddenField ID="CodeHiddenField" runat="server" />
                                                                        <asp:HiddenField ID="RemoveHiddenField" runat="server" />
                                                                    </div>


                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="FirstNameLabel" runat="server" SkinID="MandatoryLabel" Text="First Name"
                                                                                meta:resourcekey="FirstNameLabelResource1"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <asp:TextBox ID="FirstNameTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" MaxLength="100"
                                                                                meta:resourcekey="FirstNameTextBoxResource1"></asp:TextBox><asp:HiddenField runat="server"
                                                                                    ID="HiddenFlag" />
                                                                        </div>
                                                                    </div>
                                                                    <div class="outerBox pTop5 col-md-3" id="MiddleNameDiv" runat="server" visible="false">
                                                                        <div class="controlLabelWidth">
                                                                            <%--<asp:Label ID="MiddleNameLabel" runat="server" Text="Middle/Father Name" meta:resourcekey="MiddleNameLabelResource1"></asp:Label>--%>
                                                                            <asp:Label ID="MiddleNameLabel" runat="server" Text="Middle/Father Name" meta:resourcekey="MiddleNameLabelResource1" Visible="false"></asp:Label>
                                                                            <asp:Label ID="MiddleNamelbl" runat="server" Text="Middle/Father Name" class="mandatory" Visible="false"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <asp:TextBox ID="MiddleNameTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" MaxLength="100"
                                                                                meta:resourcekey="MiddleNameTextBoxResource1"></asp:TextBox>
                                                                        </div>
                                                                    </div>
                                                                    <%--Mantis: 32015--%>
                                                                    <div class="outerBox pTop5 col-md-3" id="LastNameDiv" runat="server">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="LastNamelbl" runat="server" Text="Last Name" meta:resourcekey="MiddleNameLabelResource1" Visible="false"></asp:Label>
                                                                            <asp:Label ID="LastNameLabel" runat="server" Text="Last Name" SkinID="MandatoryLabel"
                                                                                meta:resourcekey="LastNameLabelResource1"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <asp:TextBox ID="LastNameTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" MaxLength="100"
                                                                                meta:resourcekey="LastNameTextBoxResource1"></asp:TextBox>
                                                                        </div>
                                                                    </div>

                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="DOBLabel" runat="server" Text="Date of Birth" SkinID="MandatoryLabel"
                                                                                meta:resourcekey="DOBLabelResource1"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <Date:DatePickerControl DisplayDatePicker="true" ID="DOBTextBox" runat="server" />
                                                                        </div>
                                                                    </div>
                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="GenderLabel" runat="server" Text="Gender" SkinID="MandatoryLabel"
                                                                                meta:resourcekey="GenderLabelResource1"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <asp:DropDownList ID="GenderDropDown" runat="server" onmouseleave="showHideTooltip()"
                                                                                onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" class="form-control"
                                                                                meta:resourcekey="GenderDropDownResource1">
                                                                            </asp:DropDownList>
                                                                        </div>
                                                                    </div>
                                                                    <div class="outerBox pTop5 col-md-3" id="MaritalStatusDiv" runat="server" visible="false">
                                                                        <div class="controlLabelWidth">
                                                                            <%--  <asp:Label ID="MaritalStatusLabel" runat="server" Text="Marital Status"></asp:Label>--%>
                                                                            <asp:Label ID="MaritalStatusLabel" runat="server" Text="Marital Status" meta:resourcekey="MiddleNameLabelResource1" Visible="false"></asp:Label>
                                                                            <asp:Label ID="MaritalStatuslbl" runat="server" Text="Marital Status" class="mandatory" Visible="false"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <asp:DropDownList ID="MaritalStatusDropDown" runat="server" AutoPostBack="False"
                                                                                SkinID="CustomWidthDropDownList" class="form-control" onmouseleave="showHideTooltip()"
                                                                                onmouseenter="showHideTooltip()">
                                                                            </asp:DropDownList>
                                                                        </div>
                                                                    </div>
                                                                    <%--<div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="BloodGroupLabel" runat="server" Text="BloodGroup"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <asp:DropDownList ID="BloodGroupDropDownList" runat="server" AutoPostBack="False"
                                                                                SkinID="CustomWidthDropDownList" CssClass="form-control" onmouseleave="showHideTooltip()"
                                                                                onmouseenter="showHideTooltip()">
                                                                            </asp:DropDownList>
                                                                        </div>
                                                                    </div>--%>
                                                                    <div class="outerBox pTop5 col-md-3" id="BloodGroupDiv" runat="server" visible="false">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="BloodGroupLabel" runat="server" Text="Blood Group" meta:resourcekey="MiddleNameLabelResource1" Visible="false"></asp:Label>
                                                                            <asp:Label ID="BloodGrouplbl" runat="server" Text="Blood Group" class="mandatory" Visible="false"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <asp:DropDownList ID="BloodGroupDropDownList" runat="server" AutoPostBack="False"
                                                                                SkinID="CustomWidthDropDownList" class="form-control" onmouseleave="showHideTooltip()"
                                                                                onmouseenter="showHideTooltip()">
                                                                            </asp:DropDownList>
                                                                        </div>
                                                                    </div>
                                                                    <div class="outerBox pTop5 col-md-3" id="ReligionDiv" runat="server" visible="false">
                                                                        <div class="controlLabelWidth">
                                                                            <%--    <asp:Label ID="ReligionLabel" runat="server" Text="Religion"></asp:Label>--%>
                                                                            <asp:Label ID="ReligionLabel" runat="server" Text="Religion" meta:resourcekey="MiddleNameLabelResource1" Visible="false"></asp:Label>
                                                                            <asp:Label ID="Religionlbl" runat="server" Text="Religion" class="mandatory" Visible="false"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <asp:DropDownList ID="ReligionDropDownList" runat="server" AutoPostBack="False" SkinID="CustomWidthDropDownList"
                                                                                class="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                                            </asp:DropDownList>
                                                                        </div>
                                                                    </div>
                                                                    <div class="outerBox pTop5 col-md-3" id="CastCategoryDiv" runat="server" visible="false">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="CastCategoryLabel" runat="server" Text="Caste Category" meta:resourcekey="MiddleNameLabelResource1" Visible="false"></asp:Label>
                                                                            <asp:Label ID="CastCategorylbl" runat="server" Text="Caste Category" class="mandatory" Visible="false"></asp:Label>
                                                                            <%--       <asp:Label ID="CastCategoryLabel" runat="server" Text="Caste Category"></asp:Label>--%>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <asp:DropDownList ID="CastCategoryDropDownList" runat="server" SkinID="CustomWidthDropDownList"
                                                                                class="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                                            </asp:DropDownList>
                                                                        </div>
                                                                    </div>
                                                                    <div class="outerBox pTop5 col-md-3" id="FamilyCasteDiv" runat="server" visible="false">
                                                                        <div class="controlLabelWidth">
                                                                            <%--<asp:Label ID="FamilyCastLabel" runat="server" Text="Family Caste" meta:resourcekey="FamilyCastLabelResource1"></asp:Label>--%>
                                                                            <asp:Label ID="FamilyCastLabel" runat="server" Text="Caste" meta:resourcekey="MiddleNameLabelResource1" Visible="false"></asp:Label>
                                                                            <asp:Label ID="FamilyCastlbl" runat="server" Text="Caste" class="mandatory" Visible="false"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <asp:TextBox ID="FamilyCastTextBox" runat="server" SkinID="CustomWidthTextbox"
                                                                                MaxLength="150" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                                meta:resourcekey="FamilyCastTextBoxResource1"></asp:TextBox>
                                                                        </div>
                                                                    </div>


                                                                    <div class="outerBox pTop5 col-md-3" id="QualificationDiv" runat="server" visible="false">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="QualificationLabel" runat="server" Text="Highest Qualification" meta:resourcekey="MiddleNameLabelResource1" Visible="false"></asp:Label>
                                                                            <asp:Label ID="Qualificationlbl" runat="server" Text="Highest Qualification" class="mandatory" Visible="false"></asp:Label>
                                                                            <%--<asp:Label ID="QualificationLabel" runat="server" Text="Highest Qualification" meta:resourcekey="CityLabelResource1"></asp:Label>--%>
                                                                        </div>
                                                                        <div class="fLeft pRight5">

                                                                            <asp:TextBox ID="QualificationTextBox" runat="server" SkinID="CustomWidthTextbox"
                                                                                MaxLength="150" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                                meta:resourcekey="IdentificationMarksOneTextBoxResource1"></asp:TextBox>
                                                                        </div>
                                                                    </div>
                                                                    <div class="outerBox pTop5 col-md-3" id="MobileNoDiv" runat="server" visible="false">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="MobileNoLabel" runat="server" Text="Mobile No" meta:resourcekey="MiddleNameLabelResource1" Visible="false"></asp:Label>
                                                                            <asp:Label ID="MobileNolbl" runat="server" Text="Mobile No" class="mandatory" Visible="false"></asp:Label>
                                                                            <%--<asp:Label ID="MobileNoLabel" runat="server" Text="Mobile No" meta:resourcekey="IdentificationMarksOneLabelResource1"></asp:Label>--%>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <asp:TextBox ID="MobileNoTextBox" runat="server" SkinID="CustomWidthTextbox"
                                                                                MaxLength="20" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" onkeypress="javascript:return isNumberKey(this)"
                                                                                meta:resourcekey="IdentificationMarksOneTextBoxResource1"></asp:TextBox>
                                                                        </div>
                                                                    </div>
                                                                    <div class="outerBox pTop5 col-md-3" id="PersonalEmailDiv" runat="server" visible="false">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="PersonalEmailLabel" runat="server" Text="Personal Email" meta:resourcekey="MiddleNameLabelResource1" Visible="false"></asp:Label>
                                                                            <asp:Label ID="PersonalEmaillbl" runat="server" Text="Personal Email" class="mandatory" Visible="false"></asp:Label>
                                                                            <%--<asp:Label ID="PersonalEmailLabel" runat="server" Text="Personal Email" meta:resourcekey="IdentificationMarksOneLabelResource1"></asp:Label>--%>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <asp:TextBox ID="PersonalEmailTextBox" runat="server" SkinID="CustomWidthTextbox"
                                                                                MaxLength="100" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" onblur="return checkEmail(this);"
                                                                                meta:resourcekey="IdentificationMarksOneTextBoxResource1"></asp:TextBox>
                                                                        </div>
                                                                    </div>
                                                                    <div class="outerBox pTop5 col-md-3" id="LastDrawnSalaryDiv" runat="server" visible="false">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="LastDrawnSalaryLabel" runat="server" Text="Last Drawn Salary" meta:resourcekey="MiddleNameLabelResource1" Visible="false"></asp:Label>
                                                                            <asp:Label ID="LastDrawnSalarylbl" runat="server" Text="Last Drawn Salary" class="mandatory" Visible="false"></asp:Label>
                                                                            <%-- <asp:Label ID="LastDrawnSalaryabel" runat="server" Text="Last Drown Salary"></asp:Label>--%>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <asp:TextBox ID="LastDrawnSalaryTextBox" runat="server" SkinID="CustomWidthTextbox"
                                                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" onkeypress="javascript:return isNumberKey(this)"></asp:TextBox>
                                                                        </div>
                                                                    </div>
                                                                    <div class="outerBox pTop5 col-md-3" id="ExpectedSalaryDiv" runat="server" visible="false">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="ExpectedSalaryLabel" runat="server" Text="Expected Salary" meta:resourcekey="MiddleNameLabelResource1" Visible="false"></asp:Label>
                                                                            <asp:Label ID="ExpectedSalarylbl" runat="server" Text="Expected Salary" class="mandatory" Visible="false"></asp:Label>
                                                                            <%--<asp:Label ID="ExpectedSalaryLabel" runat="server" Text="Expected Salary"></asp:Label>--%>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <asp:TextBox ID="ExpectedSalaryTextBox" runat="server" SkinID="CustomWidthTextbox"
                                                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" onkeypress="javascript:return isNumberKey(this)"></asp:TextBox>
                                                                        </div>
                                                                    </div>

                                                                    <div class="outerBox pTop5 col-md-3" id="AdditionalRemarkDiv" runat="server" visible="false">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="AdditionalRemarkLabel" runat="server" Text="Additional Remark" Visible="false"></asp:Label>
                                                                            <asp:Label ID="AdditionalRemarklbl" runat="server" Text="Additional Remark" class="mandatory" Visible="false"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft">
                                                                            <asp:TextBox ID="AdditionalRemarkTextBox" TextMode="MultiLine"
                                                                                runat="server" SkinID="MultilineTextBox" Height="30px"
                                                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                                meta:resourcekey="RemarkTextBoxResource1"></asp:TextBox>
                                                                        </div>
                                                                    </div>
                                                                    <div class="outerBox pTop5 col-md-3" id="ReferenceDiv" runat="server" visible="false">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="ReferenceLabel" runat="server" Text="Reference" meta:resourcekey="MiddleNameLabelResource1" Visible="false"></asp:Label>
                                                                            <asp:Label ID="Referencelbl" runat="server" Text="Reference" class="mandatory" Visible="false"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <asp:DropDownList ID="ReferenceDropDownList" runat="server" AutoPostBack="False" SkinID="CustomWidthDropDownList"
                                                                                class="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                                            </asp:DropDownList>
                                                                        </div>
                                                                    </div>
                                                                    <div class="outerBox pTop5 col-md-3" id="MainSubjectDiv" runat="server" visible="false">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="MainSubjectLabel" runat="server" Text="Main Subject(For Teaching Staff)" meta:resourcekey="MainSubjectLabelResource1" Visible="false"></asp:Label>
                                                                            <asp:Label ID="MainSubjectlbl" runat="server" Text="Main Subject(For Teaching Staff)" class="mandatory" Visible="false"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <asp:TextBox ID="MainSubjectTextBox" runat="server" SkinID="CustomWidthTextbox"
                                                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"></asp:TextBox>
                                                                        </div>
                                                                    </div>
                                                                    <div class="outerBox pTop5 col-md-3" id="OrgDiv" runat="server" visible="false">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="OrgLabel" runat="server" Text="Organization" meta:resourcekey="MiddleNameLabelResource1"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <asp:DropDownList ID="OrganizationDropDownList" runat="server" AutoPostBack="False" SkinID="CustomWidthDropDownList"
                                                                                class="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                                            </asp:DropDownList>
                                                                        </div>
                                                                    </div>
                                                                    <div class="cBoth">
                                                                    </div>
                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <asp:Image ID="CandidateImage" Visible="true" runat="server" Height="60px" Width="60px"
                                                                            AlternateText="Upload Photo" /><br />
                                                                        <asp:Label ID="Label2" runat="server" Text="Code : " Font-Bold="true"></asp:Label>
                                                                        <asp:Label ID="Code1Label" runat="server" Font-Bold="true"></asp:Label><br />
                                                                        <asp:Label ID="Label3" runat="server" Text="Name : " Font-Bold="true"></asp:Label>
                                                                        <asp:Label ID="NameLabel" runat="server" Font-Bold="true"></asp:Label>
                                                                    </div>
                                                                    <div class="cBoth">
                                                                    </div>

                                                                    <%--add for mantis: 32799--%>
                                                                    <br />
                                                                    <br />
                                                                    <br />

                                                                    <div class="outerBox pTop15 col-md-12" style="padding-bottom: 20px">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="Label7" runat="server" Text="Vacancy Custom Fields">
                                                                            </asp:Label>
                                                                        </div>
                                                                        <div class="table-responsive padd-5">
                                                                            <asp:GridView runat="server" ID="EmployeeCriteriaFormGridView" AutoGenerateColumns="False"
                                                                                EmptyDataText="No records available for the seacrh criteria!" OnRowDataBound="EmployeeCriteriaFormGridView_RowDataBound"
                                                                                AllowPaging="false" DataKeyNames="Id,FieldTypeId,FieldList,IsFieldMandatory,FieldData,AutoId" ShowHeader="true"
                                                                                CssClass="table table-striped table-bordered table-hover more" Oncol-lg-12DataBound="EmployeeCriteriaFormGridView_col-lg-12DataBound">
                                                                                <Columns>
                                                                                    <asp:BoundField DataField="FieldGroup" ItemStyle-Width="15%" HeaderStyle-HorizontalAlign="Left" />
                                                                                    <asp:BoundField DataField="FieldTitle" ItemStyle-Width="40%" HeaderStyle-HorizontalAlign="Left" />
                                                                                    <asp:TemplateField HeaderText="Mandatory" ItemStyle-Width="5%" SortExpression="IsFieldMandatory"
                                                                                        HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="IsFieldMandatoryLabel" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"IsFieldMandatory").ToString().ToUpper()=="TRUE"?"*":"" %>' class="text-red font-23"></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField ItemStyle-Width="40%" HeaderText="" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>

                                                                                            <asp:DropDownList ID="FieldTypeDropDownList" runat="server" Visible="false" CssClass="form-control" Width="98%"></asp:DropDownList>
                                                                                            <asp:TextBox ID="FieldTypeTextBox" runat="server" Visible="false" TextMode="MultiLine" CssClass="form-control" Height="50px"></asp:TextBox>

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

                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </asp:Panel>
                                                </td>
                                            </tr>
                                        </div>
                                    </table>
                                </div>
                            </asp:Panel>
                        </div>
                    </div>
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--<script data-main="../../../JavaScript/rjs/builtjs/candidate-master-built" src="../../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/candidate-master")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
