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

<%@ Register Src="../MessageBox.ascx" TagName="MessageBox" TagPrefix="uc1" %>
<%@ Register Src="../Header.ascx" TagName="Header" TagPrefix="uc2" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="ScoreItemControl.ascx" TagName="ScoreItemControl" TagPrefix="uc3" %>
<asp:Content ID="Content1" ContentPlaceHolderID="h" runat="server">
    <script type="text/javascript">

        function cb() {
            parent.$().colorbox.close();

		}

    </script>

    <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">
    <uc2:Header ID="usc_H" runat="server" />
    <br />
    <div>
        <asp:UpdatePanel ID="up" runat="server">
            <ContentTemplate>
                <uc1:MessageBox ID="usc_M" runat="server" />
                <asp:Label ID="lbl_Info" runat="server"></asp:Label>


                <asp:Panel ID="pn_g" runat="server" GroupingText="">
                    <table>
                        <tr>
                            <td>
                                <asp:Label ID="lbl_ILScale" runat="server"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <table>
                                    <tr>
                                        <td>
                                            <asp:Label ID="lbl_Impact" runat="server"></asp:Label>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txt_IWeight" runat="server" AutoPostBack="true" Text="0"></asp:TextBox>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txt_IChangeWeight" runat="server" AutoPostBack="true" Width="23px"
                                                Text="0"></asp:TextBox>
                                        </td>
                                        <td>
                                            <asp:Label ID="lbl_IDegrees" runat="server"></asp:Label>
                                        </td>
                                    </tr>
                                    <cc1:SliderExtender ID="exSI" runat="server" TargetControlID="txt_IWeight" BehaviorID="txt_IWeight"
                                        Minimum="0" Maximum="100" EnableHandleAnimation="true" BoundControlID="txt_IChangeWeight"
                                        HandleImageUrl="~/images/slider.png" Decimals="0">
                                    </cc1:SliderExtender>
                                </table>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <table>
                                    <tr>
                                        <td>
                                            <asp:Label ID="lbl_Likelihood" runat="server"></asp:Label>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txt_LWeight" runat="server" AutoPostBack="true" Text="100"></asp:TextBox>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txt_LChangeWeight" runat="server" AutoPostBack="true" Width="23px"
                                                Text="100"></asp:TextBox>
                                        </td>
                                        <td>
                                            <asp:Label ID="lbl_LDegrees" runat="server"></asp:Label>
                                        </td>
                                    </tr>
                                    <cc1:SliderExtender ID="exSL" runat="server" TargetControlID="txt_LWeight" BehaviorID="txt_LWeight"
                                        Minimum="0" Maximum="100" EnableHandleAnimation="true" BoundControlID="txt_LChangeWeight"
                                        HandleImageUrl="~/images/slider.png" Decimals="0">
                                    </cc1:SliderExtender>
                                </table>
                            </td>
                        </tr>
                    </table>
                </asp:Panel>
                <br />
                <asp:Panel ID="pnl_Scores" runat="server">
                    <asp:Panel ID="pn_c" runat="server">
                    </asp:Panel>
                    <asp:Label ID="lbl_NoItems" runat="server" Visible="false"></asp:Label>
                    <uc3:ScoreItemControl ID="u_Total" runat="server" />
                </asp:Panel>
                <div>
                    <hr class="ee" />
                    <asp:Button ID="btn_Ok" runat="server" />
                    &nbsp;<asp:Button ID="btn_Cancel" runat="server" OnClientClick="cb();return false;" />
                </div>


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