<%@ Page Title="" Language="C#" Theme="Main_Theme" AutoEventWireup="false" MaintainScrollPositionOnPostback="true" MasterPageFile="~/SiteMaster.Master" CodeBehind="FullDetailsReportSearchPage.aspx.cs" Inherits="MKInsight.Online.RRAM2.Reports.RiskFullDetailReports.FullDetailsReportSearchPage" %>

<%@ Register Src="../../UIControls/RisksControls/SearchCriteriaItems.ascx" TagName="SearchCriteriaItems"
    TagPrefix="uc2" %>
<%@ Register Src="../../UIControls/Header.ascx" TagName="Header" TagPrefix="uc2" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="../../UIControls/PopupPanel.ascx" TagName="PopupPanel" TagPrefix="uc3" %>
<%@ Register Src="../../UIControls/MessageBox.ascx" TagName="MessageBox" TagPrefix="uc4" %>

<%@ Register Src="../../UIControls/Reports/SaveReportFilters.ascx" TagName="SaveReportFilters" TagPrefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="c_M" runat="server">
    <uc2:Header ID="usc_Header" runat="server" />

    <asp:MultiView ID="mp" runat="server">
        <asp:View ID="mv" runat="server">
            <table style="width: 100%">
                <tr>
                    <td>
                        <table style="width: 100%">
                            <tr>
                                <td colspan="2">
                                    <uc4:MessageBox ID="usc_M" runat="server" />
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2">
                                    <asp:LinkButton ID="lnk_Home" runat="server"
                                        PostBackUrl="~/Reports/FullDetailsReports/FullDetailsReportViewPage.aspx"></asp:LinkButton>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label ID="lbl_Info" runat="server" ForeColor="#666666"
                                        Text="You can use the options on this page to create a very specific search."></asp:Label>
                                </td>
                                <td>
                                    <div class="divfright">

                                        <asp:Panel ID="tbM" runat="server" CssClass="w-bar">
                                            <asp:LinkButton runat="server" ID="tbl_Back" CssClass="w-button" Style="background: url(../../images/back32.png); ">
                                                <asp:Label ID="tbl_BackLabel" runat="server"></asp:Label>

                                            </asp:LinkButton>

                                            <asp:LinkButton runat="server" ID="tbl_Save" CssClass="w-button" Style="background: url(../../images/save32.png); ">
                                                <asp:Label ID="tbl_SaveLabel" runat="server"></asp:Label>

                                            </asp:LinkButton>

                                            <asp:LinkButton runat="server" ID="tbl_New" CssClass="w-button" Style="background: url(../../images/add32.png); ">
                                                <asp:Label ID="tbl_NewLabel" runat="server"></asp:Label>

                                            </asp:LinkButton>

                                            <asp:LinkButton runat="server" ID="tbl_Clear" CssClass="w-button" Style="background: url(../../images/clear32.png); ">
                                                <asp:Label ID="tbl_ClearLabel" runat="server"></asp:Label>

                                            </asp:LinkButton>

                                        </asp:Panel>

                                    </div>
                                    <uc1:SaveReportFilters ID="usc_SaveReport" runat="server" />
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2">
                                    <hr class="ee" />
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td>
                        <uc2:SearchCriteriaItems ID="RS" runat="server" />
                    </td>
                </tr>

            </table>
            <asp:Button ID="btn_pHandler" runat="server" Text="Button" Style="display: none;" />
            <asp:Panel ID="p" runat="server" CssClass="frame" Style="display: none;">
                <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 class="floatright">
                        <asp:Button ID="btn_TopOK" runat="server" OnClick="OnOK" />
                    </div>
                    <uc3:PopupPanel ID="usc_PP" runat="server" />
                    <div class="divpok">
                        <asp:Button ID="btn_POK" runat="server" />
                    </div>
                </div>
            </asp:Panel>

        </asp:View>
        <asp:View ID="vtree" runat="server">
            <asp:Panel ID="pmT" runat="server" Height="400px" ScrollBars="Both">
                <div style="vertical-align: top;">
                    <asp:TreeView ID="PoupTree" runat="server" ExpandDepth="1" OnTreeNodePopulate="PopulateNode"
                        PathSeparator="|" ShowCheckBoxes="All" EnableClientScript="False" PopulateNodesFromClient="False">
                    </asp:TreeView>
                </div>
                <br />
            </asp:Panel>
            <br />
            <div class="footer">
                <asp:Button ID="btn_TreeOK" runat="server" />
            </div>
        </asp:View>
    </asp:MultiView>
    <cc1:ModalPopupExtender ID="mdp" runat="server" TargetControlID="btn_pHandler" PopupControlID="P"
        BackgroundCssClass="modalBackground">
    </cc1:ModalPopupExtender>
    <cc1:DragPanelExtender ID="dpE" runat="server" DragHandleID="pnlHeader" TargetControlID="p" />

</asp:Content>
