<%@ page language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_Hrm_Employee_EmployeeDataUpdate, App_Web_ag3r0auy" title="Employee Status" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl" TagPrefix="ScreenGroup" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager" TagPrefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="ResonMasterUpdatePanel" runat="server" UpdateMode="Always">
        <ContentTemplate>
            <div id="divContentPage">
                <div style="width: 100%">
                    <table width="100%" cellpadding="0" cellspacing="0">
                    </table>
                    <div class="spacer5">
                        <asp:Image ID="Image2" runat="server" ImageUrl="~/Images/spacer.gif"></asp:Image>
                    </div>
                    <table width="100%" border="0" style="vertical-align: top; margin-top: -1px" cellpadding="0" cellspacing="0">
                        <tr>
                            <td class="dashBoardLeftCont" style="width: 160px" valign="top">
                                <div id="leftContainer">
                                    <dl class="expandMenu">
                                        <table width="100%" border="0">
                                            <tr>
                                                <td>
                                                    <div class="himssuHeader3WireBox">
                                                        <dt id="dtSETTINGS" onclick="showHideSwitch('ddSETTINGS')">
                                                            <table width="100%" cellpadding="0" cellspacing="0">
                                                                <tr>
                                                                    <td>
                                                                        <div class="himsBoxHeader">
                                                                            <div class="leftdiv">
                                                                            </div>
                                                                            <div class="himsBoxTitle">
                                                                                <table width="100%">
                                                                                    <tr>
                                                                                        <td style="width: 100%">
                                                                                            <div class="headerText">
                                                                                                Master
                                                                                            </div>
                                                                                        </td>
                                                                                        <td>
                                                                                            <img name="ddSETTINGSButton" id="ddSETTINGSButton" src="../../../Images/buttonCollapse.gif"></img>
                                                                                        </td>
                                                                                    </tr>
                                                                                </table>
                                                                            </div>
                                                                        </div>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </dt>
                                                        <dd style="text-align: left; margin: 0px" id="ddSETTINGS">
                                                            <table width="100%" cellpadding="0" cellspacing="0">
                                                                <tr>
                                                                    <td>
                                                                        <div class="himsBoxContent leftTableContainer">
                                                                            <div class="leftUlMenu">
                                                                                <ul id="sidebarmenu1">
                                                                                    <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="129"
                                                                                        Visible="true" runat="server" />
                                                                                </ul>
                                                                            </div>
                                                                        </div>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                            <div class="himsBoxFooter">
                                                                <div>
                                                                </div>
                                                            </div>
                                                        </dd>
                                                    </div>
                                                </td>
                                            </tr>
                                        </table>
                                    </dl>
                                </div>
                            </td>
                            <td class="minMaxButton" style="width: 1%; margin: 0; vertical-align: top">
                                <asp:Image ID="Image7" runat="server" ImageUrl="~/Images/spacer.gif"></asp:Image>
                            </td>
                            <td style="vertical-align: top">
                                <div class="contentHolder">
                                    <div class="outerBox pTop5">
                                        <div class="controlLabelWidth">
                                            <asp:HiddenField ID="ContractorIdHiddenField" runat="server" />
                                            <asp:Label ID="EmployeeDataLabel1" Text="Employee Data" SkinID="MandatoryLabel" runat="server"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList ID="EmployeeDataDropDownList" runat="server" onmouseleave="showHideTooltip()" SkinID="CustomWidthDropDownList"
                                                Width="154px" AutoPostBack="true" OnSelectedIndexChanged="EmployeeDataDropDownList_SelectedIndexChanged" onmouseenter="showHideTooltip()">
                                            </asp:DropDownList>
                                        </div>
                                    </div>
                                    <div class="cBoth">
                                    </div>
                                </div>
                                <div class="himssuHeader1WireBox pTop10" id="HREmployeeMasterGridDiv" runat="server" style="width: 99%; margin-right: 5px;">
                                    <div class="himsBoxHeader">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle" style="width: 99%">
                                            <div class="headerText">
                                                <div class="fLeft">
                                                    <asp:Label ID="GridViewLabel" Text="Employee Data" runat="server"
                                                        meta:resourcekey="GridViewLabelResource1" />
                                                </div>
                                            </div>
                                            <div align="right" class="fRight" style="margin-top: -3px;">
                                            </div>
                                        </div>
                                    </div>
                                    <div class="himsBoxContent">
                                        <div id="DivHeader" style="vertical-align: top; width: 100%;">
                                            <asp:Table ID="EmployeeMasterGridViewTable" runat="server" CellPadding="0" CellSpacing="0"
                                                BackColor="#E8E8E8" ForeColor="Black" Width="100%" GridLines="Both" CssClass="GridViewTableRow">
                                            </asp:Table>
                                        </div>
                                        <div id="HREmployeeMasterGridViewMessageDiv" class="himsBoxContentMsg" runat="server"
                                            visible="False">
                                        </div>
                                        <div id="DivData" class="Container" style="vertical-align: top; height: 370px; width: 99.6%;">
                                            <asp:GridView runat="server" ID="HREmployeeMasterGridView" Width="100%" AutoGenerateColumns="False"
                                                EmptyDataText="No records available for the seacrh criteria!" DataKeyNames="SelectedValue,ContractorName,EmployeeId"
                                                AllowPaging="False" ShowHeader="false" OnRowDataBound="HREmployeeMasterGridView_RowDataBound">
                                                <PagerSettings Visible="False" />
                                                <Columns>
                                                    <asp:TemplateField HeaderText="Code" meta:resourcekey="TemplateFieldResource1">
                                                        <ItemTemplate>
                                                            <asp:Label ID="CodeGridLabel" runat="server" Text='<%# Eval("Code") %>' CssClass="boxEllips" ToolTip='<%# Bind("Code") %>'></asp:Label>
                                                        </ItemTemplate>
                                                        <HeaderStyle HorizontalAlign="Left" />
                                                        <ItemStyle HorizontalAlign="Left" Width="8%" />
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderText="Name" meta:resourcekey="TemplateFieldResource2">
                                                        <ItemTemplate>
                                                            <asp:Label ID="NameGridLabel" runat="server" Text='<%# Eval("EmployeeFullName") %>' CssClass="boxEllips" ToolTip='<%# Bind("EmployeeFullName") %>' Width="140px"></asp:Label>
                                                        </ItemTemplate>
                                                        <HeaderStyle HorizontalAlign="Left" />
                                                        <ItemStyle HorizontalAlign="Left" Width="14%" />
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderText="Employee Data" ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Left" ItemStyle-Wrap="true">
                                                        <ItemTemplate>
                                                            <asp:DropDownList ID="ProcessTypeDropDownList" runat="server" Visible="false"
                                                                SkinID="CustomWidthDropDownList" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                Width="160px">
                                                            </asp:DropDownList>
                                                            <asp:DropDownList ID="CompanyDropDownList1" runat="server" Visible="false"
                                                                SkinID="CustomWidthDropDownList" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                Width="160px">
                                                            </asp:DropDownList>
                                                            <asp:DropDownList ID="ContractorDropDownList1" runat="server" Visible="false"
                                                                SkinID="CustomWidthDropDownList" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                Width="160px">
                                                            </asp:DropDownList>
                                                            <asp:DropDownList ID="DesignationDropDownList" runat="server" Visible="false"
                                                                SkinID="CustomWidthDropDownList" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                Width="160px">
                                                            </asp:DropDownList>
                                                            <asp:TextBox ID="ESINumberTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                Visible="false" Width="160px" Height="50px">
                                                            </asp:TextBox>
                                                            <asp:DropDownList ID="BloodGroupDropDownList" runat="server" Visible="false"
                                                                SkinID="CustomWidthDropDownList" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                Width="160px">
                                                            </asp:DropDownList>
                                                            <asp:DropDownList ID="MaritalStatusDropDownList" runat="server" Visible="false"
                                                                SkinID="CustomWidthDropDownList" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                Width="160px">
                                                            </asp:DropDownList>
                                                            <asp:DropDownList ID="ReligionDropDownList1" runat="server" Visible="false"
                                                                SkinID="CustomWidthDropDownList" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                Width="160px">
                                                            </asp:DropDownList>
                                                            <asp:TextBox ID="IdMark1TextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                Visible="false" Width="160px" Height="33px">
                                                            </asp:TextBox>
                                                            <asp:TextBox ID="IdMark2TextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                Visible="false" Width="160px" Height="33px">
                                                            </asp:TextBox>
                                                        </ItemTemplate>
                                                        <HeaderStyle HorizontalAlign="Left" />
                                                        <ItemStyle HorizontalAlign="Left" Width="14%" />
                                                    </asp:TemplateField>
                                                </Columns>
                                                <PagerSettings Visible="False" />
                                            </asp:GridView>
                                        </div>
                                    </div>
                                </div>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
            <div class="spacer">
                <img src="../../../Images/spacer.gif" />
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--<script data-main="../../../JavaScript/rjs/encrypt/employee-data-update-encrypt" src="../../../JavaScript/rjs/require.js"></script>--%>    
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/employee-data-update")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>