<%@ Page Title="" Language="C#" MasterPageFile="~/EmptyAjaxMaster.Master" AutoEventWireup="true" CodeBehind="NewTemplatePage.aspx.cs" Inherits="MKInsight.Online.ActionTracking.Methodology.NewTemplatePage" %>

<%@ Register Src="~/UIControls/Interface/DropDownListEX.ascx" TagPrefix="uc1" TagName="DropDownListEX" %>

<%@ Register Src="~/UIControls/PopupsHandler.ascx" TagPrefix="uc1" TagName="PopupsHandler" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="../UIControls/PopupPanel.ascx" TagName="PopupPanel" TagPrefix="uc15" %>
<%@ Register Src="~/UIControls/MessageBox.ascx" TagPrefix="uc2" TagName="MessageBox" %>

<asp:Content ID="Content1" ContentPlaceHolderID="h" runat="server">
    <script type="text/javascript">

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

        }

        function cb2() {
            window.parent.location.href = window.parent.location.href;
            parent.$.colorbox.close();

        }

    </script>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="cm" runat="server">

    <uc2:MessageBox runat="server" ID="u_M" />
    <asp:Button ID="btn_pHandler" runat="server" Text="Button" Style="display: none;" />

    <uc1:DropDownListEX runat="server" ID="lst_Origin" />
    <div style="height: 5px;"></div>
    <uc1:DropDownListEX runat="server" ID="lst_UserType" />
    <div style="height: 5px;"></div>
    <uc1:PopupsHandler runat="server" ID="ph_Type" />
    <div class="divpok">
        <asp:Button ID="btn_OK" runat="server" OnClick="OnNewTemplate" />
        <asp:Button ID="btn_Cancel" runat="server" OnClientClick="cb();return false;" />
    </div>

    <cc1:ModalPopupExtender ID="mdp" runat="server" TargetControlID="btn_pHandler" PopupControlID="Pxc"
        BackgroundCssClass="modalBackground" >
    </cc1:ModalPopupExtender>
    <cc1:DragPanelExtender ID="dpE" runat="server" DragHandleID="pnlHeader" TargetControlID="pxc" />
    <asp:Button ID="Button1" runat="server" Style="display: none;" />
    <asp:Panel ID="Pxc" 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>
              <asp:UpdatePanel ID="u" runat="server">
                <ContentTemplate>


            <uc15:PopupPanel ID="usc_PP" runat="server" />
                    
                    </ContentTemplate>
                    </asp:UpdatePanel>

                    <div class="divpok">
                        <asp:Button ID="btn_POK" runat="server" OnClick="OnOK" />
                    </div>

            
            <asp:UpdateProgress ID="pr" runat="server" AssociatedUpdatePanelID="u">
                <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>

        </div>
    </asp:Panel>

</asp:Content>
