<%@ Page Title="" Language="C#" MasterPageFile="~/SiteMaster.Master" AutoEventWireup="true" CodeBehind="Change_GridMethodology.aspx.cs" Inherits="MKInsight.Online.RRAM2.RiskView.Change_GridMethodology" %>

<%@ 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/RisksControls/MultiSelectRiskResults.ascx" TagName="MultiSelectRiskResults"
    TagPrefix="uc1" %>
<%@ Register Src="../UIControls/PopupsHandler.ascx" TagName="PopupsHandler" TagPrefix="uc5" %>

<%@ Register Src="../UIControls/Interface/SimpleSectionBreak.ascx" TagName="SimpleSectionBreak" TagPrefix="uc6" %>

<%@ Register src="../UIControls/Interface/CheckBoxEX.ascx" tagname="CheckBoxEX" tagprefix="uc7" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

    <script src="../scripts/jquery/jquery_min.js" type="text/javascript"></script>
    <script src="../scripts/jquery/colResizable-1.6.min.js" type="text/javascript"></script>

</asp:Content>

<%@ Register Src="../UIControls/MessageBox.ascx" TagName="MessageBox" TagPrefix="uc4" %>
<asp:Content ID="Content2" ContentPlaceHolderID="c_M" runat="server">
    <uc2:Header ID="usc_Header" runat="server" />
    
    <h4 style="color:firebrick;" class="paddingleft9"><asp:Label ID="lbl_info" runat="server" Font-Italic="true"></asp:Label></h4>
    <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 colspan="2">
                                            <uc4:MessageBox ID="usc_M" runat="server" />
                                        </td>
                                    </tr>
                                    <tr>

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

                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="2"></td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <uc6:SimpleSectionBreak ID="u_search" runat="server" />

                                <uc2:SearchCriteriaItems ID="RS" runat="server" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Panel ID="p_risks" runat="server" Visible="false">
                                    <uc6:SimpleSectionBreak ID="u_selectRisks" runat="server" />

                                    <uc1:MultiSelectRiskResults ID="usc_R" runat="server" />
                                </asp:Panel>
                            </td>
                        </tr>
                        <tr>
                            <td></td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Panel ID="pnl_NewGrid" runat="server" Visible="false" Width="100%">
                                    <table style="width: 100%;">
                                        <tr>
                                            <td>
                                                <uc6:SimpleSectionBreak ID="u_selectGrid" runat="server" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <uc5:PopupsHandler ID="ph_AG" runat="server" />
                                                

                                            </td>
                                        </tr>
                                        <tr>
                                            <td>                                                
                                                <uc7:CheckBoxEX ID="mki_Archive" runat="server" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <hr class="ee" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <asp:Button ID="btn_Change" runat="server" Text="Change Risks Assessment Grid" />
                                            </td>
                                        </tr>
                                    </table>



                                </asp:Panel>
                            </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: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>
