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

<%@ Register Assembly="obout_Editor" Namespace="OboutInc.Editor" TagPrefix="obout" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>
<%@ Register Src="~/RCC/Packages/CC/AddResource.ascx" TagName="AddResource" TagPrefix="EM" %>
<%@ Register Src="~/Template/CC/Selectable_Selected_LBX.ascx" TagName="AddSelectableSelected" TagPrefix="EM" %>

<asp:Content ID="Content5" ContentPlaceHolderID="CPH_Content" runat="Server">
    <script language="javascript" type="text/javascript">

        $(document).ready(function () {
            $(".rnotes").hide();

            $('input[type=radio]').change(function () {
                var isChecked = $(this).prop('checked');
                var isShow = $(this).hasClass('xshow');
                $(".rnotes").toggle(isChecked && isShow);
            });
        });


        $(".radioButton").click(function (evt) {
            $(".radioButton").each(function (index, obj) {
                var checked = $(obj).attr('checked') == true;
                var row = $(obj).closest('tr').next();
                if (checked) row.show();
                else row.hide();
            });
        });
    </script>

    <div class="col-xs-12">
        <div class="card">
            <div class="header">
                <h2>
                    <asp:Literal EnableViewState="false" ID="Literal28" 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:Literal EnableViewState="false" ID="Literal6" runat="server" Text='<%$ Resources:Content, Dev341 %>' />
                    </span>
                    <span id="div_s2" runat="server" nowrap="true" class="label label-default">
                        <asp:Literal ID="Div3" runat="server" EnableViewState="false" Text='<%$ Resources:Content, DEV1008 %>' />
                    </span>
                    <span id="div_s3" runat="server" nowrap="true" class="label label-default">
                        <asp:Literal ID="Literal1" runat="server" EnableViewState="false" Text='<%$ Resources:Content, GN0000193 %>' />
                    </span>
                    <span id="div_s4" runat="server" nowrap="true" class="label label-default">
                        <asp:Literal ID="Literal2" runat="server" EnableViewState="false" Text='<%$ Resources:Content, GN0000200 %>' />
                    </span>
                    <%--   <span id="div_s5" runat="server" nowrap="true" class="label label-default">
                        <asp:Literal ID="Literal25" runat="server" EnableViewState="false" Text='<%$ Resources:Content, Dev342 %>' />
                    </span>--%>
                    <span id="div_s6" runat="server" nowrap="true" class="label label-default">
                        <asp:Literal ID="Literal26" runat="server" EnableViewState="false" 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"
                    DisplayCancelButton="true" TabIndex="1">
                    <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" />
                    </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" />
                    </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:WizardStep runat="server" Title="Basic Info." ID="S_BasicInfo" StepType="Start">

                            <div class="row">
                                <div class="col-sm-3 col-xs-12 row-label">
                                    <asp:Literal ID="Literal20" 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">
                                <div class="col-sm-3 col-xs-12 row-label">
                                    *<asp:Literal ID="Literal3" 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" 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="Literal29" runat="server" EnableViewState="false" Text="<%$ Resources:Content,DGN1110096%>" />:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <asp:DropDownList ID="DDL_Provider" AutoPostBack="true" runat="server">
                                        </asp:DropDownList>
                                    </div>
                                </div>
                            </div>

                            <div class="row" id="TR_SPServerGroup" runat="server">
                                <div class="col-sm-3 col-xs-12 row-label">
                                    *<asp:Literal ID="Literal30" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000102%>" />:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <asp:DropDownList ID="DDL_ServerGroups" runat="server"></asp:DropDownList>
                                    </div>
                                </div>
                            </div>

                            <%--      <div class="row">
                                <div class="col-sm-3 col-xs-12 row-label">
                                    <asp:Literal ID="Literal4" runat="server" EnableViewState="false" Text="<%$ Resources:Content,DB008%>" />:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <div class="form-line">
                                            <asp:TextBox ID="TxBx_TSGatewayFQDN" runat="server"></asp:TextBox>
                                        </div>
                                    </div>
                                </div>
                            </div>--%>

                            <div class="row">
                                <div class="col-sm-3 col-xs-12 row-label">
                                    <asp:Literal ID="Label2" runat="server" Text="<%$ Resources:Content,GN0000001%>"></asp:Literal>:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <asp:DropDownList ID="DDL_Active" runat="server">
                                            <asp:ListItem Selected="True" Text="<%$ Resources:Content,GN0000004 %>" Value="1"></asp:ListItem>
                                            <asp:ListItem Text="<%$ Resources:Content,GN0000005 %>" Value="0"></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="Literal5" 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="Literal9" 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="Literal10" 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" Enabled="false">
                                            <asp:ListItem Value="1"  Text="<%$ Resources:Content,GN0000006 %>"></asp:ListItem>
                                            <asp:ListItem Value="2" Selected="True" 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="Literal12" runat="server" EnableViewState="false" Text="<%$ Resources:Content,FAM00247%>" />:
                                </div>
                                <div class="col-sm-9 col-xs-12">
                                    <div class="form-group">
                                        <asp:CheckBox ID="ChBx_SyncSoldPlans" Text="&nbsp;" runat="server" />
                                        &nbsp;&nbsp;&nbsp;<asp:Literal ID="Literal22" runat="server" EnableViewState="false" Text="<%$ Resources:Content,FAM00249%>" />
                                    </div>
                                </div>
                            </div>

                            <div class="row" id="tr_enabledForReseller" runat="server">
                                <div class="col-sm-3 col-xs-12 row-label">
                                    <asp:Literal ID="Literal24" 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="Literal33" 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="Literal32" 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>

                        </asp:WizardStep>
                        <asp:WizardStep runat="server" Title="Resources" ID="S_Resources" StepType="Step">

                            <asp:Panel ID="pnlTSProfile" runat="server">
                                <div class="row">
                                    <div class="panel-group search-panel" id="AS_TSProfile" role="tablist" aria-multiselectable="true">
                                        <div class="col-xs-12" role="tab" id="SH_TSProfile">
                                            <div class="card">
                                                <div class="header" role="button" data-toggle="collapse" data-parent="#AS_ClientList" href="#<%= CSB_TSProfile.ClientID%>" aria-expanded="true" aria-controls="SH_ClientList">
                                                    <h3>
                                                        <%= Resources.Content.SessionCollections%>
                                                    </h3>
                                                </div>
                                                <div id="CSB_TSProfile" runat="server" class="body panel-collapse collapse" role="tabpanel" aria-labelledby="SH_ClientList" aria-expanded="false">
                                                    <div class="row">

                                                        <div class="col-xs-12">
                                                            <div class="form-group">

                                                                <EM:AddSelectableSelected ID="UCTSProfile" runat="server" SortByValue="true" />

                                                            </div>
                                                        </div>

                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </asp:Panel>

                            <asp:Panel ID="pnlVirtualDesktopPooled" runat="server">
                                <div class="row">
                                    <div class="panel-group search-panel" id="AS_VirtualDesktopPooled" role="tablist" aria-multiselectable="true">
                                        <div class="col-xs-12" role="tab" id="SH_VirtualDesktopPooled">
                                            <div class="card">
                                                <div class="header" role="button" data-toggle="collapse" data-parent="#AS_ClientList" href="#<%= CSB_VirtualDesktopPooled.ClientID%>" aria-expanded="true" aria-controls="SH_ClientList">
                                                    <h3>
                                                        <%= Resources.Content.VirtualDesktopCollectionsPooled%>
                                                    </h3>
                                                </div>
                                                <div id="CSB_VirtualDesktopPooled" runat="server" class="body panel-collapse collapse" role="tabpanel" aria-labelledby="SH_ClientList" aria-expanded="false">
                                                    <div class="row">
                                                        <div class="col-xs-12">
                                                            <div class="form-group">
                                                                <EM:AddSelectableSelected ID="UCVirtualDesktopPooled" runat="server" SortByValue="true" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </asp:Panel>
                            <asp:Panel ID="pnlVirtualDesktopPersonal" runat="server">
                                <div class="row">
                                    <div class="panel-group search-panel" id="AS_VirtualDesktopPersonal" role="tablist" aria-multiselectable="true">
                                        <div class="col-xs-12" role="tab" id="SH_VirtualDesktopPersonal">
                                            <div class="card">
                                                <div class="header" role="button" data-toggle="collapse" data-parent="#AS_ClientList" href="#<%= CSB_VirtualDesktopPersonal.ClientID%>" aria-expanded="true" aria-controls="SH_ClientList">
                                                    <h3>
                                                        <%= Resources.Content.VirtualDesktopCollectionsPersonal%>
                                                    </h3>
                                                </div>
                                                <div id="CSB_VirtualDesktopPersonal" runat="server" class="body panel-collapse collapse" role="tabpanel" aria-labelledby="SH_ClientList" aria-expanded="false">
                                                    <div class="row">
                                                        <div class="col-xs-12">
                                                            <div class="form-group">
                                                                <EM:AddSelectableSelected ID="UCVirtualDesktopPersonal" runat="server" SortByValue="true" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </asp:Panel>

                            <asp:Panel ID="pnlTSGatewayPolicies" runat="server">
                                <div class="row">
                                    <div class="panel-group search-panel" id="AS_TSGatewayPolicies" role="tablist" aria-multiselectable="true">
                                        <div class="col-xs-12" role="tab" id="SH_TSGatewayPolicies">
                                            <div class="card">
                                                <div class="header" role="button" data-toggle="collapse" data-parent="#AS_ClientList" href="#<%= CSB_TSGatewayPolicies.ClientID %>" aria-expanded="true" aria-controls="SH_ClientList">
                                                    <h3>
                                                        <%= Resources.Content.TSGatewayPolicies%>
                                                    </h3>
                                                </div>
                                                <div id="CSB_TSGatewayPolicies" runat="server" class="body panel-collapse collapse" role="tabpanel" aria-labelledby="SH_ClientList" aria-expanded="false">
                                                    <div class="row">
                                                        <div class="col-xs-12">
                                                            <div class="form-group">
                                                                <EM:AddSelectableSelected ID="UCTSGatewayPolicies" runat="server" SortByValue="true" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </asp:Panel>

                            <asp:Panel ID="pnlPublishedApps" runat="server">
                                <div class="row">
                                    <div class="panel-group search-panel" id="AS_PublishedApps" role="tablist" aria-multiselectable="true">
                                        <div class="col-xs-12" role="tab" id="SH_PublishedApps">
                                            <div class="card">
                                                <div class="header" role="button" data-toggle="collapse" data-parent="#AS_ClientList" href="#<%= CSB_PublishedApps.ClientID%>" aria-expanded="true" aria-controls="SH_ClientList">
                                                    <h3>
                                                        <%= Resources.Content.PublishedApps%>
                                                    </h3>
                                                </div>
                                                <div id="CSB_PublishedApps" runat="server" class="body panel-collapse collapse" role="tabpanel" aria-labelledby="SH_ClientList" aria-expanded="false">
                                                    <div class="row">
                                                        <div class="col-xs-12">
                                                            <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
                                                                <Triggers>
                                                                    <asp:AsyncPostBackTrigger ControlID="UCTSProfile" EventName="OnSelectionUpdated" />
                                                                    <asp:AsyncPostBackTrigger ControlID="UCVirtualDesktopPooled" EventName="OnSelectionUpdated" />
                                                                    <asp:AsyncPostBackTrigger ControlID="UCVirtualDesktopPersonal" EventName="OnSelectionUpdated" />
                                                                    <asp:AsyncPostBackTrigger ControlID="UCTSGatewayPolicies" EventName="OnSelectionUpdated" />
                                                                </Triggers>
                                                                <ContentTemplate>
                                                                    <EM:AddSelectableSelected ID="UCPublishedApp" runat="server" SortByValue="true" />
                                                                </ContentTemplate>
                                                            </asp:UpdatePanel>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </asp:Panel>


                            <%--</fieldset>--%>
                        </asp:WizardStep>
                        <asp:WizardStep ID="S_Cycles" runat="server" Title="Cycles" StepType="Step">


                            <%-- Payment Cycles --%>
                            <div class="col-xs-12 header">
                                <asp:Literal
                                    ID="Literal41" 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="Literal43" runat="server" EnableViewState="false" Text='<%$ Resources:Content, GN0000196 %>' />
                            </div>

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


                        </asp:WizardStep>
                        <asp:WizardStep runat="server" ID="S_Fill_Prices" Title="DS_DG" StepType="Step">

                            <table class="table table-bordered table-striped table-hover">
                                <tr>
                                    <th class="col-xs-3">
                                        <%=Resources.Content.collectionName%>
                                    </th>
                                    <th class="col-xs-3">
                                        <%=Resources.Content.GN0000200%>
                                    </th>
                                    <th class="col-xs-2">
                                        <%=Resources.Content.GN0000193%>
                                    </th>
                                    <th class="col-xs-2">
                                        <%= Resources.Content.Lync318 %>
                                    </th>
                                    <th class="col-xs-2">
                                        <%=Resources.Content.GN000112%>
                                    </th>
                                </tr>

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

                                        <tr>
                                            <td class="col-xs-3" runat="server" id="CollectionName"></td>
                                            <td class="col-xs-9" colspan="4">
                                                <input id="CollectionId" runat="server" type="hidden" />
                                                <asp:Repeater ID="Rep_PG" runat="server">
                                                    <ItemTemplate>
                                                        <%# IIf(Container.ItemIndex > 0, "<hr />", String.Empty)%>
                                                        <table class="table">
                                                            <tr>
                                                                <td class="col-xs-4" runat="server" id="PGName"></td>
                                                                <td class="col-xs-8">
                                                                    <input id="H_PGID" runat="server" type="hidden" />
                                                                    <asp:Repeater ID="Rep_Cycle" runat="server">
                                                                        <ItemTemplate>
                                                                            <table class="table">
                                                                                <tr>
                                                                                    <td class="col-xs-4" id="Cycle" runat="server" align="left"></td>
                                                                                    <td class="col-xs-8" id="Price" runat="server" align="left">
                                                                                        <input id="H_CycleId" runat="server" type="hidden" />
                                                                                        <span class="col-xs-6 m-l--10">
                                                                                            <div class="form-group">
                                                                                                <div class="form-line">
                                                                                                    <asp:TextBox runat="server" ID="TxBx_Cost" CssClass="js-input-cost"></asp:TextBox>
                                                                                                </div>
                                                                                            </div>
                                                                                        </span>
                                                                                        <span class="col-xs-6 m-l-10">
                                                                                            <div class="form-group">
                                                                                                <div class="form-line">
                                                                                                    <asp:TextBox runat="server" ID="TxBx_Price" CssClass="js-input-price"></asp:TextBox>
                                                                                                </div>
                                                                                            </div>
                                                                                        </span>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </ItemTemplate>
                                                                    </asp:Repeater>
                                                                </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>

                        </asp:WizardStep>
                        <%-- <asp:WizardStep runat="server" ID="S_UpDownGrade" Title="Up Grade / Down Grade" StepType="Step">
                            <ajax:UpdatePanel ID="UpnlUpgradeDowngrade" runat="server" UpdateMode="Conditional">
                                <ContentTemplate>
                                    <div class="row">
                                        <div class="col-xs-12 row-label">
                                            <asp:Literal ID="Literal23" 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="Literal51" 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>

                        </asp:WizardStep>--%>
                        <asp:WizardStep runat="server" ID="S_AddOn" Title="Add-Ons" StepType="Finish">
                            <div class="col-xs-12">
                                <EM:AddSelectableSelected ID="UCAddons" runat="server" />
                            </div>
                        </asp:WizardStep>
                    </WizardSteps>
                </asp:Wizard>
                <asp:ValidationSummary HeaderText='<%$ Resources:Content, EM000001%>' ID="ValidationSummary1"
                    ShowMessageBox="true" ShowSummary="false" runat="server" TabIndex="1" />
            </div>
        </div>
    </div>

</asp:Content>
