<%@ Page Title="" Language="C#" MasterPageFile="~/EmptyAjaxMaster.Master" AutoEventWireup="true" CodeBehind="DashboardFilterPage.aspx.cs" Inherits="MKInsight.Online.ActionTracking.Dashboard.DashboardFilterPage" %>
<%@ Register Src="~/UIControls/Header.ascx" TagPrefix="uc1" TagName="Header" %>

<%@ 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/MessageBox.ascx" TagPrefix="uc1" TagName="MessageBox" %>
<%@ Register Src="~/UIControls/TrackingControls/SearchControl.ascx" TagPrefix="uc1" TagName="SearchControl" %>


<asp:Content ID="Content1" ContentPlaceHolderID="h" runat="server">
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="cm" runat="server">
    <uc1:Header runat="server" ID="u_H" />
  
    <uc1:MessageBox runat="server" ID="u_M" />

    <asp:UpdatePanel ID="sup" runat="server">

        <ContentTemplate>

            <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>


                                </table>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <uc1:SearchControl runat="server" ID="RS" />
                            </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>
                            <uc3:PopupPanel ID="usc_PP" runat="server" />
                            <div class="divpok">
                                <asp:Button ID="btn_POK" runat="server" />
                            </div>
                        </div>
                    </asp:Panel>
                    <asp:UpdateProgress ID="pr" runat="server" AssociatedUpdatePanelID="sup" DisplayAfter="20">
                        <ProgressTemplate>
                            <div class="UpdateProgressBackground">
                                <center>
                                    <div class="UpdateProgressContent">
                                        <h3>
                                            <asp:Label ID="lbl_Wait" runat="server"></asp:Label></h3>
                                        <br />
                                        <img src="../images/ajax.gif" alt="" />
                                    </div>
                                </center>
                            </div>
                        </ProgressTemplate>
                    </asp:UpdateProgress>
                </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:Button ID="btn_OK" runat="server" />

        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
