<%@ page language="C#" autoeventwireup="true" maintainscrollpositiononpostback="true" inherits="Transactions_PopUp_CompensationEntry, App_Web_jfcqs0e1" %>

<%@ Register Src="~/UserControls/TA_uc_OrganizationLevels.ascx" TagName="OrganizationLevel"
    TagPrefix="uc" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <title>Timecheck</title>
    <link href="../../css/stylesheet.css" rel="stylesheet" />

    <script language="javascript" src="../../js/Popup.js" type="text/javascript"></script>

    <script language="javascript" src="../../js/ShiftExchange.js" type="text/javascript"></script>

    <script language="javascript" src="../../js/chkbox_delete.js" type="text/javascript"></script>

</head>
<body style="background-color: white">
    <form id="aspnetForm" runat="server">
        <%--<asp:ScriptManager ID="scriptmanager" runat="server">
        </asp:ScriptManager>--%>
        <table cellpadding="0" cellspacing="0" class="td" width="100%">
            <tr>
                <td class="td" style="height: 10px">
                    <%--<asp:UpdatePanel ID="upOrgLevel" runat="server">
                        <ContentTemplate>--%>
                    <asp:PlaceHolder ID="PlaceHolderAbsentees" runat="server">
                        <uc:OrganizationLevel ID="ucOrganizationLevel" runat="server" />
                    </asp:PlaceHolder>
                    <%--</ContentTemplate>
                    </asp:UpdatePanel>--%>
                </td>
            </tr>
            <tr>
                <td class="td" style="height: 10px">
                    <asp:Label ID="lbl_Error" runat="server" Style="color: #ff0000"></asp:Label>&nbsp;
                </td>
            </tr>
            <tr>
                <td align="right">
                    &nbsp;
                    <asp:Button ID="butGo" CssClass="but" runat="server" CausesValidation="False" OnClick="butGo_Click" />
                    &nbsp;&nbsp;
                </td>
            </tr>
        </table>
        <table cellpadding="0" cellspacing="0" class="td" width="100%">
            <tr>
                <td class="td">
                    <asp:GridView ID="grv_Shift" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                        PageSize="5" Visible="false" Width="100%" OnRowDataBound="grv_Shift_RowDataBound"
                        OnPageIndexChanging="grv_Shift_PageIndexChanging">
                        <Columns>
                            <asp:TemplateField HeaderStyle-BorderStyle="Solid" HeaderStyle-BorderWidth="1px"
                                HeaderStyle-BorderColor="#FFFFFF" ItemStyle-BorderStyle="Solid" ItemStyle-BorderColor="#FFFFFF"
                                ItemStyle-BorderWidth="1px">
                                <HeaderTemplate>
                                    <%--<asp:CheckBox ID="checkall" OnClick="javascript:select_all(this.checked,this.id);InsertEmployeeDetails(this);"
                                        runat="server" />--%>
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <%-- <input id="deletethis" runat="server" onclick="javascript:select_all(this.checked,this.id);InsertEmployeeDetailsShiftExchange(this);" type='checkbox' value='<%# Eval("Employee_Id")%>' />--%>
                                    <%-- <asp:CheckBox ID="deletethis" OnClick="javascript:select_all(this.checked,this.id);InsertEmployeeDetails(this);"
                                        runat="server"></asp:CheckBox>--%>
                                    <input id="rdbId" runat="server" onclick="InsertEmployeeDetailsShiftExchange(this);"
                                        type="radio" value='<%# Eval("Employee_Code_Id")%>' />
                                </ItemTemplate>
                                <ItemStyle HorizontalAlign="Center" />
                                <HeaderStyle HorizontalAlign="Center" />
                            </asp:TemplateField>
                            <asp:TemplateField HeaderStyle-BorderStyle="Solid" HeaderStyle-BorderWidth="1px"
                                HeaderStyle-BorderColor="#FFFFFF" ItemStyle-BorderStyle="Solid" ItemStyle-BorderColor="#FFFFFF"
                                ItemStyle-BorderWidth="1px" HeaderText="Employee Id">
                                <ItemTemplate>
                                    <asp:Label ID="lbl_EmpId" runat="server" Text='<%# Eval("Employee_Code_Id")%>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderStyle-BorderStyle="Solid" HeaderStyle-BorderWidth="1px"
                                HeaderStyle-BorderColor="#FFFFFF" ItemStyle-BorderStyle="Solid" ItemStyle-BorderColor="#FFFFFF"
                                ItemStyle-BorderWidth="1px" HeaderText="Employee Name">
                                <ItemTemplate>
                                    <asp:Label ID="lbl_EmpName" runat="server" Text='<%# Eval("Employee Name")%>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                        <PagerStyle VerticalAlign="Bottom" HorizontalAlign="Right" Font-Overline="False"
                            BorderColor="#FFFFFF" BorderStyle="solid" BorderWidth="1px" Font-Size="Smaller" />
                    </asp:GridView>
                    &nbsp;&nbsp;&nbsp;&nbsp;
                </td>
            </tr>
            <tr>
                <td align="center" class="td">
                    <asp:Button ID="btn_done1" CssClass="but" runat="server" CausesValidation="False"
                        OnClientClick="return CloseShiftExchangeWindow();" />
                    <input type="hidden" id="hdnEmployeeCodeId" runat="server" />
                    <input type="hidden" id="hdnTxtField" runat="server" /></td>
            </tr>
        </table>
    </form>
</body>
</html>
