<%@ Page Language="C#" AutoEventWireup="false" Theme="Main_Theme" CodeBehind="RiskControlsPage.aspx.cs"
    Inherits="MKInsight.Online.RRAM2.RiskControlsPage" %>

<!DOCTYPE html >
<%@ Register Assembly="UIWebControls" Namespace="UIWebControls" TagPrefix="cc4" %>
<html xmlns="http://www.w3.org/1999/xhtml">

<head runat="server">
    <title></title>
    <meta http-equiv="cache-control" content="no-store" />
    <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" />

    <script type="text/javascript">
         try
		 {
             $(document).bind('cbox_open', function () {
                 $('html').css({ overflow: 'hidden' });
             }).bind('cbox_closed', function () {
                 $('html').css({ overflow: 'auto' });
             });

             $(document.parentWindow).bind('cbox_open', function () {
                 $('html').css({ overflow: 'hidden' });
             }).bind('cbox_closed', function () {
                 $('html').css({ overflow: 'auto' });
             });

		 }
         catch (err)
		 {

		 }


    </script>

</head>

<body>
    <form id="frm_Controls" runat="server">

        <asp:Panel ID="p_C" runat="server" CssClass="panelheader">
            <div style="padding: 7px;">
                <asp:Label ID="lbl_Controls" runat="server"></asp:Label>
            </div>
        </asp:Panel>
        <div class="panelouterlines" runat="server" id="p_CB">

            <table>
                <tr>
                    <td>
                        <asp:LinkButton ID="btn_ManageControls" runat="server"></asp:LinkButton>
                        <asp:ImageButton ID="img_c" ImageUrl="../images/refresh16.png" runat="server" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <cc4:MKGridView ID="g_c" runat="server" AutoGenerateColumns="False" BorderStyle="None"
                            AllowPaging="false" CellPadding="3" DataKeyNames="ID" OnRowDataBound="OnControlsRowDataBound"
                            PageSize="10" Width="1000">
                            <AlternatingRowStyle CssClass="alternatingrowstyle" />
                            <HeaderStyle CssClass="headerstyle" HorizontalAlign="Left" Wrap="False" />
                            <Columns>
                                <asp:BoundField DataField="ID" HeaderText="RiskControlsUniqueReference" HeaderStyle-Width="20" />
                                <asp:BoundField DataField="Ref" HeaderText="RiskControlsReference_Colon" HeaderStyle-Width="100" />
                                <asp:BoundField DataField="Name" HeaderText="RiskControlsName_Colon" HeaderStyle-Width="200" />
                                <asp:BoundField DataField="Description" HeaderText="RiskControlsDescription_Colon" HeaderStyle-Width="300" />
                                <asp:BoundField DataField="StatusName" HeaderText="RiskControlsStatus_Colon" HeaderStyle-Width="100" />
                                <asp:BoundField DataField="LastReviewed" HeaderText="RiskControlsLastReviewDate_Colon"
                                    DataFormatString="{0:dd/MM/yyyy }" HtmlEncode="false" />
                                <asp:BoundField DataField="NextReviewDate" HeaderText="RiskControlsNextReviewDate_Colon"
                                    DataFormatString="{0:dd/MM/yyyy }" HtmlEncode="false" />
                                <asp:BoundField DataField="RAGName" HeaderText="RiskControlsRAG_Colon" />
                            </Columns>
                        </cc4:MKGridView>
                    </td>
                </tr>
            </table>

        </div>
        <br />
        <asp:Panel ID="p_P" runat="server" CssClass="panelheader">
            <div style="padding: 7px;">
                <asp:Label ID="lbl_PropControls" runat="server"></asp:Label>
            </div>
        </asp:Panel>
        <div class="panelouterlines" runat="server" id="p_PC">

            <table>
                <tr>
                    <td>
                        <asp:LinkButton ID="btn_ManagePControls" runat="server"></asp:LinkButton>
                        <asp:ImageButton ID="img_p" ImageUrl="../images/refresh16.png" runat="server" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <cc4:MKGridView ID="g_p" runat="server" AutoGenerateColumns="False" BorderStyle="None"
                            AllowPaging="false" CellPadding="3" DataKeyNames="ID" OnRowDataBound="OnPControlsRowDataBound"
                            PageSize="10" Width="1000">
                            <AlternatingRowStyle CssClass="alternatingrowstyle" />
                            <HeaderStyle CssClass="headerstyle" HorizontalAlign="Left" Wrap="False" />
                            <Columns>
                                <asp:BoundField DataField="ID" HeaderText="ProposedControlsUniqueReference" HeaderStyle-Width="20" />
                                <asp:BoundField DataField="Ref" HeaderText="ProposedControlsReference" HeaderStyle-Width="100" />
                                <asp:BoundField DataField="Name" HeaderText="ProposedControlsName_Colon" SortExpression="Name" HeaderStyle-Width="200" />
                                <asp:BoundField DataField="Description" HeaderText="ProposedControlsDescription_Colon"
                                    SortExpression="Description" HeaderStyle-Width="300" />
                                <asp:BoundField DataField="StatusName" HeaderText="ProposedControlsStatus_Colon" HeaderStyle-Width="100"
                                    SortExpression="Status" />
                                <asp:BoundField DataField="ResponsiblePersonName" HeaderText="ProposedControlsResponsiblePerson_Colon"
                                    SortExpression="ResponsiblePersonName" />
                                <asp:BoundField DataField="ActualImplementationDate" HeaderText="ProposedControlsTargetImplementationDate_Colon"
                                    SortExpression="ActualImplementationDate" DataFormatString="{0:dd/MM/yyyy }" />
                            </Columns>
                        </cc4:MKGridView>
                    </td>
                </tr>
            </table>


        </div>
        <br />
        <asp:Panel ID="p_s" runat="server" CssClass="panelheader">
            <div style="padding: 7px;">
                <asp:Label ID="lbl_StandardControls" runat="server"></asp:Label>
            </div>
        </asp:Panel>
        <div class="panelouterlines" runat="server" id="p_PS">

            <table>
                <tr>
                    <td>
                        <asp:LinkButton ID="btn_ManageSControls" runat="server"></asp:LinkButton>
                        <asp:ImageButton ID="img_s" ImageUrl="../images/refresh16.png" runat="server" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <cc4:MKGridView ID="g_s" runat="server" AutoGenerateColumns="False" BorderStyle="None"
                            AllowPaging="false" CellPadding="3" DataKeyNames="ID" OnRowDataBound="OnSControlsRowDataBound"
                            PageSize="10" Width="99%">
                            <AlternatingRowStyle CssClass="alternatingrowstyle" />
                            <HeaderStyle CssClass="headerstyle" HorizontalAlign="Left" Wrap="False" />
                            <Columns>
                                <asp:BoundField DataField="Name" HeaderText="StandardControlsName" SortExpression="Name" />
                                <asp:BoundField DataField="StautsName" HeaderText="ControlStatus" SortExpression="StautsName" />
                                <asp:CheckBoxField DataField="IsMandatory" HeaderText="Mandatory" SortExpression="IsMandatory" />
                            </Columns>
                        </cc4:MKGridView>
                    </td>
                </tr>
            </table>

        </div>

    </form>
</body>
</html>
