<%@ Page Title="" Language="C#" MasterPageFile="~/EmptyAjaxMaster.Master" AutoEventWireup="true" CodeBehind="NonAuditEntitySelectionPage.aspx.cs" Inherits="MKInsight.Online.ActionTracking.TimeRecording.NonAuditEntitySelectionPage" %>

<%@ Register Src="../UIControls/Interface/SimpleSectionBreak.ascx" TagName="SimpleSectionBreak" TagPrefix="uc1" %>

<%@ Register Src="../UIControls/Interface/Filters/BooleanFilter.ascx" TagName="BooleanFilter" TagPrefix="uc2" %>

<%@ Register Src="../UIControls/Interface/TextBoxEx.ascx" TagName="TextBoxEx" TagPrefix="uc3" %>

<%@ Register Src="../UIControls/TimeRecording/NonAuditCode/NonAuditCodeList.ascx" TagName="NonAuditCodeList" TagPrefix="uc4" %>

<asp:Content ID="Content1" ContentPlaceHolderID="h" runat="server">
    <script type="text/javascript" src="../scripts/jquery/jquery_min.js"></script>

    <script type="text/javascript">

        function cb() {
            parent.$.colorbox.close();
            $('[id*=btn_partial_refresh]', parent.document).click();
        }

    </script>

</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="cm" runat="server">
    <table style="width: 100%">
        <tr>
            <td>

                <uc1:SimpleSectionBreak ID="u_Filters" runat="server" />

            </td>

        </tr>
        <tr>
            <td>

                <uc2:BooleanFilter ID="u_NotPresentTime" runat="server" />

            </td>
        </tr>
        <tr>
            <td>

                <uc2:BooleanFilter ID="u_Controllable" runat="server" />

            </td>
        </tr>
        <tr>
            <td>

                <uc2:BooleanFilter ID="u_Chargeable" runat="server" />

            </td>
        </tr>
        <tr>
            <td>

                <uc3:TextBoxEx ID="u_NameReference" runat="server" />

            </td>
        </tr>
        <tr>
            <td>
                <asp:Button ID="btn_Search" runat="server" OnClick="OnSearch" />
            </td>
        </tr>
        <tr>
            <td>
                <uc1:SimpleSectionBreak ID="u_Results" runat="server" />
            </td>
        </tr>

        <tr>
            <td>

                <uc4:NonAuditCodeList ID="u_code" runat="server" />

            </td>
        </tr>

        <tr>
            <td>
                <hr class="ee" />
            </td>
        </tr>
        <tr>
            <td>
                <div class="divfright">
                    <asp:Button ID="btn_OK" runat="server" OnClick="OnAddNonAuditCode"  />
                </div>
            </td>
        </tr>
    </table>
</asp:Content>
