<%@ page language="VB" masterpagefile="~/Template/Master.master" autoeventwireup="false" inherits="RCC_Packages_EditNHPackage, MachSol.MachPanel.Web" title="Untitled Page" %>

<%@ Register Assembly="obout_Editor" Namespace="OboutInc.Editor" TagPrefix="obout" %>
<%@ Register Assembly="GroupRadioButton" Namespace="Vladsm.Web.UI.WebControls" TagPrefix="EM" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>
<%@ Register Src="CC/AddResource.ascx" TagName="AddResource" TagPrefix="EM" %>
<%@ Register Src="~/Template/CC/Selectable_Selected_LBX.ascx" TagName="AddSelectableSelected" TagPrefix="EM" %>

<asp:Content ContentPlaceHolderID="CPH_Content" runat="server" ID="RightContentArea">

    <%--<ajax:UpdatePanel ID="UP_Divs" runat="server" RenderMode="Inline" UpdateMode="always">
        <ContentTemplate>--%>

    <div class="col-xs-12">
        <div class="card">
            <div class="header">
                <h2>
                    <asp:Literal ID="Ltr_PageTitle" runat="server" Text='<%$ Resources:Content, GN00001462 %>' /></h2>
            </div>
            <div class="body">
                <div class="products-step">
                    <span id="div_s1" runat="server" nowrap="true" class="label label-success">
                        <asp:LinkButton ID="LB_Step1" runat="server" Text='<%$ Resources:Content, Dev341 %>' />
                    </span>
                    <span id="div_s2" runat="server" nowrap="true" class="label label-default">
                        <asp:LinkButton ID="LB_Step2" runat="server" Text='<%$ Resources:Content, GN0000193 %>' />
                    </span>
                    <span id="div_s3" runat="server" nowrap="true" class="label label-default">
                        <asp:LinkButton ID="LB_Step3" runat="server" Text='<%$ Resources:Content, GN0000200 %>' />
                    </span>
                    <span id="div_s4" runat="server" nowrap="true" class="label label-default">
                        <asp:LinkButton ID="LB_Step4" runat="server" Text='<%$ Resources:Content, Dev342 %>' />
                    </span>
                    <span id="div_s5" runat="server" nowrap="true" class="label label-default">
                        <asp:LinkButton ID="LB_Step5" runat="server" Text='<%$ Resources:Content, GN0000105 %>' />
                    </span>
                </div>

                <div class="col-xs-12"></div>
                <div class="col-xs-12"></div>

                <asp:Wizard ID="Wizard1" runat="server" Width="100%" ActiveStepIndex="0" DisplaySideBar="False">
                    <StartNavigationTemplate>
                        <asp:Button ID="Btn_Start_Cancel" runat="server" CssClass="btn btn-primary waves-effect wizard-cancel" Text="<%$ Resources:Content,GN0000572%>"
                            CommandName="Cancel" CausesValidation="false" />
                        <asp:Button ID="Btn_Start_Next" runat="server" CssClass="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN00001242%>"
                            CausesValidation="true" CommandName="MoveNext" />
                        <asp:Button ID="Btn_Start_Save" runat="server" CssClass="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,String265 %>"
                            CausesValidation="true" CommandName="MoveComplete" />
                    </StartNavigationTemplate>
                    <StepNavigationTemplate>
                        <asp:Button ID="Btn_Step_Cancel" runat="server" CssClass="btn btn-primary waves-effect wizard-cancel" Text="<%$ Resources:Content,GN0000572%>"
                            CommandName="Cancel" CausesValidation="false" />
                        <asp:Button ID="Btn_Step_Prev" runat="server" CssClass="btn btn-primary waves-effect" Text="<%$ Resources:Content,DGN1110612%>"
                            CommandName="MovePrevious" CausesValidation="false" />
                        <asp:Button ID="Btn_Step_Next" runat="server" CssClass="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN00001242%>"
                            CausesValidation="true" CommandName="MoveNext" />
                        <asp:Button ID="Btn_Step_Save" runat="server" CssClass="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,String265 %>"
                            CausesValidation="true" CommandName="MoveComplete" />
                    </StepNavigationTemplate>
                    <FinishNavigationTemplate>
                        <asp:Button ID="Btn_Finish_Cancel" runat="server" CssClass="btn btn-primary waves-effect wizard-cancel" Text="<%$ Resources:Content,GN0000572%>"
                            CommandName="Cancel" CausesValidation="false" />
                        <asp:Button ID="Btn_Finish_Prev" runat="server" CssClass="btn btn-primary waves-effect" Text="<%$ Resources:Content,DGN1110612%>"
                            CommandName="MovePrevious" CausesValidation="false" />
                        <asp:Button ID="Btn_Finish_Save" runat="server" CssClass="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,String265 %>"
                            CausesValidation="true" CommandName="MoveComplete" />
                    </FinishNavigationTemplate>
                    <CancelButtonStyle CssClass="btn btn-primary waves-effect" Width="105px" />
                    <FinishCompleteButtonStyle CssClass="btn btn-primary waves-effect" Width="105px" />
                    <StepPreviousButtonStyle CssClass="btn btn-primary waves-effect" Width="105px" />
                    <StepNextButtonStyle CssClass="btn btn-primary waves-effect" Width="105px" />
                    <StartNextButtonStyle CssClass="btn btn-primary waves-effect" Width="105px" />
                    <FinishPreviousButtonStyle CssClass="btn btn-primary waves-effect" Width="105px" />
                    <WizardSteps>
                        <asp:TemplatedWizardStep runat="server" Title="Basic Info." ID="S_BasicInfo" StepType="Start">
                            <ContentTemplate>
                                <%--Basic Product Information--%>
                                <ajax:UpdatePanel ID="Up_Step0" runat="server" UpdateMode="Always">
                                    <ContentTemplate>

                                        <div class="row">
                                            <div class="col-sm-3 col-xs-12 row-label">
                                                <asp:Literal ID="Literal120" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000101%>" />:
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                                <div class="form-group">
                                                    <asp:DropDownList ID="DDL_ProductTypes" runat="server">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                        </div>

                                        <div class="row" id="TR_CP" style="display: none" runat="server">
                                            <div class="col-sm-3 col-xs-12 row-label">
                                                <asp:Literal ID="Literal4" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000972%>" />:
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                                <div class="form-group">
                                                    <asp:DropDownList ID="DDL_CP" AutoPostBack="true" runat="server">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                        </div>

                                        <div class="row" id="TR_ServerGroup" runat="server">
                                            <div class="col-sm-3 col-xs-12 row-label">
                                                <asp:Literal ID="Literal19" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000102%>" />:
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                                <div class="form-group">
                                                    <asp:ListBox ID="LBX_SharedServerGroups" Height="120px" runat="server" SelectionMode="Multiple"></asp:ListBox>
                                                    <asp:ListBox ID="LBX_ResellerServerGroups" runat="server" Height="120px" SelectionMode="Multiple"></asp:ListBox>
                                                </div>
                                            </div>
                                        </div>

                                        <div class="row">
                                            <div class="col-sm-3 col-xs-12 row-label">
                                                *<asp:Literal ID="Literal5" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000103%>" />:
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                                <div class="form-group">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_ProductName" runat="server" MaxLength="150"></asp:TextBox>
                                                        <%--<EM:FilteredTextBoxExtender FilterType="Custom, Numbers, lowercaseLetters, Uppercaseletters"
                                                            ValidChars="-.,@!&#$%*+{}\/<>':;[]()_^~` " ID="FTB_ProductName" runat="server" TargetControlID="TxBx_ProductName" />--%>
                                                        <asp:RequiredFieldValidator ID="RFV_ProductName" ControlToValidate="TxBx_ProductName"
                                                            Display='none' runat="server" SetFocusOnError="true"></asp:RequiredFieldValidator>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>

                                        <div class="row">
                                            <div class="col-sm-3 col-xs-12 row-label">
                                                <asp:Literal ID="Literal3" runat="server" EnableViewState="false" Text="<%$ Resources:Content,DEV1172%>" />:
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                                <div class="form-group">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_CategoryName" runat="server" MaxLength="150"></asp:TextBox>
                                                        <%--<EM:FilteredTextBoxExtender FilterType="Custom, Numbers, lowercaseLetters, Uppercaseletters"
                                                            ValidChars="-.,@!&#$%*+{}\/<>':;[]()_^~` " ID="FilteredTextBoxExtender1" runat="server" TargetControlID="TxBx_ProductName" />
                                                        <asp:RequiredFieldValidator ID="RFV_TxBx_CategoryName" ControlToValidate="TxBx_CategoryName"
                                                            Display='none' runat="server" SetFocusOnError="true"></asp:RequiredFieldValidator>--%>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>

                                        <div class="row" id="tr_whmcs" runat="server">
                                            <div class="col-sm-3 col-xs-12 row-label">
                                                *<asp:Literal ID="Literal7" runat="server" EnableViewState="false" Text="<%$ Resources:Content,USM0119%>" />:
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                                <div class="form-group">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_WHMCSProdId" runat="server" MaxLength="10"></asp:TextBox>
                                                        <asp:RequiredFieldValidator ID="RFV_WHMCSProdId" ControlToValidate="TxBx_WHMCSProdId"
                                                            Display='none' runat="server" SetFocusOnError="true"></asp:RequiredFieldValidator>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>

                                        <div class="row">
                                            <div class="col-sm-3 col-xs-12 row-label">
                                                <asp:Literal ID="Literal198" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000001%>" />:
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                                <div class="form-group">
                                                    <asp:DropDownList ID="DDL_Active" runat="server">
                                                        <asp:ListItem Selected="True" Value="1" Text='<%$ Resources:Content,GN0000004 %>'></asp:ListItem>
                                                        <asp:ListItem Value="0" Text='<%$ Resources:Content,GN0000005 %>'></asp:ListItem>
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                        </div>

                                        <div class="row" id="TR_Proratable" runat="server">
                                            <div class="col-sm-3 col-xs-12 row-label">
                                                <asp:Literal ID="Literal99" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000002%>" />:
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                                <div class="form-group">
                                                    <asp:DropDownList ID="DDL_Proratable" runat="server">
                                                        <asp:ListItem Selected="True" Value="1" Text='<%$ Resources:Content,GN0000004 %>'></asp:ListItem>
                                                        <asp:ListItem Value="0" Text='<%$ Resources:Content,GN0000005 %>'></asp:ListItem>
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                        </div>

                                        <div class="row">
                                            <div class="col-sm-3 col-xs-12 row-label">
                                                <asp:Literal ID="Literal101" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000105%>" />:
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                                <div class="form-group">
                                                    <asp:DropDownList ID="DDL_AssociateAddOn" runat="server">
                                                        <asp:ListItem Selected="True" Value="1" Text='<%$ Resources:Content,GN0000006 %>'></asp:ListItem>
                                                        <asp:ListItem Value="2" Text='<%$ Resources:Content,GN0000008 %>'></asp:ListItem>
                                                        <asp:ListItem Value="3" Text='<%$ Resources:Content,GN0000007 %>'></asp:ListItem>
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                        </div>

                                        <div class="row">
                                            <div class="col-sm-3 col-xs-12 row-label">
                                                <asp:Literal ID="Literal111" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000106%>" />:
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                                <div class="form-group">
                                                    <asp:DropDownList ID="DDL_AssociateDomain" runat="server">
                                                        <asp:ListItem Selected="True" Value="1" Text='<%$ Resources:Content,GN0000006 %>'></asp:ListItem>
                                                        <asp:ListItem Value="2" Text='<%$ Resources:Content,GN0000008 %>'></asp:ListItem>
                                                        <asp:ListItem Value="3" Text='<%$ Resources:Content,GN0000007 %>'></asp:ListItem>
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                        </div>

                                        <div class="row">
                                            <div class="col-sm-3 col-xs-12 row-label">
                                                <asp:Literal ID="Literal133" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000721%>" />:
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                                <div class="form-group">
                                                    <div id="TD_CurrentDate" runat="server"></div>
                                                </div>
                                            </div>
                                        </div>

                                        <div class="row" id="tr_enabledForReseller" runat="server">
                                            <div class="col-sm-3 col-xs-12 row-label">
                                                <asp:Literal ID="Literal14" runat="server" EnableViewState="false" Text="<%$ Resources:Content,USM0094%>" />:
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                                <div class="form-group">
                                                    <asp:CheckBox ID="Cb_EnabledForReseller" runat="server" Text="&nbsp;" />
                                                </div>
                                            </div>
                                        </div>

                                        <div id="TR_ComissionResellers" runat="server" style="display: none;">
                                            <div class="row" id="Tr_ResellerComissionInPercentage" runat="server">
                                                <div class="col-sm-3 col-xs-12 row-label">
                                                    <asp:Literal ID="Literal199" runat="server" EnableViewState="false" Text="<%$ Resources:Content,USM0095%>" />:
                                                </div>
                                                <div class="col-sm-4 col-xs-12">
                                                    <div class="form-group">
                                                        <div class="form-line">
                                                            <asp:TextBox ID="TxBx_ResellerComissionInPercentage" runat="server" Text="0"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="row">
                                                <div class="col-xs-12 row-label">
                                                    <asp:RadioButton ID="RB_AllRes" runat="server" Checked="true" GroupName="AllRes"
                                                        Text="<%$ Resources:Content,String501%>" />
                                                </div>
                                            </div>

                                            <div class="row">
                                                <div class="col-xs-12 row-label">
                                                    <asp:RadioButton ID="RB_SelectedRes" runat="server" GroupName="AllRes" Text="<%$ Resources:Content,String502%>" />:
                                                </div>
                                                <div class="col-xs-12" id="Tbl_AllResellers" runat="server" style="display: none;">
                                                    <ajax:UpdatePanel ID="UP_Resellers" runat="server">
                                                        <ContentTemplate>
                                                            <EM:AddSelectableSelected ID="UCResellers" runat="server" />
                                                        </ContentTemplate>
                                                    </ajax:UpdatePanel>
                                                </div>
                                            </div>
                                        </div>

                                        <div class="row">
                                            <div class="col-sm-3 col-xs-12 row-label">
                                                <asp:Literal ID="Literal200" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000709%>" />:
                                            </div>
                                            <div class="col-sm-9 col-xs-12">
                                                <div class="form-group">
                                                    <asp:CheckBox ID="Cb_AutoProcess" runat="server" Text="&nbsp;" />
                                                    <asp:Literal ID="Literal195" runat="server" EnableViewState="false" Text='<%$ Resources:Content,GN0000717%>'></asp:Literal>
                                                </div>
                                            </div>
                                        </div>

                                        <div class="row">
                                            <div class="col-sm-3 col-xs-12 row-label">
                                                *<asp:Literal ID="Literal88" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000104%>" />:
                                            </div>
                                            <div class="col-sm-9 col-xs-12">
                                                <div class="form-group">
                                                    <obout:Editor ID="OE_Comments" Submit="false" ShowWaitMessage="false" AjaxWait="false" runat="server" Appearance="custom">
                                                        <Buttons>
                                                            <obout:Select Name="FontName" />
                                                            <obout:Select Name="FontSize" />
                                                            <obout:HorizontalSeparator />
                                                            <obout:Toggle Name="Bold" />
                                                            <obout:Toggle Name="Italic" />
                                                            <obout:Toggle Name="Underline" />
                                                            <obout:Toggle Name="StrikeThrough" />
                                                            <obout:Toggle Name="SuperScript" />
                                                            <obout:Toggle Name="SubScript" />
                                                            <obout:HorizontalSeparator />
                                                            <obout:Method Name="ForeColor" />
                                                            <obout:Method Name="ForeColorClear" />
                                                            <obout:Method Name="BackColor" />
                                                            <obout:Method Name="BackColorClear" />
                                                            <obout:VerticalSeparator />
                                                            <obout:Method Name="Redo" />
                                                            <obout:Method Name="Undo" />
                                                            <obout:HorizontalSeparator />
                                                            <obout:Method Name="Cut" />
                                                            <obout:Method Name="Copy" />
                                                            <obout:Method Name="Paste" />
                                                            <obout:Method Name="PasteText" />
                                                            <obout:HorizontalSeparator />
                                                            <obout:Method Name="Paragraph" />
                                                            <obout:Method Name="GetFormat" />
                                                            <obout:Method Name="ApplyFormat" />
                                                            <obout:HorizontalSeparator />
                                                            <obout:Method Name="JustifyLeft" />
                                                            <obout:Method Name="JustifyCenter" />
                                                            <obout:Method Name="JustifyRight" />
                                                            <obout:Method Name="JustifyFull" />
                                                            <obout:HorizontalSeparator />
                                                            <obout:Method Name="OrderedList" />
                                                            <obout:Method Name="BulletedList" />
                                                            <obout:HorizontalSeparator />
                                                            <obout:Method Name="InsertHR" />
                                                            <obout:Method Name="CreateLink" />
                                                            <obout:Method Name="InsertAnchor" />
                                                            <obout:Method Name="InsertIMG" />
                                                            <obout:HorizontalSeparator />
                                                            <obout:Method Name="ClearStyles" />
                                                        </Buttons>

                                                    </obout:Editor>
                                                    <asp:RequiredFieldValidator ID="RFV_Comments" ControlToValidate="OE_Comments" Display='none'
                                                        runat="server" SetFocusOnError="true"></asp:RequiredFieldValidator>
                                                </div>
                                            </div>
                                        </div>

                                    </ContentTemplate>
                                </ajax:UpdatePanel>
                            </ContentTemplate>
                        </asp:TemplatedWizardStep>
                        <asp:TemplatedWizardStep ID="S_Cycles" runat="server" Title="Cycles" StepType="Step">
                            <ContentTemplate>
                                <ajax:UpdatePanel ID="UpnlCycles" runat="server">
                                    <ContentTemplate>

                                        <%-- Payment Cycles --%>
                                        <div class="col-xs-12 header">
                                            <asp:Literal
                                                ID="Literal194" runat="server" EnableViewState="false" Text='<%$ Resources:Content, GN0000193 %>' />
                                        </div>

                                        <div class="col-xs-12">
                                            <EM:AddSelectableSelected ID="UCPaymentCycles" runat="server" IsSelectedRequired="true" SortByValue="true" />
                                        </div>

                                        <%-- Payment Groups --%>
                                        <div class="col-xs-12 header">
                                            <asp:Literal
                                                ID="Literal196" runat="server" EnableViewState="false" Text='<%$ Resources:Content, GN0000196 %>' />
                                        </div>

                                        <div class="col-xs-12">
                                            <EM:AddSelectableSelected ID="UCPaymentGroups" IsSelectedRequired="true" runat="server" />
                                        </div>

                                    </ContentTemplate>
                                </ajax:UpdatePanel>
                            </ContentTemplate>
                        </asp:TemplatedWizardStep>
                        <asp:TemplatedWizardStep runat="server" ID="S_Fill_Prices" Title="DS_DG" StepType="Step">
                            <ContentTemplate>
                                <ajax:UpdatePanel ID="UP_Step5" runat="server" UpdateMode="Always">
                                    <ContentTemplate>

                                        <table class="table table-bordered table-striped table-hover">
                                            <tr>
                                                <th class="col-xs-4">
                                                    <%=Resources.Content.GN0000200%>
                                                </th>
                                                <th class="col-xs-2">
                                                    <%=Resources.Content.GN0000193%>
                                                </th>
                                                <th class="col-xs-2">
                                                    <%=Resources.Content.GN0000201%>
                                                </th>
                                                <th class="col-xs-2">
                                                    <%=Resources.Content.GN000112%>
                                                </th>
                                                <th class="col-xs-2">
                                                    <%=Resources.Content.GN0000203%>
                                                </th>
                                            </tr>

                                            <asp:Repeater ID="Rep_PG" runat="server">
                                                <ItemTemplate>
                                                    <tr>
                                                        <td class="col-xs-3">
                                                            <asp:Label ID="PGName" runat="server"></asp:Label>
                                                            <input id="H_PGID" runat="server" type="hidden" />
                                                        </td>
                                                        <td colspan="4" class="col-xs-9">

                                                            <asp:Repeater ID="Rep_Cycle" runat="server">
                                                                <ItemTemplate>

                                                                    <table class="table">
                                                                        <tr>
                                                                            <td class="col-xs-2" id="Cycle" runat="server"></td>
                                                                            <td class="col-xs-2">
                                                                                <div class="form-group">
                                                                                    <div class="form-line">
                                                                                        <input id="H_CycleId" runat="server" type="hidden" />
                                                                                        <asp:TextBox runat="server" ID="TxBx_SetupPrice"></asp:TextBox>
                                                                                    </div>
                                                                                </div>
                                                                            </td>
                                                                            <td class="col-xs-2">
                                                                                <div class="form-group">
                                                                                    <div class="form-line">
                                                                                        <asp:TextBox runat="server" ID="TxBx_Price"></asp:TextBox>
                                                                                    </div>
                                                                                </div>
                                                                            </td>
                                                                            <td class="col-xs-2">
                                                                                <div class="form-group">
                                                                                    <div class="form-line">
                                                                                        <asp:TextBox runat="server" ID="TxBx_Discount"></asp:TextBox>
                                                                                    </div>
                                                                                </div>
                                                                            </td>
                                                                        </tr>
                                                                    </table>



                                                                </ItemTemplate>
                                                            </asp:Repeater>

                                                        </td>
                                                    </tr>
                                                </ItemTemplate>
                                            </asp:Repeater>


                                        </table>

                                        <div class="clearfix">&nbsp;</div>
                                        <asp:TextBox ID="HTxBx_4" Style="display: none" Text='<%$ Resources:Content, GN0000925 %>'
                                            runat="server" MaxLength="250">
                                        </asp:TextBox>
                                        <asp:RequiredFieldValidator ID="RFVHTxBx_4" ControlToValidate="HTxBx_4" Display='none'
                                            runat="server" ErrorMessage=''>
                                        </asp:RequiredFieldValidator>

                                    </ContentTemplate>
                                </ajax:UpdatePanel>
                            </ContentTemplate>
                        </asp:TemplatedWizardStep>
                        <asp:TemplatedWizardStep runat="server" ID="S_UpDownGrade" Title="Up Grade / Down Grade"
                            StepType="Step">
                            <ContentTemplate>
                                <ajax:UpdatePanel ID="UpnlUpgradeDowngrade" runat="server" UpdateMode="Conditional">
                                    <ContentTemplate>
                                        <div class="row">
                                            <div class="col-xs-12 row-label">
                                                <asp:Literal ID="Literal171" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000207%>" />:
                                            </div>
                                            <div class="col-xs-12">
                                                <div class="form-group">
                                                    <EM:AddSelectableSelected ID="UCProductUpgrade" runat="server" />
                                                </div>
                                            </div>
                                        </div>

                                        <div class="row">
                                            <div class="col-xs-12 row-label">
                                                <asp:Literal ID="Literal201" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000208%>" />:
                                            </div>
                                            <div class="col-xs-12">
                                                <div class="form-group">
                                                    <EM:AddSelectableSelected ID="UCProductDowngrade" runat="server" />
                                                </div>
                                            </div>
                                        </div>
                                    </ContentTemplate>
                                </ajax:UpdatePanel>
                            </ContentTemplate>
                        </asp:TemplatedWizardStep>
                        <asp:TemplatedWizardStep runat="server" ID="S_AddOn" Title="Add-Ons" StepType="Finish">
                            <ContentTemplate>
                                <ajax:UpdatePanel ID="UpdatePanel3" runat="server">
                                    <ContentTemplate>
                                        <div class="col-xs-12">
                                            <EM:AddSelectableSelected ID="UCAddons" runat="server" />
                                        </div>
                                    </ContentTemplate>
                                </ajax:UpdatePanel>

                            </ContentTemplate>
                        </asp:TemplatedWizardStep>
                    </WizardSteps>
                </asp:Wizard>
            </div>
        </div>
    </div>




    <%--</ContentTemplate>
    </ajax:UpdatePanel>--%>



    <ajax:UpdatePanel ID="UP_EditResource" runat="server" UpdateMode="Always">
        <ContentTemplate>
            <asp:Panel ID="Pnl_EditResource" runat="server" BorderColor="black" BorderStyle="Solid"
                BorderWidth="1px" Height="200px" ScrollBars="Auto" DefaultButton="Btn_RUpdate"
                Width="470px" Visible="true" CssClass="background-color-white" Style="display: none">
                <div id="Div_Msg" runat="server" class="EditResource-div">
                </div>
                <div id="Div_hidden" runat="server" style="display: none">
                </div>
                <div class="padding-all-1px-2px">
                    <table class="tblListing2" cellpadding="0" cellspacing="0" border="0">
                        <tr>
                            <th colspan="2">
                                <asp:Literal ID="Ltrl_Heading" runat="server" Text="<%$Resources:Content,String339 %>"></asp:Literal>
                            </th>
                        </tr>
                        <tr>
                            <td class="shade" width="35%">*&nbsp;<asp:Literal ID="Ltrl_ResourceType" runat="server" Text="<%$ Resources:Content,GN00001552%>"></asp:Literal>
                            </td>
                            <td>
                                <asp:DropDownList ID="Ddl_RType" runat="server" Enabled="false">
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td class="shade" width="35%">*&nbsp;<asp:Literal ID="Literal59" runat="server" Text="<%$ Resources:Content,GN0000199%>"></asp:Literal>
                            </td>
                            <td>
                                <asp:TextBox ID="TxBx_RName" runat="server" ValidationGroup="Popup"></asp:TextBox>
                                <asp:Literal ID="Literal189" runat="server" Text="<%$ Resources:Content,GN00001555%>" />
                                <asp:RequiredFieldValidator ID="RFV_RName" Display="None" ControlToValidate="TxBx_RName"
                                    SetFocusOnError="true" runat="server" ValidationGroup="Popup" />
                            </td>
                        </tr>
                        <tr>
                            <td class="shade" width="35%">*&nbsp;<asp:Literal ID="Literal186" runat="server" Text="<%$ Resources:Content,GN00001553%>"></asp:Literal>
                            </td>
                            <td>
                                <asp:TextBox ID="TxBx_RCapacity" runat="server" ValidationGroup="Popup"></asp:TextBox>
                                &nbsp;<asp:Literal ID="Literal190" runat="server" Text="<%$ Resources:Content,GN00001556%>" />
                                <asp:RequiredFieldValidator ID="RFV_RCapacity" Display="None" ControlToValidate="TxBx_RCapacity"
                                    SetFocusOnError="true" runat="server" ValidationGroup="Popup" />
                                &nbsp;<asp:Label ID="Label3" runat="server" ForeColor="Red" Text="<%$ Resources:Content,GN00001558%>"
                                    Width="230px"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td class="shade" width="35%">*&nbsp;<asp:Literal ID="Literal188" runat="server" Text="<%$ Resources:Content,GN00001554%>"></asp:Literal>
                            </td>
                            <td>
                                <asp:TextBox ID="TxBx_RUnit" runat="server" server="" ValidationGroup="Popup"></asp:TextBox>
                                &nbsp;<asp:Literal ID="Literal191" runat="server" Text="<%$ Resources:Content,GN00001557%>" />
                                <asp:RequiredFieldValidator ID="RFV_RUnit" Display="None" ControlToValidate="TxBx_RUnit"
                                    SetFocusOnError="true" runat="server" ValidationGroup="Popup" />
                                &nbsp;<asp:Label ID="Label4" runat="server" ForeColor="Red" Text="<%$ Resources:Content,GN00001558%>"
                                    Width="230px"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                                <asp:Button ID="Btn_RUpdate" CssClass="btnAction" runat="server" SkinID="OKButton" Text="<%$ Resources:Content,GN0000654%>" ValidationGroup="Popup" />
                                <asp:Button ID="Btn_RCancel" runat="server" SkinID="cancelButton" Text="<%$ Resources:Content,GN0000572%>" />
                            </td>
                        </tr>
                    </table>
                </div>
            </asp:Panel>
            <asp:Button ID="Btn_RDummy" runat="server" Style="display: none" Text='<%$ Resources:Content,GN0000575%>' />
            <EM:ModalPopupExtender ID="MPE_EditResource" runat="server" TargetControlID="Btn_RDummy"
                CancelControlID="Btn_RCancel" PopupControlID="Pnl_EditResource" BackgroundCssClass="modalBackground"
                DropShadow="false">
            </EM:ModalPopupExtender>
        </ContentTemplate>
    </ajax:UpdatePanel>
    <asp:ValidationSummary ID="ValidationSummary1" HeaderText='<%$ Resources:Content, EM000001%>'
        ShowMessageBox="true" ShowSummary="false" runat="server" />

    <script type="text/javascript">
        function ValidatePopup(IdRUnit, IdRName, IdRCapacity) {
            var Txt_RUnit = document.getElementById(IdRUnit);
            var Txt_RName = document.getElementById(IdRName);
            var Txt_RCapacity = document.getElementById(IdRCapacity);
            if (Txt_RUnit != null && Txt_RName != null && Txt_RCapacity != null) {
                if (Txt_RUnit.value == '') { alert('Fields With * are Required'); Txt_RUnit.focus(); return false; }
                else if (Txt_RName.value == '') { alert('Fields With * are Required'); Txt_RName.focus(); return false; }
                else if (Txt_RCapacity.value == '') { alert('Fields With * are Required'); Txt_RCapacity.focus(); return false }
                else { return true; }
            }
        }
    </script>
</asp:Content>
