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

<%@ 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/Charts/PieChart.ascx" TagName="PieChart"
    TagPrefix="uc1" %>
<%@ Register Src="../../UIControls/RisksControls/RisksResult.ascx" TagName="RisksResult"
    TagPrefix="uc5" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

    <script type="text/javascript" src="../../scripts/jquery/jquery_min.js"></script>
    <script type="text/javascript" src="../../scripts/jquery/jquery.box-min.js"></script>
    <link rel="stylesheet" type="text/css" href="../../scripts/jquery/jqbox.css" />
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="c_M" runat="server">
    <uc2:Header ID="usc_Header" runat="server" />
    <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>
                                            <uc4:MessageBox ID="usc_M" runat="server" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <img id="i_1" runat="server" alt="" src="~/images/numbers/1.png" /><asp:Label ID="lbl_Step1"
                                                runat="server"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <div style="padding-left: 70px;">
                                                <div>
                                                    <asp:Literal ID="lit_SelectEntity" runat="server"></asp:Literal>
                                                </div>
                                                <div>
                                                    <asp:DropDownList ID="drp_Entities" runat="server" AutoPostBack="true" DataTextField="Name"
                                                        DataValueField="ID">
                                                    </asp:DropDownList>
                                                </div>
                                                <div>
                                                    <asp:Label ID="lbl_SelectionInfo" runat="server" ForeColor="Red" Font-Italic="true">Selection</asp:Label>
                                                </div>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <hr class="ee" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <asp:Panel ID="pnl_StepThree" runat="server">
                                                <img id="i_3" runat="server" alt="" src="~/images/numbers/2.png" />
                                                <asp:Label ID="lbl_Step3" runat="server"></asp:Label>
                                            </asp:Panel>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <hr class="ee" runat="server" id="hr_Step3" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <img id="i_2" runat="server" alt="" src="~/images/numbers/2.png" />
                                            <asp:Label ID="lbl_Step2" runat="server"></asp:Label>
                                            <div class="divfleft">
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <div style="padding-left: 70px;">
                                                <div>

                                                    <asp:Panel ID="tbM" runat="server" CssClass="w-bar">
                                                        <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:LinkButton runat="server" ID="tbl_Cancel" CssClass="w-button" Style="background: url(../../images/delete32.png); ">
                                                            <asp:Label ID="tbl_CancelLabel" runat="server"></asp:Label>

                                                        </asp:LinkButton>

                                                    </asp:Panel>

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



                                    <tr>
                                        <td>
                                            <hr class="ee" />
                                        </td>
                                    </tr>
                        </tr>
                        <tr>
                            <td>
                                <uc2:SearchCriteriaItems ID="RS" runat="server" />
                            </td>
                        </tr>
                        <tr>
                            <td></td>
                        </tr>
                    </table>
                    </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: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:View ID="v_Chart" runat="server">
                    <div>
                        <asp:LinkButton ID="lnk_Back" runat="server"></asp:LinkButton>
                    </div>
                    <uc1:PieChart ID="usc_PChart" runat="server" />
                    <div>
                        <uc5:RisksResult ID="usc_R" 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" />
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
