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

<%@ Register Src="~/RCC/Clients/CC/GetComments.ascx" TagName="GetComments" TagPrefix="EM" %>
<%@ Register Src="~/RCC/Clients/AccountStatment.ascx" TagName="AccountStatment" TagPrefix="EM" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>
<%@ Register Src="../CC/Notes.ascx" TagName="Notes" TagPrefix="EM" %>
<%@ Register Src="CC/VPS.ascx" TagName="VPS" TagPrefix="EM" %>
<%@ Register Src="AccountAddons.ascx" TagName="AccountAddons" TagPrefix="EM" %>
<%@ Register Src="CC/VPS_Resource.ascx" TagName="VPS_Resource" TagPrefix="EM" %>
<%@ Register Src="~/RCC/Clients/CC/PackageSwitch.ascx" TagName="PackageSwitch" TagPrefix="EM" %>
<%@ Register Src="~/RCC/Clients/CC/GenerateInvoice.ascx" TagName="GenerateInvoice" TagPrefix="EM" %>
<%@ Register Src="~/RCC/VPS/CC/VPSHostingIPSettings.ascx" TagName="VPSHostingIPSettings" TagPrefix="EM" %>
<%@ Register Assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Namespace="System.Web.UI" TagPrefix="cc1" %>
<%@ Register Src="~/RCC/Exchange/CC/AccountGroupActions.ascx" TagName="AccountGroupActions" TagPrefix="EM" %>
<%@ Register Src="~/Template/CC/Selectable_Selected_LBX.ascx" TagName="AddSelectableSelected" TagPrefix="EM" %>
<%@ Register Src="~/RCC/Clients/CC/CancelSubscription.ascx" TagName="CancelSubscription" TagPrefix="EM" %>
<%@ Register Src="~/Template/ResourcesQuota.ascx" TagName='ResourceQuota' TagPrefix='EM' %>

