<%@ page title="" language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_Hrm_Employee_EmployeeMaster, App_Web_mn4owe4e" 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" %>

<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="164"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="row whiteboxpaddingleft">
                    <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>
                                        <i class="fas fa-info-circle"></i>
                                        <asp:Label ID="Label4" Text="Employee Detail" runat="server" />
                                    </header>
                                </div>
                            </div>
                            <div class="fRight mt-27 pagination display-flex">
                                <%-- <asp:ImageButton AlternateText="First page" ToolTip="First page" ID="FirstRecordImageButton"
                                    runat="server" ImageUrl="~/Images/arrowLlast.gif" OnClick="FirstRecordImageButton_Click" />
                                <asp:ImageButton AlternateText="Previous page" ToolTip="Previous page" ID="PreviousImageButton"
                                    runat="server" ImageUrl="~/Images/arrowLeft.gif" OnClick="PreviousImageButton_Click" />
                                <asp:Label ID="LabelPage" runat="server" Text="Record " AssociatedControlID="ReCordNumber" />
                                <asp:Label ID="ReCordNumber" Font-Bold="true" SkinID="Dummy" runat="server"></asp:Label>
                                <asp:Label ID="ofLabel" Text="of" runat="server" />
                                <asp:Label ID="TotalRecord" runat="server" />
                                <asp:ImageButton AlternateText="Next page" ToolTip="Next page" ID="NextImageButtom"
                                    runat="server" ImageUrl="~/Images/arrowRight.gif" OnClick="NextImageButton_Click" />
                                <asp:ImageButton AlternateText="Last page" ToolTip="Last page" ID="LastRecordImageButton"
                                    runat="server" ImageUrl="~/Images/arrowRLast.gif" OnClick="LastRecordImageButton_Click" />
                                <asp:Button ID="BackButton" runat="Server" OnClick="BackButton_Click" SkinID="0"
                                    CssClass="BackButton" Text="Back" />--%>

                                <table>
                                    <tr>
                                        <td class="formLabel">
                                            <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>
                                                &nbsp;
                                                <asp:Label ID="LabelPage" runat="server" Text="Record " AssociatedControlID="ReCordNumber" />
                                                <asp:Label ID="ReCordNumber" Font-Bold="true" SkinID="Dummy" runat="server"></asp:Label>
                                                <asp:Label ID="ofLabel" Text="of" runat="server" />
                                                <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>
                                        </td>
                                        <td>
                                            <asp:Button ID="BackButton" runat="Server" OnClick="BackButton_Click" SkinID="0" CssClass="btn btn-back fas" Text="&#xf30a;  back" />
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </div>
                        <div class="himsBoxContent card-body">
                            <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">
                                                            <div class="topdisplayContainer p-l-10">
                                                                <table class="fLeft">
                                                                    <tr>
                                                                        <td>
                                                                            <asp:Label ID="CodeLabelL" runat="server" Text="Code :" Font-Bold="true"></asp:Label>
                                                                            &nbsp;&nbsp;
                                                                            <asp:Label ID="CodeLabelT" runat="server" Text=""></asp:Label>
                                                                        </td>
                                                                        <td>&nbsp;
                                                                        </td>
                                                                        <td>&nbsp;
                                                                        </td>
                                                                        <td>&nbsp;
                                                                        </td>
                                                                        <td>&nbsp;
                                                                        </td>
                                                                        <td>
                                                                            <asp:Label ID="NameLabelL" runat="server" Text="Name :" Font-Bold="true"></asp:Label>
                                                                            &nbsp;&nbsp;
                                                                            <asp:Label ID="NameLabelT" 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="&#xf0f2; Job" ID="EmployeeJobDetailButton" CssClass="transparenttab fas" SkinID="0"
                                                        runat="server" Enabled="false" />
                                                </a>
                                            </li>
                                            <li>
                                                <a href="#tab_1">
                                                    <asp:Button Text="&#xf007; Personal" ID="EmployeePersonalDetailButton" CssClass="transparenttab fas"
                                                        SkinID="0" Enabled="false" 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 runat="server" visible="false" id="StatutoryTab">
                                                <a href="#tab_1">
                                                    <asp:Button Text="&#xf044; Statutory" ID="StatutoryButton" CssClass="transparenttab fas" OnClick="Statutory_Click"
                                                        Enabled="false" SkinID="0" runat="server" />
                                                </a>
                                            </li>
                                            <li>
                                                <a href="#tab_1">
                                                    <asp:Button Text="&#xf007; Employment" ID="EmploymentButton" CssClass="transparenttab fas" Enabled="false"
                                                        SkinID="0" runat="server" />
                                                </a>
                                            </li>
                                            <li>
                                                <a href="#tab_1">
                                                    <asp:Button Text="&#xf19d; Qualification" ID="QualificationButton" CssClass="transparenttab fas" Enabled="false"
                                                        SkinID="0" runat="server" />
                                                </a>
                                            </li>
                                            <li>
                                                <a href="#tab_1">
                                                    <asp:Button Text="&#xf0c0; Family" ID="FamilyButton" CssClass="transparenttab fas" SkinID="0" Enabled="false"
                                                        runat="server" />
                                                </a>
                                            </li>
                                            <li>
                                                <a href="#tab_1">
                                                    <asp:Button Text="&#xf15b; Document" ID="DocumentButton" CssClass="transparenttab fas" OnClick="Document_Click"
                                                        SkinID="0" runat="server" />
                                                </a>
                                            </li>
                                            <li>
                                                <a href="#tab_1">
                                                    <asp:Button Text="Health" ID="HealthButton" CssClass="transparenttab fas" Enabled="false" SkinID="0"
                                                        runat="server" Visible="false" />
                                                </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">
                                                    <div class="himssuHeader1WireBox">
                                                        <div class="himsBoxContent">
                                                            <div class="contentHolder">
                                                                <div id="EUIdDiv" class="outerBox pTop5 col-md-3" runat="server" visible="false">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="EUIdLabel" runat="server" Text="EUId" SkinID="MandatoryLabel"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:TextBox ID="EUIdTextBox" runat="server" SkinID="CustomWidthTextBox" Enabled="false"></asp:TextBox>
                                                                    </div>
                                                                </div>
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="CodeLabel" runat="server" Text="Code" SkinID="MandatoryLabel" meta:resourcekey="CodeLabelResource1"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:TextBox ID="CodeFindTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                            AutoPostBack="true" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                            OnTextChanged="CodeFindTextBox_TextChange" meta:resourcekey="CodeFindTextBoxResource1"
                                                                            MaxLength="20"></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="NumberLabel" runat="server" Text="Number"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:TextBox ID="NumberTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" MaxLength="50"></asp:TextBox>
                                                                    </div>
                                                                </div>
                                                                <div class="outerBox pTop5 col-md-3" runat="server" visible="true" id="EUIdSpaceDiv">
                                                                </div>
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="col-md-12">
                                                                        <asp:Image ID="EmployeeImage" Visible="true" runat="server" Height="50px" Width="50px"
                                                                            AlternateText="Upload Photo" /><br />
                                                                    </div>
                                                                </div>
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="ShortNameLabel" runat="server" Text="Short Name"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:TextBox ID="ShortNameTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" MaxLength="50"></asp:TextBox>
                                                                    </div>
                                                                </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">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="MiddleNameLabel" runat="server" Text="Middle/Father Name" meta:resourcekey="MiddleNameLabelResource1"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:TextBox ID="MiddleNameTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" MaxLength="100"
                                                                            meta:resourcekey="MiddleNameTextBoxResource1"></asp:TextBox>
                                                                    </div>
                                                                </div>
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <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="EmployeeTypeLabel2" runat="server" SkinID="MandatoryLabel" Text="Employee Type"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:DropDownList runat="server" ID="EmployeeTypeDropDownList2" SkinID="CustomWidthDropDownList"
                                                                            onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()">
                                                                        </asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="EmployeeGroupLabel" runat="server" SkinID="MandatoryLabel" Text="Employee Group"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:DropDownList runat="server" ID="EmployeeGroupDropDownList" SkinID="CustomWidthDropDownList"
                                                                            onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()">
                                                                        </asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="Label1" runat="server" Text="Employee Grade" SkinID="MandatoryLabel"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:DropDownList runat="server" ID="EmployeeGradeDropDownList" SkinID="CustomWidthDropDownList"
                                                                            onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()">
                                                                        </asp:DropDownList>
                                                                    </div>
                                                                </div>

                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="DepartmentLabel" runat="server" SkinID="MandatoryLabel" Text="Department"
                                                                            meta:resourcekey="DepartmentLabelResource1"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:DropDownList runat="server" ID="DepartmentDropDownList" onmouseleave="showHideTooltip()"
                                                                            CssClass="form-control" SkinID="CustomWidthDropDownList" onmouseenter="showHideTooltip()">
                                                                        </asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="EmployeeDesignationLabel2" runat="server" Text="Designation"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:DropDownList runat="server" ID="EmployeeDesignationDropDownList" SkinID="CustomWidthDropDownList"
                                                                            onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()">
                                                                        </asp:DropDownList>
                                                                    </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" CssClass="form-control"
                                                                            meta:resourcekey="GenderDropDownResource1">
                                                                        </asp:DropDownList>
                                                                    </div>
                                                                </div>

                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="DOBLabel" runat="server" Text="Date of Birth"
                                                                            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="DOJLabel" runat="server" Text="Date of Joining" meta:resourcekey="DOJLabelResource1"></asp:Label>
                                                                        <asp:Label ID="DOJLabelM" runat="server" Text="Date of Joining" meta:resourcekey="DOJLabelResource1" SkinID="MandatoryLabel" Visible="false"></asp:Label>

                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <Date:DatePickerControl DisplayDatePicker="true" ID="DOJTextBox" runat="server" />
                                                                    </div>
                                                                </div>
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="EmployeeStatusLabel2" runat="server" Text="Status" SkinID="MandatoryLabel"
                                                                            meta:resourcekey="GenderLabelResource1"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:DropDownList ID="EmployeeStatusDropDownList1" runat="server" onmouseleave="showHideTooltip()"
                                                                            onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control" OnSelectedIndexChanged="EmployeeStatusDropDownList1_OnSelectedIndexChanged" AutoPostBack="true">
                                                                        </asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="DateOfLeaving" runat="server" Text="Date of Leaving" meta:resourcekey="DOJLabelResource1"></asp:Label>
                                                                        <asp:Label ID="DateOfLeavingM" runat="server" Text="Date of Leaving" meta:resourcekey="DOJLabelResource1" SkinID="MandatoryLabel" Visible="false"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <Date:DatePickerControl DisplayDatePicker="true" ID="DateOfLeavingTextBox" SkinID="CustomWidthDropDownList"
                                                                            Width="150px" runat="server" Enabled="false" />
                                                                    </div>
                                                                </div>
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:CheckBox ID="IsOtherUserCheckBox" runat="server" Text="Not Employee" />
                                                                    </div>
                                                                </div>
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth select">
                                                                        <asp:CheckBox ID="CustomTagCheckBox" runat="server" AutoPostBack="True" Text="Select All Custom Tag" OnCheckedChanged="CustomTagCheckBox_CheckedChanged" />
                                                                        <%--<asp:Label ID="ApplyForAllCustomTagLabel" runat="server" Text="Select All Custom Tag" class="pLeft5"></asp:Label>--%>
                                                                    </div>
                                                                    <div id="CustomTagDiv" runat="server" class="fLeft pRight5">
                                                                        <asp:CheckBoxList ID="CustomTagCheckBoxList" runat="server">
                                                                        </asp:CheckBoxList>
                                                                    </div>
                                                                </div>
                                                                <%-- <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:CheckBox ID="IsOtherUserCheckBox" runat="server" Text="Not Employee" />
                                                                    </div>
                                                                </div>--%>
                                                                <div class="outerBox pTop5 col-md-3" id="ObsoleteControlsDiv" visible="true" runat="server">
                                                                    <div class="fLeft">
                                                                        <asp:CheckBox ID="InActiveCheckBox" runat="server" Visible="false" Text="InActive" meta:resourcekey="InActiveCheckBoxResource1" />
                                                                    </div>
                                                                    <%-- <div class="fLeft pLeft5 pTop5">
                                                                            <asp:Label ID="InActiveLabel" Visible="false" runat="server" Text="InActive" meta:resourcekey="InActiveLabelResource1"></asp:Label>
                                                                        </div>--%>
                                                                </div>

                                                                <%--<div class="col-md-12">
                                                                    <asp:Image ID="EmployeeImage" Visible="true" runat="server" Height="60px" Width="60px"
                                                                        AlternateText="Upload Photo" /><br />
                                                                </div>--%>

                                                                <%-- <div class="col-md-12">

                                                                    <asp:Label ID="Label2" runat="server" Text="Code : " Font-Bold="true"></asp:Label>&nbsp;
                                                                            <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>&nbsp;
                                                                            <asp:Label ID="NameLabel" runat="server" Font-Bold="true"></asp:Label>
                                                                </div>--%>

                                                                <div class="outerBox11 pTop15 col-md-12" style="padding-bottom: 20px">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="Label7" runat="server" Text="Employee Custom Fields">
                                                                        </asp:Label>
                                                                    </div>
                                                                    <div class="table-responsive padd-5">
                                                                        <%--Changes for mantis : 0038705 By Krunal K Patel Added FieldTypeDatePickerControl --%>
                                                                        <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>
                                                                                        <Date:DatePickerControl DisplayDatePicker="true" ID="FieldTypeDatePickerControl" runat="server" Visible="false" />
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                            </Columns>
                                                                            <PagerSettings Visible="False" />
                                                                        </asp:GridView>

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

                                                        </div>
                                                    </div>
                                                </td>
                                            </tr>
                                        </div>
                                    </table>
                            </asp:Panel>
                        </div>
                    </div>
                </div>
            </div>

        </ContentTemplate>
    </asp:UpdatePanel>
    <%--<script data-main="../../../JavaScript/rjs/encrypt/employee-general-encrypt" src="../../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/employee-general")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
