<%@ Page Language="C#" AutoEventWireup="false" MasterPageFile="~/EmptyAjaxMaster.Master"
    MaintainScrollPositionOnPostback="true" Theme="Main_Theme" CodeBehind="AssessmentPage.aspx.cs"
    Inherits="MKInsight.Online.RRAM2.RiskAssessment.AssessmentPage" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Assembly="UIWebControls" Namespace="UIWebControls" TagPrefix="cc4" %>
<%@ Register Src="../UIControls/Assessment/AssessmentAverages/AssessmentAverageControl.ascx"
    TagName="AssessmentAverageControl" TagPrefix="uc1" %>
<%@ Register Src="../UIControls/Assessment/AssessmentScoreLegend.ascx" TagName="AssessmentScoreLegend"
    TagPrefix="uc2" %>
<%@ Register Src="../UIControls/MessageBox.ascx" TagName="MessageBox" TagPrefix="uc3" %>
<%@ Register Src="../UIControls/Header.ascx" TagName="Header" TagPrefix="uc4" %>
<%@ Register Src="../UIControls/RisksControls/RiskNavigationMenu.ascx" TagName="RiskNavigationMenu"
    TagPrefix="uc5" %>
<%@ Register Src="../UIControls/RisksControls/RiskInfoControl.ascx" TagName="RiskInfoControl"
    TagPrefix="uc6" %>
<asp:Content ID="Content1" ContentPlaceHolderID="h" 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="cm" runat="server">
   

    
    <uc3:MessageBox ID="usc_M" runat="server" />
    <asp:Literal ID="lit_s" runat="server"></asp:Literal>
    <uc2:AssessmentScoreLegend ID="usc_AG" runat="server" />

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

            <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="Risk Assessments"></asp:Label>
                    </div>

                </div>
            </asp:Panel>
            <div class="panelouterlines" runat="server" id="dFC">
                <asp:Panel ID="pnl_FrameABody" runat="server" Width="99%">
                    <div runat="server" id="div_NewAssessment">
                        <div style="margin-top: 5px; font-size: small; margin-left: 5px;">
                            <asp:LinkButton ID="btn_CreatNewAssessment" runat="server"></asp:LinkButton>|
                            <asp:LinkButton ID="btn_DeleteAssessment" runat="server"></asp:LinkButton>
                        </div>
                        <hr class="panelhr" />
                    </div>
                    <uc1:AssessmentAverageControl ID="usc_RAVG" runat="server" />
                    <div style="height:3px;"></div>
                    <hr class="ee" id="hr_RAVG" runat="server" />
                    <asp:Panel ID="pnl_CA" runat="server" ScrollBars="Both" Width="99%">
                        <cc4:MKGridView ID="dg_R" runat="server" AllowPaging="false" AllowSorting="True"
                            AutoGenerateColumns="false" BorderStyle="None" CellPadding="3" DataKeyNames="ID"
                            Width="95%">
                            <AlternatingRowStyle CssClass="alternatingrowstyle" />
                            <FooterStyle BackColor="White" ForeColor="#000066" />
                            <HeaderStyle CssClass="headerstyle" Font-Bold="True" HorizontalAlign="Left" Wrap="False" />
                            <PagerStyle HorizontalAlign="Left" />
                            <SelectedRowStyle BackColor="#D6E8FF" />
                            <Columns>
                            </Columns>
                        </cc4:MKGridView>
                    </asp:Panel>
                </asp:Panel>
            </div>
            <br />

            <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="Self Risk Assessment(s)"></asp:Label>
                    </div>

                </div>
            </asp:Panel>
            <div id="dFD" runat="server" class="panelouterlines">
                <asp:Panel ID="pnl_FrameBBody" runat="server" Width="99%">
                    <div>
                        <div style="margin-top: 5px; font-size: small; margin-left: 5px;">
                            <asp:LinkButton ID="btn_SendInvitations" runat="server"></asp:LinkButton>
                            |
                            <asp:LinkButton ID="btn_ManageInvitaions" runat="server"></asp:LinkButton>

                            <asp:LinkButton ID="btn_DeleteAllSelfAssessments" runat="server" Visible="false"></asp:LinkButton>
                        </div>
                        <hr class="panelhr" />
                    </div>
                    <uc1:AssessmentAverageControl ID="usc_RSVG" runat="server" />
                    <div style="height:3px;"></div>
                    <hr class="ee" id="hr_RSVG" runat="server" />
                    <asp:Panel ID="pnl_SA" runat="server" ScrollBars="Both" Width="99%">
                        <cc4:MKGridView ID="dg_SA" runat="server" AllowPaging="false" AllowSorting="True"
                            AutoGenerateColumns="false" BorderStyle="None" CellPadding="3" DataKeyNames="ID"
                            Width="95%">
                            <AlternatingRowStyle CssClass="alternatingrowstyle" />
                            <FooterStyle BackColor="White" ForeColor="#000066" />
                            <HeaderStyle CssClass="headerstyle" Font-Bold="True" HorizontalAlign="Left" Wrap="False" />
                            <PagerStyle HorizontalAlign="Left" />
                            <SelectedRowStyle BackColor="#D6E8FF" />
                            <Columns>
                            </Columns>
                        </cc4:MKGridView>
                    </asp:Panel>
                </asp:Panel>
            </div>
            <asp:UpdateProgress ID="pr" runat="server" 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>
        </ContentTemplate>
    </asp:UpdatePanel>
        
</asp:Content>
