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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Assembly="UIWebControls" Namespace="UIWebControls" TagPrefix="cc4" %>
<%@ Register Src="../../UIControls/MessageBox.ascx" TagName="MessageBox" TagPrefix="uc3" %>
<%@ Register Src="../../UIControls/Header.ascx" TagName="Header" TagPrefix="uc1" %>
<%@ Register Src="../../UIControls/Reports/MKTextReports/ReportsGridView.ascx" TagName="ReportsGridView"
    TagPrefix="uc2" %>
<%@ Register Src="../../UIControls/PopupMessageBox.ascx" TagName="PopupMessageBox"
    TagPrefix="uc4" %>
<%@ Register Src="../../UIControls/Reports/MKTextReports/UserReportsGridView.ascx" TagName="UserReportsGridView" TagPrefix="uc5" %>
<%@ Register Src="../../UIControls/Reports/MKTextReports/GeneratedTemplateReport.ascx" TagName="GeneratedTemplateReport" TagPrefix="uc6" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="c_M" runat="server">
    <uc1:Header ID="usc_Header" runat="server" />

    <asp:UpdatePanel ID="p_A" runat="server">
        <ContentTemplate>
            <uc3:MessageBox ID="usc_M" runat="server" />


            <div class="left" style="border-top-width: 1px; border-top-color: black; height: 50px; background-color: whitesmoke; vertical-align: top;">

                <asp:Panel ID="tbM" runat="server" CssClass="w-bar">
                    <asp:LinkButton runat="server" ID="tbl_Status" CssClass="w-button" Style="background: url(../../images/status32.png); " PostBackUrl="~/Reports/MKTextReports/MKReportsStatusPage.aspx">
                        <asp:Label ID="tbl_StatusLabel" runat="server"></asp:Label>

                    </asp:LinkButton>

                    <asp:LinkButton runat="server" ID="tbl_Admin" CssClass="w-button" Style="background: url(../../images/config32.png); " PostBackUrl="~/Reports/MKTextReports/MKReportsAdminPage.aspx">
                        <asp:Label ID="tbl_AdminLabel" runat="server"></asp:Label>

                    </asp:LinkButton>

                    <asp:LinkButton runat="server" ID="tbl_Update" CssClass="w-button" Style="background: url(../../images/upgrade32.png); " PostBackUrl="~/Reports/MKTextReports/MKUpgradeReportEngine.aspx">
                        <asp:Label ID="tbl_UpdateLabel" runat="server"></asp:Label>

                    </asp:LinkButton>

                    <asp:LinkButton runat="server" ID="tbl_Import" CssClass="w-button" Style="background: url(../../images/importreport32.png); " PostBackUrl="~/Reports/MKTextReports/MKReportsImportExportPage.aspx">
                        <asp:Label ID="tbl_ImportLabel" runat="server"></asp:Label>

                    </asp:LinkButton>

                    <asp:LinkButton runat="server" ID="tbl_Lock" CssClass="w-button" Style="background: url(../../images/lock32.png); " PostBackUrl="~/Reports/MKTextReports/MKReportAccessRightPage.aspx">
                        <asp:Label ID="tbl_LockLabel" runat="server"></asp:Label>

                    </asp:LinkButton>

                </asp:Panel>

            </div>
            <br />

        </ContentTemplate>
    </asp:UpdatePanel>
    <asp:UpdatePanel ID="up_FC" runat="server">
        <ContentTemplate>

            <cc1:CollapsiblePanelExtender ID="cpe_FrameA" runat="server" CollapseControlID="pnl_FrameAHeader"
                CollapsedImage="~/images/expand16.png" ExpandControlID="pnl_FrameAHeader"
                ExpandedImage="~/images/collapse16.png" ImageControlID="img_FrameA" SuppressPostBack="true"
                TargetControlID="pnl_FrameABody" TextLabelID="lbl_FrameA" Collapsed="false">
            </cc1:CollapsiblePanelExtender>
            <asp:Panel ID="pnl_FrameAHeader" runat="server" CssClass="panelheader"
                Width="100%">
                <div style="padding: 5px; cursor: pointer; vertical-align: middle;">
                    <div style="color: #000000;" class="divfleft">
                        <asp:Label ID="lbl_FrameATitle" runat="server" Text="My Reports"></asp:Label>
                    </div>
                    <div style="margin-left: 20px;" class="divfleft">
                        <asp:Label ID="lbl_FrameA" runat="server">(Show Details...)</asp:Label>
                    </div>
                    <div style="vertical-align: middle;" class="divfright">
                        <asp:Image ID="img_FrameA" runat="server" ImageUrl="~/images/expand16.png" />
                    </div>
                </div>
            </asp:Panel>
            <div class="panelouterlines" runat="server" id="dFC">
                <asp:Panel ID="pnl_FrameABody" runat="server" CssClass="panelbody" Width="99%">
                    <div>
                        <hr class="FrameAHR" />
                    </div>

                    <asp:Panel ID="pnl_CA" runat="server" ScrollBars="Both" Width="99%">
                        <uc2:ReportsGridView ID="usc_SReports" runat="server" />
                    </asp:Panel>
                </asp:Panel>
            </div>
            <br />
            <hr class="ee" />

            <br />

            <cc1:CollapsiblePanelExtender ID="cpe_M" runat="server" CollapseControlID="pnl_MHeader"
                Collapsed="false" CollapsedImage="~/images/expand16.png" ExpandControlID="pnl_MHeader"
                ExpandedImage="~/images/collapse16.png" ImageControlID="img_pnlHeader" SuppressPostBack="true"
                TargetControlID="pnl_MBody" TextLabelID="lbl_pnlDetails">
            </cc1:CollapsiblePanelExtender>

            <asp:Panel ID="pnl_MHeader" runat="server" CssClass="panelheader"
                Width="100%">
                <div style="padding: 5px; cursor: pointer; vertical-align: middle;">
                    <div style="color: #000000;" class="divfleft">
                        <asp:Label ID="lbl_pnl_MTitle" runat="server" Text="Other Reports"></asp:Label>
                    </div>
                    <div style="margin-left: 20px;" class="divfleft">
                        <asp:Label ID="lbl_pnlDetails" runat="server">(Show Details...)</asp:Label>
                    </div>
                    <div style="vertical-align: middle;" class="divfright">
                        <asp:Image ID="img_pnlHeader" runat="server" ImageUrl="~/images/expand16.png" />
                    </div>
                </div>
            </asp:Panel>


            <div id="dfm" runat="server" class="panelouterlines">
                <asp:Panel ID="pnl_MBody" runat="server" CssClass="panelbody" Width="99%">
                    <div>
                        <hr class="panelhr" />
                    </div>
                    <uc6:GeneratedTemplateReport ID="u_myReport" runat="server" />

                </asp:Panel>
            </div>

            <cc1:CollapsiblePanelExtender ID="cpe_FrameB" runat="server" CollapseControlID="pnl_FrameBHeadher"
                Collapsed="false" CollapsedImage="~/images/expand16.png" ExpandControlID="pnl_FrameBHeadher"
                ExpandedImage="~/images/collapse16.png" ImageControlID="img_FrameB" SuppressPostBack="true"
                TargetControlID="pnl_FrameBBody" TextLabelID="lbl_FrameB">
            </cc1:CollapsiblePanelExtender>
            <br />
            <asp:Panel ID="pnl_FrameBHeadher" runat="server" CssClass="panelheader"
                Width="100%">
                <div style="padding: 5px; cursor: pointer; vertical-align: middle;">
                    <div style="color: #000000;" class="divfleft">
                        <asp:Label ID="lbl_FrameBTitle" runat="server" Text="Other Reports"></asp:Label>
                    </div>
                    <div style="margin-left: 20px;" class="divfleft">
                        <asp:Label ID="lbl_FrameB" runat="server">(Show Details...)</asp:Label>
                    </div>
                    <div style="vertical-align: middle;" class="divfright">
                        <asp:Image ID="img_FrameB" runat="server" ImageUrl="~/images/expand16.png" />

                    </div>
                </div>
            </asp:Panel>

            <div id="dFD" runat="server" class="panelouterlines">
                <asp:Panel ID="pnl_FrameBBody" runat="server" CssClass="panelbody" Width="99%">
                    <div>
                        <hr class="panelhr" />
                    </div>
                    <hr class="ee" />
                    <uc5:UserReportsGridView ID="usc_MyReports" runat="server" />
                    <asp:Panel ID="pnl_SA" runat="server" ScrollBars="Both" Width="99%">
                    </asp:Panel>
                </asp:Panel>
            </div>


            <div>
                <uc4:PopupMessageBox ID="usc_PMessage" runat="server" />
            </div>


        </ContentTemplate>
    </asp:UpdatePanel>

</asp:Content>
