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

<%@ Register Src="../UIControls/TimeRecording/Audit/AuditSearchControl.ascx" TagName="AuditSearchControl" TagPrefix="uc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="../UIControls/PopupPanel.ascx" TagName="PopupPanel" TagPrefix="uc5" %>

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

    <link rel="stylesheet" type="text/css" href="../scripts/ASTJavascript/astreeview/astreeview.css" />
    <link rel="stylesheet" type="text/css" href="../scripts/ASTJavascript/asdropdowntreeview/dropdowntreeview.css" />
    <script type="text/javascript" src="../scripts/ASTJavascript/astreeview/astreeview_packed.js"></script>

    <script type="text/javascript">

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

        function cb2() {
            parent.$.colorbox.close();
        }

    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cm" runat="server">
    <asp:UpdatePanel ID="up_u" runat="server">
        <ContentTemplate>


            <table style="width: 100%">
                <tr>
                    <td>
                        <uc1:AuditSearchControl ID="u_audit" runat="server" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <hr class="ee" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="divfright">
                            <asp:Button ID="btn_OK" runat="server" OnClick="OnAddAuditCode" Enabled="false" />
                        </div>
                    </td>
                </tr>
            </table>


            <cc1:ModalPopupExtender ID="mdp" runat="server" TargetControlID="btn_pHandler" PopupControlID="Pxc"
                BackgroundCssClass="modalBackground">
            </cc1:ModalPopupExtender>
            <cc1:DragPanelExtender ID="dpE" runat="server" DragHandleID="pnlHeader" TargetControlID="pxc" />
            <asp:Button ID="btn_pHandler" runat="server" Style="display: none;" />
            <asp:Panel ID="Pxc" runat="server" CssClass="frame" Style="display: none; margin-top: 10px;">
                <div class="overlay">
                    <div style="float: right; margin-top: -28px; margin-right: -10px;">
                        <asp:ImageButton ID="ImageButton1" ImageUrl="~/images/jq/close.png" runat="server" />
                    </div>
                    <div style="float: right;">
                        <asp:Button ID="btn_TopOK" runat="server" OnClick="OnOK" />
                        <asp:Button ID="btn_TopCancel" runat="server" />
                    </div>
                    <uc5:PopupPanel ID="usc_PP" runat="server" />


                    <div class="divpok">
                        <asp:Button ID="btn_POK" runat="server" OnClick="OnOK" />
                        <asp:Button ID="btn_PCancel" runat="server" />
                    </div>


                </div>
            </asp:Panel>

        </ContentTemplate>
    </asp:UpdatePanel>

</asp:Content>
