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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>
<asp:Content ID="Content4" ContentPlaceHolderID="CPH_Content" runat="Server">

    <div class="col-xs-12">
        <div class="card">
            <div class="header">
                <h2>
                    <asp:Literal ID="Ltl_SubsInfo" runat="server" /></h2>
            </div>
            <div class="body">
                <div class="row">
                    <div class="col-xs-12">
                        <div class="products-step">
                            <span id="div_s1" runat="server" nowrap="true" class="label label-success">
                                <asp:Literal EnableViewState="false" ID="Literal21" runat="server" Text='<%$ Resources:Content, GN0000970 %>' />
                            </span>
                            <span id="div_s2" runat="server" nowrap="true" class="label label-default">
                                <asp:Literal ID="Literal35" runat="server" EnableViewState="false" Text='<%$ Resources:Content, DGN0011103 %>' />
                            </span>
                        </div>
                    </div>
                </div>
                <div class="row" id="Div_AddGroup" runat="server">
                    <div class="col-xs-12">
                        <asp:Wizard Width="100%" ID="Wizard1" runat="server" CancelButtonType="Button" CancelDestinationPageUrl="~/PCC/Exchange/ExchangeServerGroups.aspx"
                            DisplayCancelButton="True" DisplaySideBar="false" ActiveStepIndex="0">
                            <CancelButtonStyle CssClass="btn btn-primary waves-effect" />
                            <FinishCompleteButtonStyle CssClass="btn btn-primary waves-effect" />
                            <StepPreviousButtonStyle CssClass="btn btn-primary waves-effect" />
                            <StepNextButtonStyle CssClass="btn btn-primary waves-effect" />
                            <StartNextButtonStyle CssClass="btn btn-primary waves-effect" />
                            <FinishPreviousButtonStyle CssClass="btn btn-primary waves-effect" />
                            <WizardSteps>
                                <asp:WizardStep ID="ServerGroup" runat="server" Title="Step 1" StepType="Start">
                                    <div class="row">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <label>*<asp:Literal ID="Literal4" runat="server" Text='<%$ Resources:Content,GN0000971 %>' EnableViewState="false" />:</label>
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <div class="form-group">
                                                <div class="form-line">
                                                    <asp:TextBox ID="TxBx_Name" runat="server" MaxLength="350" data-label="Server Group Name"></asp:TextBox>
                                                </div>
                                            </div>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator29" runat="server" ControlToValidate="TxBx_Name"
                                                Display="None" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <label>
                                                <asp:Literal ID="Literal37" runat="server" Text='<%$ Resources:Content,DGN1110096 %>' EnableViewState="false" />:</label>
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <div class="form-group">
                                                <asp:DropDownList ID="DDL_ExchangeProvider" AutoPostBack="true" runat="server" data-label="Exchange Provider">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <label>
                                                <asp:Literal ID="Literal43" runat="server" Text='<%$ Resources:Content,M0105 %>' EnableViewState="false" />:</label>
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <div class="form-group">
                                                <asp:DropDownList ID="DDL_ADDomains" AutoPostBack="true" runat="server" data-label="AD Domains">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row" id="Tr_ResellerLDAP" runat="server">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <label>*<asp:Literal ID="Literal44" runat="server" Text='<%$ Resources:Content,DGN1110437 %>' EnableViewState="false" />:</label>
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <div class="form-group">
                                                <div class="form-line">
                                                    <asp:TextBox ID="TxBx_DefResellerLDAPURL" runat="server" Text="<%$ Resources:Content,L0092 %>" data-label="LDAP Url"></asp:TextBox>
                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="TxBx_DefResellerLDAPURL"
                                                        Display="None" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                                    <asp:RegularExpressionValidator ID="REV_LDAP" runat="server" Display="None" ControlToValidate="TxBx_DefResellerLDAPURL"
                                                        SetFocusOnError="true" Enabled="false" ValidationExpression="<%$Resources:Content,LDAPValidationExpression%>"
                                                        ErrorMessage="<%$Resources:Content,DEV1054%>"></asp:RegularExpressionValidator>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <label>
                                                <asp:Literal ID="Literal12" runat="server" Text='<%$ Resources:Content,DGN1110432 %>' EnableViewState="false" />:</label>
                                        </div>

                                        <div class="col-sm-4 col-xs-12">
                                            <div class="form-group">
                                                <div class="form-line">
                                                    <asp:TextBox ID="TxBx_PDC" runat="server" data-label="Preferred DomainController"></asp:TextBox>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-sm-5 col-xs-12">
                                            <asp:Literal ID="Literal13" runat="server" Text='<%$ Resources:Content,CommaSeparatedMultiValue %>' EnableViewState="false" />
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <label>
                                                <asp:Literal ID="Literal45" runat="server" Text='<%$ Resources:Content,GN0000973 %>' EnableViewState="false" />:</label>
                                        </div>
                                        <div class="col-sm-4 col-xs-12">

                                            <asp:DropDownList ID="RBL_FillStyle" runat="server" data-label="Fill Style">
                                                <asp:ListItem Text='<%$ Resources:Content,GN0000974%>' Value="1" Selected="True"></asp:ListItem>
                                                <asp:ListItem Text='<%$ Resources:Content,GN0000975%>' Value="2"></asp:ListItem>
                                            </asp:DropDownList>

                                        </div>
                                    </div>
                                    <div class="row" id="TR_AutoProvisioning" runat="server">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <label>*<asp:Literal ID="Literal46" runat="server" Text='<%$ Resources:Content,GN0000978 %>' EnableViewState="false" />:</label>
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <div class="form-group">
                                                <asp:CheckBox ID="ChBx_AutoProvision" runat="server" Checked="True" Text=" " data-label="Auto Provision Enabled" />
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <label>*<asp:Literal ID="Literal8" runat="server" Text='<%$ Resources:Content,GN000195 %>' EnableViewState="false" />:</label>
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <div class="form-group">
                                                <asp:CheckBox ID="ChBx_IsEnabled" runat="server" Checked="True" Text=" " data-label="Enabled" />
                                            </div>
                                        </div>
                                    </div>

                                    <div class="row">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <label>*<asp:Literal ID="Literal26" runat="server" Text='<%$ Resources:Content,String0001 %>' EnableViewState="false" />:</label>
                                        </div>
                                        <div class="col-sm-1 col-xs-12">
                                            <div class="form-group">
                                                <asp:CheckBox ID="CB_OverRideCredentials" AutoPostBack="true" runat="server" Checked="False" Text=" " data-label="Override Domain Credentials" />
                                            </div>
                                        </div>
                                        <div class="col-sm-8 col-xs-12">
                                            <asp:Literal ID="Literal1800" runat="server" Text='<%$ Resources:Content,String0002 %>'
                                                EnableViewState="false" />
                                        </div>
                                    </div>
                                    <div class="row" id="Tbl_Credentials" runat="server" visible="false">
                                        <div class="col-xs-12">
                                            <div class="card">
                                                <div class="header">
                                                    <h3><%= Resources.Content.String12 %></h3>
                                                </div>
                                                <div class="body">
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <label>
                                                                *<asp:Literal ID="Literal15" runat="server" Text="<%$ Resources:Content,DGN1110434 %>"
                                                                    EnableViewState="false"></asp:Literal>:</label>
                                                        </div>
                                                        <div class="col-sm-4 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_DomainAdminlogin" runat="server" MaxLength="100" data-label="Domain Admin Login"></asp:TextBox>
                                                                    <asp:RequiredFieldValidator ID="RFV_DomainAdminlogin" runat="server" ControlToValidate="TxBx_DomainAdminlogin"
                                                                        Display="None" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                                                    <asp:RegularExpressionValidator ID="REV_DomainAdminLogin" runat="server" ControlToValidate="TxBx_DomainAdminlogin"
                                                                        Display="None" ErrorMessage="Enter admin name only without domain" ValidationExpression="^_?[a-zA-Z][a-zA-Z0-9-._]+$"></asp:RegularExpressionValidator>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <label>
                                                                *<asp:Literal ID="Literal18" runat="server" Text="<%$ Resources:Content,DGN1110435 %>"
                                                                    EnableViewState="false"></asp:Literal>:</label>
                                                        </div>
                                                        <div class="col-sm-4 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_DomAdminpassword" TextMode="Password" runat="server" MaxLength="100" data-label="Domain Admin Password" data-secure="1"></asp:TextBox>

                                                                    <asp:RequiredFieldValidator ID="RFV_DomAdminpassword" runat="server" ControlToValidate="TxBx_DomAdminpassword"
                                                                        Display="None" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <%--<div class="col-sm-5 col-xs-12">
                                                            <asp:CheckBox ID="CB_Show" runat="server" Text="<%$ Resources:Content,FAM0049 %>" />
                                                        </div>--%>
                                                    </div>
                                                    <%--<div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <label>
                                                                *<asp:Literal ID="Literal19" runat="server" Text="<%$ Resources:Content,GN0001196 %>"
                                                                    EnableViewState="false"></asp:Literal>:</label>
                                                        </div>
                                                        <div class="col-sm-4 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_CPass" TextMode="Password" runat="server" MaxLength="100"></asp:TextBox>
                                                                    <asp:CompareValidator ID="CompareValidator3" runat="server" ControlToCompare="TxBx_DomAdminpassword"
                                                                        ErrorMessage="<%$ Resources:Content,DGN1110005 %>" ControlToValidate="TxBx_CPass"
                                                                        Display="None"></asp:CompareValidator>
                                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="TxBx_CPass"
                                                                        Display="None" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>--%>
                                                </div>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="row clearfix">
                                        <div class="col-xs-12">
                                            <div class="card">
                                                <div class="header">
                                                    <h3>
                                                        <%= Resources.Content.strAdditionalSettings%>
                                                    </h3>
                                                </div>
                                                <div id="CSB_ProviderDomain" runat="server" class="body">
                                                    <div class="panel-body">
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <label>
                                                                    *<asp:Literal ID="Literal22" runat="server" Text='<%$ Resources:Content,DB011 %>'
                                                                        EnableViewState="false" />:</label>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_ProviderAccessDomain" Text="" runat="server" MaxLength="200" data-label="Paltform Access Domain"></asp:TextBox>
                                                                        <%--<asp:RequiredFieldValidator ID="RF_DomTra" runat="server" ControlToValidate="TxBx_ProviderAccessDomain" Display="None" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                                                        <asp:RegularExpressionValidator ID="RE_DomTra" runat="server" ErrorMessage='<%$Resources:Content,DGN1110154%>'
                                                                            SetFocusOnError="True" ControlToValidate="TxBx_ProviderAccessDomain" ValidationExpression="<%$ Resources:Content,REV001 %>"
                                                                            Display="None"></asp:RegularExpressionValidator>--%>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <label>
                                                                    *<asp:Literal ID="Literal9" runat="server" Text='<%$ Resources:Content,Exch00090 %>'
                                                                        EnableViewState="false" />:</label>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_AutoDiscoverURL" Text="" runat="server" MaxLength="500" data-label="Auto Discover Url"></asp:TextBox>
                                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" ControlToValidate="TxBx_AutoDiscoverURL" Display="None" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <%--<div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <label>
                                                                    <asp:Literal ID="Literal33" runat="server" Text='<%$ Resources:Content,String401 %>'
                                                                        EnableViewState="false" />:</label>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_AutodiscoverredirectURL" Text="" runat="server" MaxLength="500"></asp:TextBox>
                                                                        
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>--%>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <label>
                                                                    *<asp:Literal ID="Literal47" runat="server" Text='<%$ Resources:Content,strMXRecord %>'
                                                                        EnableViewState="false" />:</label>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_MXRecord" Text="" runat="server" MaxLength="1000" data-label="MX Record"></asp:TextBox>
                                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="TxBx_MXRecord" Display="None" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">Comma, separated MX record values</div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <label>
                                                                    <asp:Literal ID="Literal1" runat="server" Text='<%$ Resources:Content,strSPFValue %>'
                                                                        EnableViewState="false" />:</label>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_SenderPolicyFrameworkAddress" Text="" runat="server" MaxLength="1000" data-label="SPF Value"></asp:TextBox>

                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <label>
                                                                    *<asp:Literal ID="Literal48" runat="server" Text='<%$ Resources:Content,Exch00091 %>'
                                                                        EnableViewState="false" />:</label>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_OWAURL" Text="" runat="server" MaxLength="500" data-label="OWA Url"></asp:TextBox>
                                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" ControlToValidate="TxBx_OWAURL" Display="None" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <label>
                                                                    *<asp:Literal ID="Literal49" runat="server" Text='<%$ Resources:Content,Exch00092 %>'
                                                                        EnableViewState="false" />:</label>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_OutlookAnywhereURL" Text="" runat="server" MaxLength="500" data-label="Outlook Anywhere Url"></asp:TextBox>
                                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="TxBx_OutlookAnywhereURL" Display="None" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <label>
                                                                    <asp:Literal ID="Literal50" runat="server" Text='<%$ Resources:Content,Exch00093 %>'
                                                                        EnableViewState="false" />:</label>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_IncomingmailAddress" Text="" runat="server" MaxLength="500" data-label="Incoming Email Address"></asp:TextBox>

                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <label>
                                                                    <asp:Literal ID="Literal51" runat="server" Text='<%$ Resources:Content,Exch00094 %>'
                                                                        EnableViewState="false" />:</label>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_OutgoingMailAddress" Text="" runat="server" MaxLength="500" data-label="Outgoing Email Address"></asp:TextBox>

                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <label>
                                                                    <asp:Literal ID="Literal23" runat="server" Text='<%$ Resources:Content,Exch00095 %>'
                                                                        EnableViewState="false" />:</label>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_ExchangeProxysetting" Text="" runat="server" MaxLength="500" data-label="Exchange Proxy Setting"></asp:TextBox>

                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row hide">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <label>
                                                                    <asp:Literal ID="Literal24" runat="server" Text='<%$ Resources:Content,Exch00096 %>'
                                                                        EnableViewState="false" />:</label>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_OutlookdownloadURL" Text="" runat="server" MaxLength="500" data-label="Outlook Download Url"></asp:TextBox>

                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row hide">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <label>
                                                                    <asp:Literal ID="Literal25" runat="server" Text='<%$ Resources:Content,Exch00097 %>'
                                                                        EnableViewState="false" />:</label>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_EntouragedownloadURL" Text="" runat="server" MaxLength="500" data-label="Entourage Download Url"></asp:TextBox>

                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <%--<div class="panel-group" id="AS_ProviderDomain" role="tablist" aria-multiselectable="true">
                                        <div class="panel panel-primary">
                                            <div class="panel-heading" role="tab" id="SH_ProviderDomain">
                                                <h2 class="panel-title">
                                                    <a role="button" data-toggle="collapse" data-parent="#AS_ProviderDomain" href="#ctl00_CPH_Content_Wizard1_CSB_ProviderDomain"
                                                        aria-expanded="true" aria-controls="ctl00_CPH_Content_Wizard1_CSB_ProviderDomain" class="collapsed"><%= Resources.Content.strAdditionalSettings%>
                                                    </a>
                                                </h2>
                                            </div>

                                        </div>
                                    </div>--%>

                                    <asp:ValidationSummary HeaderText='<%$ Resources:Content,EM000001 %>' ID="ValidationSummary1"
                                        runat="server" ShowMessageBox="True" ShowSummary="False" />
                                </asp:WizardStep>
                                <asp:WizardStep ID="WizardStep1" runat="server" Title="Step 2" StepType="Finish">
                                    <div class="row">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <label>*<asp:Literal ID="Literal16" runat="server" Text='<%$ Resources:Content,DGN1110019 %>' EnableViewState="false" />:</label>
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <div class="form-group">
                                                <div class="form-line">
                                                    <asp:TextBox ID="TxBx_ReferenceId" runat="server" MaxLength="50" data-label="Reference ID"></asp:TextBox>
                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TxBx_ReferenceId"
                                                        Display="None" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row" id="Tr_OABDistributionOptions" runat="server">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <label>
                                                <asp:Literal ID="Literal17" runat="server" Text='<%$ Resources:Content,String259 %>' EnableViewState="false" />:</label>
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <div class="form-group">
                                                <asp:DropDownList ID="DDL_VDir" runat="server" data-label="OAB Distribution Option">
                                                    <asp:ListItem Text="<%$ Resources:Content,L0094 %>" Value="1"></asp:ListItem>
                                                    <asp:ListItem Text="<%$ Resources:Content,SM014 %>" Value="2"></asp:ListItem>
                                                    <asp:ListItem Text="<%$ Resources:Content,L0095 %>" Value="0"></asp:ListItem>
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <label>*<asp:Literal ID="Literal27" runat="server" Text='<%$ Resources:Content,DGN0011105 %>' EnableViewState="false" />:</label>
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <div class="form-group">
                                                <div class="form-line">
                                                    <asp:TextBox ID="TxBx_ServerAlias" runat="server" MaxLength="50" data-label="Server Alias"></asp:TextBox>
                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TxBx_ServerAlias"
                                                        Display="None" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <label>*<asp:Literal ID="Literal28" runat="server" Text='<%$ Resources:Content,SPT002376 %>' EnableViewState="false" />:</label>
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <div class="form-group">
                                                <div class="form-line">
                                                    <asp:TextBox ID="TxBx_IPAddress" Text="" runat="server" data-label="IP Address"></asp:TextBox>
                                                    <asp:RequiredFieldValidator ID="RFV_IPAddress" runat="server" ControlToValidate="TxBx_IPAddress"
                                                        Display="None" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                                    <asp:RegularExpressionValidator ID="RegularExpressionValidator5" runat="server" ControlToValidate="TxBx_IPAddress"
                                                        Display="None" SetFocusOnError="true" ErrorMessage="<%$ Resources:Content,String176 %>"
                                                        ValidationExpression="<%$ Resources:Content,ValidateIP%>" />

                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <label>*<asp:Literal ID="Literal29" runat="server" Text='<%$ Resources:Content,String558 %>' EnableViewState="false" />:</label>
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <div class="form-group">
                                                <asp:TextBox ID="TxBx_DAGServers" TextMode="MultiLine" Height="150px" Width="100%" runat="server" data-label="DAG Servers"></asp:TextBox>
                                                <EM:FilteredTextBoxExtender FilterType="Custom" ValidChars="0123456789.," ID="FilteredTextBoxExtender1"
                                                    runat="server" TargetControlID="TxBx_DAGServers" />
                                            </div>
                                        </div>
                                        <div class="col-sm-5 col-xs-12">
                                            <asp:Literal ID="Literal38" runat="server" Text="<%$Resources:Content,String559%>" EnableViewState="false"></asp:Literal>
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <label>*<asp:Literal ID="Literal30" runat="server" Text='<%$ Resources:Content,String373 %>' EnableViewState="false" />:</label>
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <div class="form-group">
                                                <div class="form-line">
                                                    <asp:TextBox ID="TxBx_ServerName" runat="server" data-label="Remote Server FQDN"></asp:TextBox>
                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="TxBx_ServerName"
                                                        Display="None" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-sm-5 col-xs-12">
                                            <asp:Button ID="Btn_GetDatabases" runat="server" class="btn btn-primary waves-effect btnAction" Text='<%$ Resources:Content,DGN0011107 %>'
                                                CausesValidation="false" />
                                            <br />
                                            <asp:Literal ID="Literal3" runat="server" Text='<%$ Resources:Content,DGN0011102 %>'
                                                EnableViewState="false"></asp:Literal>
                                        </div>
                                    </div>
                                    <%-- <div class="row" id="tr_Databases" runat="server" visible="false">
                                        <div class="col-xs-12">
                                            <div class="card">
                                                <div class="header">
                                                    <h3><%= Resources.Content.DGN0011108 %></h3>
                                                </div>
                                                <div class="body">
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal1" runat="server" Text='<%$ Resources:Content,DGN0011108 %>' EnableViewState="false"> </asp:Literal>
                                                        </div>
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal2" runat="server" Text='<%$ Resources:Content,Exch002 %>' EnableViewState="false"> </asp:Literal>
                                                        </div>
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal6" runat="server" Text='<%$ Resources:Content,GN0000183 %>' EnableViewState="false"> </asp:Literal>
                                                        </div>
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal7" runat="server" Text='<%$ Resources:Content,DGN0011104 %>' EnableViewState="false"> </asp:Literal>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <asp:Repeater ID="Rep_DataBases" runat="server">
                                                            <ItemTemplate>
                                                                <div class="col-sm-3 col-xs-12">
                                                                    <asp:Literal ID="Ltl_DBName" runat="server" EnableViewState="true"> </asp:Literal>
                                                                    <asp:HiddenField ID="HF_DBDetail" runat="server" />
                                                                </div>
                                                                <div class="col-sm-3 col-xs-12">

                                                                    <asp:DropDownList ID="DDL_ArchiveDB" CssClass="ArchiveDBs" runat="server"></asp:DropDownList>
                                                                    <asp:HiddenField ID="HF_ArchiveDB" Value="0" runat="server" />

                                                                </div>
                                                                <div class="col-sm-3 col-xs-12">
                                                                    <div class="form-group">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="TxBx_MaxMailboxes" onblur='ValidCurrMaxLoad(this);' runat="server"></asp:TextBox>
                                                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator24" runat="server" ControlToValidate="TxBx_MaxMailboxes"
                                                                                Display="None" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="col-sm-3 col-xs-12">
                                                                    <div class="form-group">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="TxBx_MailboxLoad" onblur='ValidCurrMaxLoad(this);' runat="server"></asp:TextBox>
                                                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator26" runat="server" ControlToValidate="TxBx_MailboxLoad"
                                                                                Display="None" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                                                            <asp:CompareValidator ID="CFV_TxBx_CNOMailbox" runat="server" SetFocusOnError="true"
                                                                                Operator="LessThanEqual" Type="Integer" ControlToCompare="TxBx_MaxMailboxes"
                                                                                ControlToValidate="TxBx_MailboxLoad" ErrorMessage='<%$ Resources:Content,String1042 %>'
                                                                                Display="None">
                                                                            </asp:CompareValidator>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </ItemTemplate>
                                                        </asp:Repeater>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>--%>
                                    <div class="row">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <label>*<asp:Literal ID="Literal31" runat="server" Text='<%$ Resources:Content,String374 %>' EnableViewState="false" />:</label>
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <div class="form-group">
                                                <asp:TextBox ID="TxBx_RPCProxyServer" TextMode="MultiLine" Height="150px" Width="100%"
                                                    runat="server" MaxLength="1000" data-label="CAS Internal FQDN"></asp:TextBox>
                                                <asp:RequiredFieldValidator ID="RFV_TxBx_RPCProxyServer" runat="server" ControlToValidate="TxBx_RPCProxyServer"
                                                    Display="None" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                            </div>
                                        </div>
                                        <div class="col-sm-5 col-xs-12">
                                            <asp:Literal ID="Literal1223" runat="server" Text='<%$ Resources:Content,String00999 %>'
                                                EnableViewState="false"></asp:Literal>
                                        </div>
                                    </div>
                                    <div class="row" id="Tr_PFServer" runat="server">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <label>*<asp:Literal ID="Literal32" runat="server" Text='<%$ Resources:Content,Exch025 %>' EnableViewState="false" />:</label>
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <div class="form-group">
                                                <div class="form-line">
                                                    <asp:TextBox ID="TxBx_PFServerFQDN" MaxLength="100" runat="server" data-label="Public Folder Server FQDN"></asp:TextBox>
                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="TxBx_PFServerFQDN"
                                                        Display="None" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row" id="Tr_PFDB" runat="server">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <label>*<asp:Literal ID="Literal52" runat="server" Text='<%$ Resources:Content,Exch0036 %>' EnableViewState="false" />:</label>
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <div class="form-group">
                                                <asp:DropDownList ID="DDL_PFDBName" CssClass="PFDBs" runat="server" data-label="Public Folder Database" />
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row" id="Tr_ManageDns" runat="server">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <label>*<asp:Literal ID="Lbl_ManageDns" runat="server" Text='<%$ Resources:Content,String399 %>' EnableViewState="false" />:</label>
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <div class="form-group">
                                                <asp:CheckBox ID="CB_ManageDns" runat="server" AutoPostBack="true" Checked="false" Text=" " data-label="Manage DNS Enabled" />
                                            </div>
                                        </div>
                                    </div>
                                    <br />
                                    <div class="card" id="Tbl_ManageDNS" visible="false" runat="server">
                                        <div class="header">
                                            <h3><%= Resources.Content.String399 %></h3>
                                        </div>
                                        <div class="body">
                                            <div class="row">
                                                <div class="col-sm-3 col-xs-12 row-label">
                                                    <label>
                                                        <asp:Literal ID="Literal5" runat="server" Text='<%$ Resources:Content,String400%>'
                                                            EnableViewState="false"></asp:Literal>:</label>
                                                </div>
                                                <div class="col-sm-4 col-xs-12">
                                                    <div class="form-group">
                                                        <asp:DropDownList ID="ddl_DnsServer" runat="server" data-label="Primary DNS Server" />
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row">
                                                <div class="col-sm-3 col-xs-12 row-label">
                                                    <label>
                                                        <asp:Literal ID="Literal10" runat="server" Text='<%$ Resources:Content,SPT002165%>'
                                                            EnableViewState="false"></asp:Literal>:</label>
                                                </div>
                                                <div class="col-sm-4 col-xs-12">
                                                    <div class="form-group">
                                                        <asp:DropDownList ID="DDL_ADNSTemplate" runat="server" data-label="DNS Template" />
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row">
                                                <div class="col-sm-3 col-xs-12 row-label">
                                                    <label>
                                                        *<asp:Literal ID="Literal11" runat="server" Text='<%$ Resources:Content,Ex0023%>'
                                                            EnableViewState="false"></asp:Literal>:</label>
                                                </div>
                                                <div class="col-sm-4 col-xs-12">
                                                    <div class="form-group">
                                                        <div class="form-line">
                                                            <asp:TextBox ID="TxBx_PublicIP" Text="" runat="server" MaxLength="50" data-label="CAS server/CAS array public IP"></asp:TextBox>
                                                            <asp:RequiredFieldValidator ID="RFV_PublicIP" runat="server" ControlToValidate="TxBx_PublicIP"
                                                                Display="None" SetFocusOnError="True"></asp:RequiredFieldValidator>

                                                            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="TxBx_PublicIP"
                                                                Display="None" SetFocusOnError="true" ErrorMessage="<%$ Resources:Content,String176 %>"
                                                                ValidationExpression="<%$ Resources:Content,ValidateIP%>">
                                                            </asp:RegularExpressionValidator>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>

                                    <asp:ValidationSummary ID="ValidationSum_1" runat="server" HeaderText='<%$ Resources:Content,EM000001 %>'
                                        ShowMessageBox="True" ShowSummary="False" />
                                </asp:WizardStep>
                            </WizardSteps>
                        </asp:Wizard>
                    </div>
                </div>
            </div>
        </div>

        <%-- <script language="javascript" type="text/javascript">

            function UpdateSelectedDB(SelectedValue, HF) {

                document.getElementById(HF).value = SelectedValue;
                //$('#'+HF).parent().find($('select')).selectpicker('refresh');

            }

            function FillDbs() {

                var $options = $(".PFDBs > option").clone();

                if ($options != 'undefined') {

                    $("select.ArchiveDBs").each(function () {

                        for (l = 0; l < $options.length; l += 1) {

                            $(this).options[l + 1] = new Option($options[l].text, $options[l].value);

                        }

                        $(this).val($(this).parent().find($('input[type=hidden]').val()));

                        $(this).selectpicker('refresh');

                    });
                }

            }

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