<asp:Content ID="Content4" ContentPlaceHolderID="CPH_Content" runat="Server">
    <script language="javascript" type="text/javascript" src="../../JS/RoboHe lp_CSH.js"></script>
    <script language="javascript" type="text/javascript" src="../../JS/overlibmws.js"></script>


    <ajax:UpdatePanel ID="UP_VPSHosting" runat="server">
        <ContentTemplate>

            <asp:Button CssClass="btn btn-primary waves-effect" ID="Btn_Dummy" Style="display: none" runat="server" />

            <asp:Button CssClass="btn btn-primary waves-effect" ID="Btn_Dummy3" Style="display: none" runat="server" />

            <asp:Panel ID="Pnl_PackageSwitch" runat="server" Style="display: none" CssClass="width-modal-popup-auto">
                <EM:PackageSwitch runat="server" ID="PackageSwitch" OnPackageChange="PackageSwitchPopUpShow" />
            </asp:Panel>
            <EM:ModalPopupExtender runat="server" ID="MPE_PackageSwitch" BackgroundCssClass="modalBackground"
                DropShadow="false" PopupControlID="Pnl_PackageSwitch" TargetControlID="Btn_Dummy3">
            </EM:ModalPopupExtender>
            <asp:Button CssClass="btn btn-primary waves-effect" ID="Btn_Dummy2" Style="display: none" runat="server" />

            <asp:Panel ID="Panel2" runat="server" Style="display: none" CssClass="width-modal-popup-auto">
                <EM:GenerateInvoice ID="GenerateInvoice" runat="server" />
            </asp:Panel>
            <EM:ModalPopupExtender runat="server" ID="MPE_Invoice" BackgroundCssClass="modalBackground"
                DropShadow="false" PopupControlID="Panel2" TargetControlID="Btn_Dummy2">
            </EM:ModalPopupExtender>


            <asp:Button CssClass="btn btn-primary waves-effect" ID="Btn_Dummy123" runat="server" Text="<%$ Resources:Content,SMI0007%>"
                Style="display: none;" />
            <asp:Panel ID="Panel1" runat="server" Style="display: none;" CssClass="width-modal-popup-auto">
                <EM:CancelSubscription ID="UCCancelSubscription" runat="server" />
            </asp:Panel>
            <EM:ModalPopupExtender runat="server" ID="MP1" BackgroundCssClass="modalBackground"
                DropShadow="false" PopupControlID="Panel1" TargetControlID="Btn_Dummy123">
            </EM:ModalPopupExtender>


            <asp:Button CssClass="btn btn-primary waves-effect" ID="Btn_Dummy4" runat="server" Text="<%$ Resources:Content,SMI0007%>" Style="display: none;" />
            <asp:Panel ID="Pnl_GroupActionsStatus" runat="server" Style="display: none" CssClass="width-modal-popup-auto">

                <div class="col-xs-12">
                    <div class="card">
                        <div class="body">
                            <EM:AccountGroupActions ID="GA_GroupActionsStatus" runat="server" />

                            <div class="row">
                                <div class="col-xs-12">
                                    <asp:LinkButton ID="LB_GroupActionsStatus" CssClass="btn btn-primary waves-effect" runat="server" Text="<%$ Resources:Content,GN000150%>" />
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

            </asp:Panel>
            <EM:ModalPopupExtender runat="server" ID="MPE_GroupActionsStatus" BackgroundCssClass="modalBackground"
                DropShadow="false" PopupControlID="Pnl_GroupActionsStatus" TargetControlID="Btn_Dummy4">
            </EM:ModalPopupExtender>

            <asp:Button CssClass="btn btn-primary waves-effect" ID="Button1" Style="display: none" runat="server" />

            <asp:Panel ID="Panel3" runat="server" Style="display: none" CssClass="width-modal-popup-auto">
                <EM:GetComments ID="GetComments" runat="server" />
            </asp:Panel>
            <EM:ModalPopupExtender runat="server" ID="MPE_GetReason" BackgroundCssClass="modalBackground"
                DropShadow="false" PopupControlID="Panel3" TargetControlID="Button1">
            </EM:ModalPopupExtender>

            <asp:Button ID="Btn_Display" runat="server" Style="display: none;" />
            <asp:Panel ID="Pnl_Resources" runat="server" Style="display: none" CssClass="width-modal-popup-auto">
                <div class="col-xs-12">
                    <asp:Label ID="Lbl_ResourceError" runat="server" ForeColor="red" Font-Bold="true"
                        Visible="false" EnableViewState="false"></asp:Label>
                    <EM:ResourceQuota runat="server" ID="ResourceQuotaView" />
                </div>
            </asp:Panel>
            <EM:ModalPopupExtender runat="server" ID="MPE_Resource" BackgroundCssClass="modalBackground"
                DropShadow="false" PopupControlID="Pnl_Resources" TargetControlID="Btn_Display">
            </EM:ModalPopupExtender>

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

                    <div class="body">
                        <EM:TabContainer ID="TC_VPSHosting" runat="server" OnClientActiveTabChanged="loadTabPanel">
                            <EM:TabPanel ID="Tab_GeneralInfo" runat="server" HeaderText="<%$ Resources:Content,GN0000578%>">
                                <ContentTemplate>
                                    <asp:Button CssClass="btn btn-primary waves-effect" ID="Btn_Tab0" runat="server" Style="display: none;" />

                                    <asp:Panel ID="Pnl_TabContent0" runat="server">
                                        <div class="row Div_OpsRow" id="Div_OpsRow" runat="server">
                                            <div class="col-xs-12">
                                                <div class="card">
                                                    <div class="header">
                                                        <h3>
                                                            <%= Resources.Content.GN00001320%>      <%--Operations--%>                                                                                                                             
                                                        </h3>
                                                    </div>
                                                    <div class="body">
                                                        <asp:Button ID="Btn_UpGrade" runat="server" Text="<%$ Resources:Content,String302%>" class="btn btn-primary waves-effect btnAction" />
                                                        <asp:Button ID="Btn_DownGrade" runat="server" Text="<%$ Resources:Content,String303%>" class="btn btn-primary waves-effect btnAction" />
                                                        <asp:Button ID="Btn_PutOnHold" runat="server" Text="<%$ Resources:Content,GN0000756%>" class="btn btn-primary waves-effect btnAction" />
                                                        <asp:Button ID="Btn_CancelSub" runat="server" Text="<%$ Resources:Content,SPT002010%>" class="btn btn-primary waves-effect btnAction" />
                                                        <asp:Button ID="Btn_GenerateRenewalInvoice" runat="server" Text="<%$ Resources:Content,GN00001482%>" class="btn btn-primary waves-effect btnAction" />
                                                        <asp:Button ID="Btn_ProvisionVLans" runat="server" Text="<%$ Resources:Content,strProvisionVLans%>" class="btn btn-primary waves-effect btnAction" Visible="false" />
                                                    </div>
                                                </div>
                                            </div>
                                        </div>

                                        <EM:VPS ID="VPS" runat="server" />
                                        <EM:Notes ID="Notes_VPSAccount" runat="server" />

                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                            <EM:TabPanel ID="Tab_Resources" runat="server" HeaderText="<%$ Resources:Content,DEV1008%>">
                                <ContentTemplate>
                                    <asp:Button CssClass="btn btn-primary waves-effect" ID="Btn_Tab1" runat="server" Style="display: none;" />

                                    <asp:Panel ID="Pnl_TabContent1" runat="server" Visible="false">

                                        <div id="Tbl_Operations" runat="server" class="row Div_OpsRow">
                                            <div class="col-xs-12">
                                                <div class="card">
                                                    <div class="header">
                                                        <h3>
                                                            <%= Resources.Content.GN00001320%>      <%--Operations--%>                                                                                                                             
                                                        </h3>
                                                    </div>
                                                    <div class="body">
                                                        <asp:Button class="btn btn-primary btnAction" ID="Btn_EditResources" runat="server"
                                                            Text="<%$ Resources:Content,SPT002193%>" />
                                                    </div>
                                                </div>
                                            </div>
                                        </div>

                                        <EM:VPS_Resource ID="VPS_Resource" runat="server" />


                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                            <EM:TabPanel ID="Tab_VPS" runat="server" HeaderText="<%$ Resources:Content,strVirtualMachines%>">
                                <ContentTemplate>
                                    <asp:Button CssClass="btn btn-primary waves-effect" ID="Btn_Tab2" runat="server" Style="display: none;" />

                                    <asp:Panel ID="Pnl_TabContent2" runat="server" Visible="false">

                                        <div class="row Div_OpsRow" id="Tbl_Operation" runat="server">
                                            <div class="col-xs-12">
                                                <div class="card">
                                                    <div class="header">
                                                        <h3>
                                                            <%= Resources.Content.GN00001320%>      <%--Operations--%>                                                                                                                             
                                                        </h3>
                                                    </div>
                                                    <div class="body">
                                                        <asp:Button ID="Btn_AddVPS" runat="server" class="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,strAddVM%>" />
                                                    </div>
                                                </div>
                                            </div>
                                        </div>

                                        <div class="row" id="Tbl_GV_VPS" runat="server">
                                            <div class="col-xs-12">
                                                <div class="card">
                                                    <div class="body">
                                                        <asp:GridView CssClass="table table-bordered table-striped table-hover" EmptyDataText="<%$ Resources:Content, GN00001375 %>"
                                                            ID="GV_VPS" AllowPaging="False" runat="server" AutoGenerateColumns="false">

                                                            <Columns>
                                                                <asp:TemplateField HeaderStyle-CssClass="col-xs-1" HeaderText='<%$ Resources:Content,String385%>'>
                                                                    <ItemTemplate>
                                                                        <asp:ImageButton ID="IBtn_Status" runat="server" Visible="false" />
                                                                        <asp:LinkButton ID="LB_Status" CommandName="Status" runat="server"></asp:LinkButton>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="<%$ Resources:Content,VPS002%>" HeaderStyle-CssClass="col-xs-3">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="LBL_VPSName" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "VMName") %>'></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="<%$ Resources:Content,HVServer10%>" HeaderStyle-CssClass="col-xs-2">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="LBL_VPSProcessor" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "CPUCores") %>'></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="<%$ Resources:Content,GN00001562%>" HeaderStyle-CssClass="col-xs-2">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="LBL_VPSRam" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "RAM") %>'></asp:Label>&nbsp;MB
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText='<%$ Resources:Content,GN0000360%>' HeaderStyle-CssClass="col-xs-4">
                                                                    <ItemTemplate>
                                                                        <asp:LinkButton ID="LB_Manage" CssClass="btn btn-primary" runat="server" Text='<%$ Resources:Content,L0086%>'
                                                                            CommandName="ManageVPS" CommandArgument='<%# DataBinder.Eval(Container.DataItem,"VPSId") %>'
                                                                            Enabled="false"></asp:LinkButton>
                                                                        <asp:LinkButton ID="LB_Delete" CssClass="btn btn-primary btnAction" runat="server" Text="<%$ Resources:Content,GN0000377%>"
                                                                            CommandName="DeleteVPS" CommandArgument='<%# DataBinder.Eval(Container.DataItem,"VPSId") %>'
                                                                            Enabled="true" />
                                                                        <EM:ConfirmButtonExtender ID="CBE_Cancel" TargetControlID="LB_Delete" ConfirmText="<%$ Resources:Content,VPS245 %>"
                                                                            runat="server" />
                                                                        <asp:LinkButton ID="LB_CancelMoveJob" CssClass="btn btn-primary btnAction" runat="server" Text="<%$ Resources:Content,strCancelMove%>"
                                                                            CommandName="CancelMoveJob" CommandArgument='<%# DataBinder.Eval(Container.DataItem,"VPSId") %>'
                                                                            Enabled="false" Visible="false" />
                                                                        <asp:LinkButton ID="LB_ReImport" CssClass="btn btn-primary btnAction" runat="server" Text='<%$ Resources:Content,strReImport%>'
                                                                            CommandName="ReImport" CommandArgument='<%# DataBinder.Eval(Container.DataItem,"VPSId") %>'
                                                                            Enabled="true"></asp:LinkButton>
                                                                        <asp:LinkButton ID="LB_DeleteFromMP" CssClass="btn btn-primary btnAction" runat="server" Text="<%$ Resources:Content,strDeletefromDBOnly%>"
                                                                            CommandName="DeleteFromMP" CommandArgument='<%# DataBinder.Eval(Container.DataItem,"VPSId") %>'
                                                                            Enabled="true" />
                                                                        <EM:ConfirmButtonExtender ID="CB_DeleteFromMP" TargetControlID="LB_DeleteFromMP" ConfirmText="<%$ Resources:Content,strDeleteVMFromPanel %>"
                                                                            runat="server" />
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                            </Columns>
                                                        </asp:GridView>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>

                                        <div class="row" id="Tbl_AddVPS" runat="server">
                                            <div class="col-xs-12">
                                                <div class="card">
                                                    <div class="header">
                                                        <h3>
                                                            <%= Resources.Content.SMI0217%>                                                                                                                                
                                                        </h3>
                                                    </div>
                                                    <div class="body">
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <label>
                                                                    *<asp:Literal ID="Literal3" runat="server" Text="<%$ Resources:Content,VPS002%>" EnableViewState="false" />:
                                                                </label>
                                                                <div style="float: right; text-align: right; width: 30%;">
                                                                    <asp:Label ID="ltlCustomerId" runat="server" Visible="false" CssClass="resource-limit"></asp:Label>
                                                                </div>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_VMName" MaxLength="50" runat="server"></asp:TextBox>
                                                                        <asp:RequiredFieldValidator ID="RFV1" runat="server" ControlToValidate="TxBx_VMName"
                                                                            Display="None" ValidationGroup="VPSHosting"></asp:RequiredFieldValidator>
                                                                        <EM:FilteredTextBoxExtender ID="FTE" runat="server" FilterType="LowercaseLetters,UppercaseLetters,Numbers,Custom" ValidChars="-" TargetControlID="TxBx_VMName">
                                                                        </EM:FilteredTextBoxExtender>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="col-sm-5 col-xs-12">

                                                                <asp:Label ID="Ltl_SubscriptionId" runat="server" CssClass="resource-limit"></asp:Label>

                                                            </div>
                                                        </div>

                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <label>
                                                                    *<asp:Literal ID="LI_CpuCores" runat="server" EnableViewState="false" Text='<%$ Resources:Content,HVServer10 %>' />:
                                                                </label>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_CpuCores" runat="server" MaxLength="10" Enabled="true"></asp:TextBox>
                                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TxBx_CpuCores"
                                                                            Display="None" ValidationGroup="VPSHosting"></asp:RequiredFieldValidator>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="col-sm-5 col-xs-12">

                                                                <asp:Label ID="Lbl_CpuCores" runat="server" CssClass="resource-limit"></asp:Label>

                                                            </div>
                                                        </div>

                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <label>
                                                                    *<asp:Literal ID="LI_RamPerVps" runat="server" EnableViewState="false" Text='<%$ Resources:Content,HVServer11 %>' />:
                                                                </label>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_Ram" runat="server" MaxLength="10" Enabled="true"></asp:TextBox>

                                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TxBx_Ram"
                                                                            Display="None" ValidationGroup="VPSHosting"></asp:RequiredFieldValidator>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="col-sm-5 col-xs-12">

                                                                <asp:Label ID="Lbl_Ram" runat="server" CssClass="resource-limit"></asp:Label>

                                                            </div>
                                                        </div>


                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <label>
                                                                    *<asp:Literal ID="LI_DiskSpacePerVps" runat="server" EnableViewState="false" Text='<%$ Resources:Content,HVServer12 %>' />:
                                                                </label>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_DiskSpace" runat="server" MaxLength="10" Enabled="true"></asp:TextBox>
                                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="TxBx_DiskSpace"
                                                                            Display="None" ValidationGroup="VPSHosting"></asp:RequiredFieldValidator>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <%-- <div class="col-sm-5 col-xs-12" div="DivOneDiskType" runat="server">
                                                                <asp:Label ID="Lbl_DiskSpace" runat="server" CssClass="resource-limit"></asp:Label>
                                                            </div>--%>
                                                            <div class="col-sm-3 col-xs-12">
                                                                <asp:DropDownList ID="ddl_FreeDiskByType" runat="server"></asp:DropDownList>

                                                            </div>
                                                        </div>

                                                        <div class="row" id="trBandwidth" runat="server">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <label>
                                                                    *<asp:Literal ID="Literal11" runat="server" EnableViewState="false" Text='<%$ Resources:Content,strBandWidthAllowed %>' />: 
                                                                </label>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="txtMaxBandwidth" runat="server" MaxLength="10"></asp:TextBox>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="col-sm-2 col-xs-12">
                                                                <asp:CheckBox ID="chkUnlimitedBandwidth" Checked="true" Text='<%$ Resources:Content,GN0000908 %>' runat="server" />
                                                                <asp:Label ID="Lbl_Bandwidth" runat="server" ForeColor="red" Visible="false">*</asp:Label>

                                                                <%-- <asp:Label ID="lblUnlimitedBandwidth" runat="server" Visible="true" Text='<%$ Resources:Content,GN0000908 %>'></asp:Label>--%>
                                                            </div>
                                                            <div class="col-sm-2 col-xs-12">
                                                                <asp:Label ID="lblAvailbleBandwidth" runat="server" CssClass="resource-limit"></asp:Label>
                                                            </div>
                                                        </div>

                                                        <div class="row" id="Tr_SnapShot" runat="server">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <label>
                                                                    *<asp:Literal ID="LI_MaxSnapshotsPerVps" runat="server" EnableViewState="false" Text='<%$ Resources:Content,HVServer13 %>' />:
                                                                </label>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_MaxSnapshots" runat="server" MaxLength="10" Enabled="true"></asp:TextBox>
                                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="TxBx_MaxSnapshots"
                                                                            Display="None" ValidationGroup="VPSHosting"></asp:RequiredFieldValidator>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="col-sm-5 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:Label ID="Lbl_MaxSnapshots" runat="server" CssClass="resource-limit"></asp:Label>
                                                                </div>
                                                            </div>
                                                        </div>

                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <label>
                                                                    *<asp:Literal ID="Literal99" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000569%>" />:
                                                                </label>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_Pass" runat="server" TextMode="Password" MaxLength="30" />

                                                                    </div>
                                                                </div>
                                                                <asp:RegularExpressionValidator ErrorMessage='<%$ Resources:Content,DGN1110625%>'
                                                                    ID="RegularExpressionValidator1" runat="server" ControlToValidate="TxBx_Pass"
                                                                    Display="None" ValidationExpression="^.*(?=.{6,})(?=.*\d)(?=.*[a-zA-Z]).*$" ValidationGroup="VPSHosting"
                                                                    SetFocusOnError="True"></asp:RegularExpressionValidator>
                                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="TxBx_Pass"
                                                                    Display="None" ValidationGroup="VPSHosting"></asp:RequiredFieldValidator>
                                                            </div>
                                                            <div class="col-sm-5 col-xs-12">

                                                                <asp:LinkButton ID="lb_Generate" runat="server" Text="<%$ Resources:Content,SMI0195%>"
                                                                    CausesValidation="false" TabIndex="-1" class="btn btn-primary waves-effect"></asp:LinkButton>

                                                            </div>
                                                        </div>

                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <label>
                                                                    *<asp:Literal ID="Literal101" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0001196%>" />:
                                                                </label>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_PassConfirm" TextMode="Password" runat="server" MaxLength="30"></asp:TextBox>
                                                                    </div>
                                                                </div>
                                                                <asp:CompareValidator ID="CompareValidator1" runat="server" ErrorMessage='<%$ Resources:Content,SPT002699%>'
                                                                    ControlToCompare="TxBx_Pass" ControlToValidate="TxBx_PassConfirm"
                                                                    Display="None" ValidationGroup="VPSHosting"></asp:CompareValidator>
                                                            </div>
                                                            <div class="col-sm-5 col-xs-12">

                                                                <asp:CheckBox ID="CB_Show" runat="server" Text="<%$ Resources:Content,FAM0049 %>" CssClass="resource-limit" />

                                                            </div>
                                                        </div>

                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <label>
                                                                    *<asp:Literal ID="liSealedImages01" runat="server" Text='<%$ Resources: Content,HyperV06 %>'></asp:Literal>:
                                                                </label>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:DropDownList ID="DDL_SealedImages" runat="server"></asp:DropDownList>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <br />

                                                        <div class="row" id="DivSDNVLan" runat="server" visible="false">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <label>
                                                                    <asp:Literal ID="Literal18" runat="server" Text='<%$ Resources: Content, strSelectNetwork %>'></asp:Literal>:
                                                                </label>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:DropDownList ID="ddl_SDNVLan" runat="server"></asp:DropDownList>
                                                                </div>
                                                            </div>
                                                        </div>

                                                        <div class="card" id="Tbl_PublicIP" runat="server">
                                                            <div class="header">
                                                                <h3>
                                                                    <asp:Literal ID="LI_ExternalIPs" runat="server" EnableViewState="false"></asp:Literal>
                                                                </h3>
                                                            </div>
                                                            <div class="body">
                                                                <div class="row">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                        <label>
                                                                            <asp:Literal ID="Literal16" runat="server" Text='<%$ Resources: Content, VPS993 %>'></asp:Literal>:
                                                                        </label>
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <asp:DropDownList ID="DDL_ExternalDNS" runat="server"></asp:DropDownList>
                                                                        </div>
                                                                    </div>
                                                                </div>

                                                                <div class="row">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                        <label>
                                                                            <asp:Literal ID="Literal4" runat="server" Text='<%$ Resources: Content, strIPPoolName %>'></asp:Literal>:
                                                                        </label>
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <asp:DropDownList ID="DDL_PublicSubnet" runat="server" AutoPostBack="true"></asp:DropDownList>
                                                                        </div>
                                                                    </div>
                                                                </div>

                                                                <div class="row">
                                                                    <div class="col-xs-12 row-label">
                                                                        <label>
                                                                            <asp:Literal ID="LI_Extern" runat="server" EnableViewState="false" Text='<%$ Resources:Content,DGN1110260 %>' />:
                                                                        </label>
                                                                    </div>

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

                                                                                <EM:AddSelectableSelected ID="UCPublicIPs" runat="server" SortByValue="true" />
                                                                                <asp:Label ID="Lbl_ExternalIPs" runat="server" Visible="false"></asp:Label>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>

                                                                <div class="row" id="DivSetPublicGateway" runat="server">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                        <label>
                                                                            <asp:Literal ID="Literal9" runat="server" EnableViewState="false" Text='<%$ Resources:Content,strSetGatewayFromNICIPPool %>' />:
                                                                        </label>
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12 row-label">
                                                                        <div class="form-group">
                                                                            <asp:CheckBox ID="chkSetPublicGateway" Text=" " runat="server" Checked="true" />

                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="row" id="DivPubVlan" runat="server" visible="false">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                        <label>
                                                                            <asp:Literal ID="Literal10" runat="server" EnableViewState="false" Text='<%$ Resources:Content,HVServer32 %>' />:
                                                                        </label>
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12 row-label">
                                                                        <div class="form-group">
                                                                            <div class="form-line">
                                                                                <asp:TextBox ID="TxBx_PublicVLanID" runat="server" ReadOnly="true" />
                                                                            </div>
                                                                        </div>
                                                                        <EM:FilteredTextBoxExtender ID="FTE_TxBx_VLanIDUpdate" runat="server" TargetControlID="TxBx_PublicVLanID" FilterType="Custom, Numbers" />
                                                                        <asp:RangeValidator ID="rngVPublicVLanID" Type="Integer" MinimumValue="0" MaximumValue="4094" runat="server" ValidationGroup="VPSHosting" ControlToValidate="TxBx_PublicVLanID" ErrorMessage="Public VLAN ID must be between 0 and 4094"></asp:RangeValidator>
                                                                    </div>

                                                                </div>

                                                                <div class="row" runat="server" id="Div_PublicBandWithTier">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                        <label>
                                                                            <asp:Literal ID="Literal17" runat="server" Text='<%$ Resources: Content, strBandWithtier %>'></asp:Literal>:
                                                                        </label>
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <asp:DropDownList ID="DDl_PublicTiers" runat="server" AutoPostBack="true"></asp:DropDownList>
                                                                        </div>
                                                                    </div>
                                                                </div>


                                                            </div>
                                                        </div>
                                                        <br />

                                                        <div class="card" id="Tbl_PrivateIP" runat="server">
                                                            <div class="header">
                                                                <h3>
                                                                    <asp:Literal ID="LI_InternalIPs" runat="server" EnableViewState="false"></asp:Literal>
                                                                </h3>
                                                            </div>
                                                            <div class="body">
                                                                <div class="row">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                        <label>
                                                                            <asp:Literal ID="Literal8" runat="server" Text='<%$ Resources: Content, VPS993 %>'></asp:Literal>:
                                                                        </label>
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <asp:DropDownList ID="DDL_InternalDNS" runat="server"></asp:DropDownList>
                                                                        </div>
                                                                    </div>
                                                                </div>

                                                                <div class="row">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                        <label>
                                                                            <asp:Literal ID="Literal6" runat="server" Text='<%$ Resources: Content, strIPPoolName %>'></asp:Literal>:
                                                                        </label>
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <asp:DropDownList ID="DDL_PrivateSubnet" runat="server" AutoPostBack="true"></asp:DropDownList>
                                                                        </div>
                                                                    </div>
                                                                </div>

                                                                <div class="row" id="Div_UCPrivateIPs" runat="server">
                                                                    <div class="col-xs-12 row-label">
                                                                        <label>
                                                                            <asp:Literal ID="Literal7" runat="server" EnableViewState="false" Text='<%$ Resources:Content,DGN1110260 %>' />:
                                                                        </label>
                                                                    </div>
                                                                    <div class="col-xs-12">
                                                                        <div class="form-group">
                                                                            <div class="form-line">
                                                                                <EM:AddSelectableSelected ID="UCPrivateIPs" runat="server" SortByValue="true" />
                                                                                <asp:Label ID="Lbl_InternalIPs" runat="server" Visible="false"></asp:Label>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>

                                                                <div class="row" id="DivSetPrivateGateway" runat="server">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                        <label>
                                                                            <asp:Literal ID="Literal12" runat="server" EnableViewState="false" Text='<%$ Resources:Content,strSetGatewayFromNICIPPool %>' />:
                                                                        </label>
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <asp:CheckBox ID="chkSetPrivateGateway" Text=" " runat="server" Checked="true" />
                                                                        </div>
                                                                    </div>
                                                                </div>

                                                                <div class="row" id="DivPriVLan" runat="server" visible="false">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                        <label>
                                                                            <asp:Literal ID="Literal13" runat="server" EnableViewState="false" Text='<%$ Resources:Content,HVServer32 %>' />:
                                                                        </label>
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12 row-label">
                                                                        <div class="form-group">
                                                                            <div class="form-line">
                                                                                <asp:TextBox ID="TxBx_PrivateVlanId" runat="server" ReadOnly="true" />
                                                                            </div>
                                                                        </div>
                                                                        <EM:FilteredTextBoxExtender ID="FilteredTextBoxExtender1" runat="server" TargetControlID="TxBx_PrivateVlanId" FilterType="Custom, Numbers" />
                                                                        <asp:RangeValidator ID="rgvPVlanId" Type="Integer" MinimumValue="0" MaximumValue="4094" runat="server"
                                                                            ControlToValidate="TxBx_PrivateVlanId" ValidationGroup="VPSHosting" ErrorMessage="Private Nic VLAN ID must be between 0 and 4094"></asp:RangeValidator>
                                                                    </div>
                                                                </div>

                                                                <div class="row" runat="server" id="Div_PrivateBandWithTier">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                        <label>
                                                                            <asp:Literal ID="Literal14" runat="server" Text='<%$ Resources: Content, strBandWithtier %>'></asp:Literal>:
                                                                        </label>
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <asp:DropDownList ID="DDl_PrivateTiers" runat="server" AutoPostBack="true"></asp:DropDownList>
                                                                        </div>
                                                                    </div>
                                                                </div>

                                                            </div>
                                                        </div>

                                                        <div class="card" id="Div_HVNPrivateIPs" runat="server" visible="false">
                                                            <div class="header">
                                                                <h3>
                                                                    <asp:Literal ID="Literal1" runat="server" EnableViewState="false"></asp:Literal>
                                                                </h3>
                                                            </div>
                                                            <div class="body">
                                                                <div class="row">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                        <asp:Literal ID="Literal15" Text="<%$ Resources:Content,VPS254%>" runat="server" EnableViewState="false" />:
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <div class="form-line">
                                                                                <asp:TextBox ID="TB_PreferredDNS" runat="server"></asp:TextBox>
                                                                            </div>
                                                                        </div>

                                                                        <asp:RegularExpressionValidator ID="RFV_AddSubNetMask" runat="server" ControlToValidate="TB_PreferredDNS"
                                                                            Display="None" SetFocusOnError="true" ValidationGroup="VPSHosting" ValidationExpression="<%$ Resources:Content,ValidateIP%>"
                                                                            ErrorMessage="<%$ Resources:Content,String176 %>"></asp:RegularExpressionValidator>
                                                                    </div>
                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                        <asp:Literal ID="Literal2" Text="<%$ Resources:Content,VPS255%>" runat="server" EnableViewState="false" />:
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <div class="form-line">
                                                                                <asp:TextBox ID="TB_AlternateDNS" runat="server"></asp:TextBox>
                                                                            </div>
                                                                        </div>
                                                                        <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="TB_AlternateDNS"
                                                                            Display="None" SetFocusOnError="true" ValidationGroup="VPSHosting" ValidationExpression="<%$ Resources:Content,ValidateIP%>"
                                                                            ErrorMessage="<%$ Resources:Content,String176 %>"></asp:RegularExpressionValidator>
                                                                    </div>
                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-xs-12 row-label">
                                                                        <label>
                                                                            <asp:Literal ID="Literal5" runat="server" EnableViewState="false" Text='<%$ Resources:Content,DGN1110260 %>' />:
                                                                        </label>
                                                                    </div>
                                                                    <div class="col-xs-12">
                                                                        <EM:AddSelectableSelected ID="UCHVNPrivateIPs" runat="server" SortByValue="false" />
                                                                        <asp:Label ID="Label1" runat="server" Visible="false"></asp:Label>
                                                                    </div>
                                                                </div>
                                                                <%--<div class="row">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                    </div>
                                                                </div>--%>
                                                            </div>
                                                        </div>

                                                        <br />
                                                        <div class="xs-12">
                                                            <asp:ValidationSummary HeaderText='<%$ Resources:Content,EM000001%>' ID="ValidationSummary1"
                                                                runat="server" ShowMessageBox="True" ShowSummary="False" ValidationGroup="VPSHosting" />
                                                            <asp:Button ID="Btn_Add" class="btn btn-primary waves-effect btnAction" ValidationGroup="VPSHosting" runat="server"
                                                                Text="<%$ Resources:Content,GN0000659%>" />
                                                            <asp:Button class="btn btn-primary waves-effect" ID="LB_Close" runat="server" CausesValidation="false" Text="<%$ Resources:Content,GN0000572%>" />
                                                        </div>

                                                    </div>
                                                </div>



                                            </div>
                                        </div>

                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                            <EM:TabPanel ID="Tab_AddOns" runat="server" HeaderText="<%$ Resources:Content,GN00001489%>">
                                <ContentTemplate>
                                    <asp:Button CssClass="btn btn-primary waves-effect" ID="Btn_Tab3" runat="server" Style="display: none;" />

                                    <asp:Panel ID="Pnl_TabContent3" runat="server" Visible="false">
                                        <EM:AccountAddons ID="AA_Hosting" runat="server" />
                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                            <EM:TabPanel ID="Tab_Billing" runat="server" HeaderText="<%$ Resources:Content,GN00001490%>">
                                <ContentTemplate>
                                    <asp:Button CssClass="btn btn-primary waves-effect" ID="Btn_Tab4" runat="server" Style="display: none;" />

                                    <asp:Panel ID="Pnl_TabContent4" runat="server" Visible="false">
                                        <EM:AccountStatment ID="AS_Hosting" runat="server"></EM:AccountStatment>
                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                            <EM:TabPanel ID="Tab_IPPool" runat="server" HeaderText="<%$ Resources:Content,HVServer28%>">
                                <ContentTemplate>
                                    <asp:Button CssClass="btn btn-primary waves-effect" ID="Btn_Tab5" runat="server" Style="display: none;" />

                                    <asp:Panel ID="Pnl_TabContent5" runat="server" Visible="false">
                                        <EM:VPSHostingIPSettings ID="VPSHostingIPSettings1" runat="server" OnPrompt="Prompt"></EM:VPSHostingIPSettings>
                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                        </EM:TabContainer>
                    </div>
                </div>
            </div>

        </ContentTemplate>
    </ajax:UpdatePanel>

    <script lang="javascript">
        AllowArrowKeysInFilteredTextBoxExtender('<%=FTE.ClientID%>');
    </script>
</asp:Content>
