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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>
<%@ Register Src="~/Template/GVPager.ascx" TagName="Pager" TagPrefix="EM" %>
<%@ Register Assembly="MachSol.MachPanel.Utility" Namespace="MachSol.MachPanel.Utility" TagPrefix="EM" %>
<%@ Register Assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Namespace="System.Web.UI" TagPrefix="cc1" %>
<%@ Register Src="~/Template/CC/Selectable_Selected_LBX.ascx" TagName="AddSelectableSelected" TagPrefix="EM" %>

<asp:Content ID="Content5" ContentPlaceHolderID="CPH_Content" runat="Server">

    <script type="text/javascript">
        function DBSizeGraph(dataParam, color) {


            var body_color = getCookie('body_color');
            var lblColor = 'black'
            //alert(body_color);
            if (body_color == 'night-mode') {
                lblColor = 'white';
            }
           Morris.Donut({
                element: 'graph',
                data: $.parseJSON(dataParam),
                formatter: function (x) { return x + " GB(s)" },

                backgroundColor: '#FFFFFF',
                labelColor: lblColor,
                colors: [

                  '#52be80',
                  '#FF5733',
                  '#2980b9',
                  '#a569bd',
                  '#f7dc6f',
                  '#e74c3c',
                  '#aeb6bf',
                  '#76d7c4'
                ],

                resize: true
            });
            var parentDivWidth = $("#graph").parent("div").width();
            $("#graph").css("width", parentDivWidth);
            $("#graph > svg:nth-child(1)").css("width", parentDivWidth);
        }

        function MailBoxesInDBs(dataParam) {

            Morris.Bar({
                element: 'graph2',
                data: $.parseJSON(dataParam),
                xkey: 'x',
                ykeys: ['y'],
                labels: ['Mailbox Count'],
                barColors: ['#2980b9', '#FF5733', '#e74c3c', '#a569bd', '#52be80', '#f7dc6f', '#aeb6bf', '#76d7c4'],
                resize: true

            });

            var parentDivWidth = $("#graph2").parent("div").width();
            $("#graph2").css("width", parentDivWidth);
            $("#graph2 > svg:nth-child(1)").css("width", parentDivWidth);
        }

    </script>

    <div class="col-xs-12">
        <div class="card">
            <%--<div class="header">
                <h2>
                    <asp:Literal ID="Ltl_SubsInfo" runat="server" /></h2>
            </div>--%>
            <div class="body">

                <EM:TabContainer ID="TbCntr_ExchDatabases" runat="server" OnClientActiveTabChanged="loadTabPanel" ActiveTabIndex="0">
                    <EM:TabPanel ID="Tab_Databases" runat="server" HeaderText="<%$ Resources:Content,String49%>">
                        <ContentTemplate>
                            <asp:Button ID="Btn_Tab0" runat="server" Style="display: none;" />
                            <asp:Panel ID="Pnl_TabContent0" runat="server">
                                <%--Start Search box--%>
                                <asp:Panel ID="Pnl_Filter" runat="server" DefaultButton="Btn_Filter">
                                    <div class="row">
                                        <div class="panel-group search-panel" id="AS_Databases" role="tablist" aria-multiselectable="true">
                                            <div class="col-xs-12" role="tab" id="SH_Databases">
                                                <div class="card">
                                                    <div class="header" role="button" data-toggle="collapse" data-parent="#AS_Databases" href="#<%= CSB_Databases.ClientID%>" aria-expanded="true" aria-controls="SH_Databases">
                                                        <h3>
                                                            <%= Resources.Content.GN0000395%>
                                                        </h3>
                                                    </div>
                                                    <div id="CSB_Databases" runat="server" class="body panel-collapse collapse" role="tabpanel" aria-labelledby="SH_Databases" aria-expanded="false">
                                                        <div class="row">
                                                            <div class="col-md-3 col-sm-6 col-xs-12">
                                                                <div class="form-group form-float">
                                                                    <asp:DropDownList ID="DDL_ServerGroup" runat="server"></asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="col-xs-12">
                                                                <div class="form-group form-float">
                                                                    <asp:Button ID="Btn_Filter" runat="server" class="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN0000647%>" />
                                                                    <asp:Button ID="Btn_clear" Visible="false" class="btn btn-primary waves-effect" runat="server"
                                                                        Text="<%$ Resources:Content,String289 %>" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </asp:Panel>
                                <%--End search box--%>
                                <%--Start button--%>

                                <div class="row" id="Pnl_Listing" runat="server">
                                    <div class="col-xs-12 Div_OpsRow" id="Div_OpsRow" runat="server">
                                        <div class="card">
                                            <div class="header">
                                                <h3><%= Resources.Content.GN00001320%></h3>
                                            </div>
                                            <div class="body">
                                                <asp:Button ID="BTN_AddDatabase" class="btn btn-primary waves-effect btnAction" runat="server" Text='<%$ Resources:Content,SPT002083 %>' />
                                                <asp:Button ID="btn_GetAvgMailboxSize" class="btn btn-primary waves-effect btnAction" runat="server" Text='<%$ Resources:Content, strSyncMailboxAvgSize %>' />
                                            </div>
                                        </div>
                                    </div>
                                    <%--end button--%>

                                    <div class="col-xs-12" id="divGraph" runat="server">
                                        <div class="col-xs-6">
                                            <h4 class="text-center"><%= Resources.Content.strDatabaseSizeonDisk%></h4>
                                            <div id="graph"></div>
                                            <pre id="code" class="prettyprint linenums">
                                                  </pre>
                                        </div>
                                        <div class="col-xs-6">
                                            <h4 class="text-center"><%= Resources.Content.strMailboxesAllocationOnDatabases%></h4>
                                            <div id="graph2"></div>
                                            <pre id="code2" class="prettyprint linenums">                                            
                                       </pre>
                                        </div>
                                    </div>

                                    <div class="col-xs-12">
                                        <asp:GridView ID="GV_Databases" CssClass="table table-bordered table-striped table-hover" AllowSorting="false" AllowPaging="false"
                                            EmptyDataText='<%$ Resources:Content, GN00001375 %>' runat="server" AutoGenerateColumns="False">

                                            <Columns>
                                                <asp:TemplateField HeaderText='<%$ Resources:Content, SPT002073 %>' HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                    <ItemTemplate>
                                                        <asp:Label ID="LB_DBName" runat="server"></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText='<%$ Resources:Content, strDatabaseSizeonDisk %>' HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                    <ItemTemplate>
                                                        <asp:Label ID="LB_DatabaseSizeonDisk" runat="server"></asp:Label>
                                                        <asp:Label ID="Label8" Text='<%$ Resources:Content, GN0001127 %>' runat="server"></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText='<%$ Resources:Content, DGN1110254 %>' HeaderStyle-CssClass="col-xs-3" ItemStyle-CssClass="col-xs-3">
                                                    <ItemTemplate>
                                                        <asp:Label ID="LB_Server" runat="server"></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText='<%$ Resources:Content, Mounted %>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                    <ItemTemplate>
                                                        <asp:Label ID="LB_Mounted" runat="server"></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText='<%$ Resources:Content, Recovery %>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                    <ItemTemplate>
                                                        <asp:Label ID="LB_IsRecovery" runat="server"></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText='<%$ Resources:Content, DGN1110406 %>' HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                    <ItemTemplate>
                                                        <div class="align-left">
                                                            <asp:Label ID="LB_Current" runat="server" Text='<%$ Resources:Content, strCurrent %>'></asp:Label>:&nbsp;<asp:LinkButton ID="LB_NoOfMailboxes" runat="server" CommandName="Mailbox" />
                                                            <div class="row">
                                                                <div class="col-xs-12 col-sm-6 col-md-5 col-lg-4 row-label p-r-0">
                                                                    <asp:Label ID="LB_Maximum" runat="server" CssClass="font-normal" Text='<%$ Resources:Content, strMax %>'> </asp:Label>:
                                                                </div>
                                                                <div class="col-sm-6 col-xs-12 p-r-0">
                                                                    <div class="input-group">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="TxBx_MaxMailboxes" onblur='ValidCurrMaxLoad(this);' runat="server"></asp:TextBox>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-xs-12  row-label p-r-0">
                                                                    <asp:Label ID="Label16" runat="server" CssClass="font-normal" Text='<%$ Resources:Content, strAverageMailboxSize %>'> </asp:Label>:
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-xs-12  p-r-0">
                                                                    <asp:Label ID="lblAvgMBSize" runat="server" Text="10"></asp:Label>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <%--<div id="Div_MailboxGraph" runat="server" class="quota-graph"></div>--%>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText='<%$ Resources:Content,strArchiveMailboxes %>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                    <ItemTemplate>
                                                        <asp:LinkButton ID="LB_NoOfArchMailboxes" runat="server" CommandName="Archive" />
                                                        <%--<div class="row">
                                                            <div class="col-xs-12 col-sm-6 col-md-5 col-lg-4 row-label p-r-0">
                                                                <asp:Label ID="LBL_NoOfArchMailboxes" runat="server" CssClass="font-normal" Text='<%$ Resources:Content, ExDB02 %>'> </asp:Label>:
                                                            </div>
                                                            <div class="col-sm-6 col-xs-12 p-r-0">
                                                                <div class="input-group">
                                                                    
                                                                </div>
                                                            </div>
                                                            <div class="col-xs-12">
                                                                <div id="Div_ArchMailboxGraph" runat="server" class="quota-graph"></div>
                                                            </div>
                                                        </div>--%>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText='<%$ Resources:Content, GN0000360 %>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1" HeaderStyle-Wrap="false">
                                                    <ItemTemplate>
                                                        <ul class="option-menu">
                                                            <li class="dropdown">
                                                                <a href="javascript:void(0);" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
                                                                    <i class="material-icons">menu</i>
                                                                </a>
                                                                <ul class="dropdown-menu pull-right" id="UL_OptionMenu" runat="server">
                                                                    <li>
                                                                        <asp:LinkButton ID="LB_Manage" CommandName="Manage"
                                                                            runat="server" Text="<%$ Resources:Content,GN0000276%>" /></li>
                                                                    <li>
                                                                        <asp:LinkButton ID="LB_AverageMailboxSize" CommandName="MailboxSize"
                                                                            runat="server" Text="<%$ Resources:Content,strAverageMailboxSize%>" /></li>
                                                                    <li>
                                                                        <asp:LinkButton ID="LB_Remove" CssClass="btnAction" CommandName="RemoveDB"
                                                                            runat="server" Text="<%$ Resources:Content,GN0000278%>" />
                                                                    </li>
                                                                    <EM:ConfirmButtonExtender ID="CBE_Remove" ConfirmText="<%$ Resources:Content,CBE001%>"
                                                                        TargetControlID="LB_Remove" runat="server">
                                                                    </EM:ConfirmButtonExtender>
                                                                </ul>
                                                            </li>
                                                        </ul>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                            </Columns>
                                            <%--PagerTemplate Start--%>
                                            <%--<PagerTemplate>
                                <EM:Pager ID="Pager1" runat="server" />
                            </PagerTemplate>--%>
                                            <%--PagerTemplate End--%>
                                        </asp:GridView>
                                    </div>
                                    <div class="col-xs-12">
                                        <asp:Button ID="Btn_SaveDBs" runat="server" class="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,GN0000281%>" />
                                    </div>
                                </div>
                            </asp:Panel>
                        </ContentTemplate>
                    </EM:TabPanel>
                    <EM:TabPanel ID="Tab_Mailboxes" runat="server" Enabled="false" HeaderText="<%$ Resources:Content,DGN1110429 %>">
                        <ContentTemplate>
                            <asp:Button ID="Btn_Tab1" runat="server" Style="display: none;" />
                            <asp:Panel ID="Pnl_TabContent1" Visible="false" runat="server">
                                <%--Start Search box--%>
                                <asp:Panel ID="Pnl_MBFilter" runat="server" DefaultButton="Btn_MBFilter">
                                    <div class="row">
                                        <div class="panel-group search-panel" id="AS_Mailboxes" role="tablist" aria-multiselectable="true">
                                            <div class="col-xs-12" role="tab" id="SH_Mailboxes">
                                                <div class="card">
                                                    <div class="header" role="button" data-toggle="collapse" data-parent="#AS_Mailboxes" href="#<%= CSB_Mailboxes.ClientID%>" aria-expanded="true" aria-controls="SH_Mailboxes">
                                                        <h3>
                                                            <%= Resources.Content.GN0000395%>
                                                        </h3>
                                                    </div>
                                                    <div id="CSB_Mailboxes" runat="server" class="body panel-collapse collapse" role="tabpanel" aria-labelledby="SH_Mailboxes" aria-expanded="false">
                                                        <div class="row">
                                                            <div class="col-md-3 col-sm-6 col-xs-12">
                                                                <div class="form-group form-float">
                                                                    <asp:DropDownList ID="DDL_MBOwner" runat="server"></asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="col-md-3 col-sm-6 col-xs-12">
                                                                <div class="form-group form-float">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_MBCustomerID" runat="server"></asp:TextBox>
                                                                        <asp:Label ID="Label1" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000715%>" class="form-label"></asp:Label>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="col-md-3 col-sm-6 col-xs-12">
                                                                <div class="form-group form-float">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_MBCustomerName" runat="server"></asp:TextBox>
                                                                        <asp:Label ID="Label9" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000268%>" class="form-label"></asp:Label>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="col-md-3 col-sm-6 col-xs-12">
                                                                <div class="form-group form-float">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_MBOrgName" runat="server"></asp:TextBox>
                                                                        <asp:Label ID="Label11" runat="server" EnableViewState="false" Text="<%$ Resources:Content,DGN1110608%>" class="form-label"></asp:Label>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="col-md-3 col-sm-6 col-xs-12">
                                                                <div class="form-group form-float">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="txtDisplayName" runat="server"></asp:TextBox>
                                                                        <asp:Label ID="Label12" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN00001113%>" class="form-label"></asp:Label>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="col-md-3 col-sm-6 col-xs-12">
                                                                <div class="form-group form-float">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="txtEmailAddress" runat="server"></asp:TextBox>
                                                                        <asp:Label ID="Label15" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000652%>" class="form-label"></asp:Label>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="col-xs-12">
                                                                <div class="form-group form-float">
                                                                    <asp:Button ID="Btn_MBFilter" runat="server" class="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN0000391%>" />
                                                                    <asp:Button ID="Btn_MBClear" Visible="false" class="btn btn-primary waves-effect" runat="server"
                                                                        Text="<%$ Resources:Content,String289 %>" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </asp:Panel>

                                <%--End search box--%>
                                <div class="row">
                                    <div class="col-xs-12">
                                        <EM:MPGridView ID="GV_Mailboxes" CssClass="table table-bordered table-striped table-hover" EmptyDataText='<%$ Resources:Content, GN00001375 %>'
                                            runat="server" AutoGenerateColumns="False" AllowPaging="true">

                                            <Columns>
                                                <asp:TemplateField HeaderText='<%$ Resources:Content,GN0000370 %>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                    <HeaderTemplate>
                                                        <asp:CheckBox runat="server" ID="ChkBx_All" onclick="IncreaseTimer(this.checked, this, 'All');"
                                                            Text=" " class="option-menu" />
                                                    </HeaderTemplate>
                                                    <ItemTemplate>
                                                        <asp:HiddenField ID="HF_MailboxId" runat="server" Value='<%#DataBinder.Eval(Container, "DataItem.MailboxId")%>' />
                                                        <asp:CheckBox ID="ChkBx_All" runat="server" onClick="IncreaseTimer(this.checked, this,'1');" Text=" " CssClass="option-menu" />
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText='<%$ Resources:Content, GN00001113 %>' HeaderStyle-CssClass="col-xs-3" ItemStyle-CssClass="col-xs-3">
                                                    <ItemTemplate>
                                                        <asp:Label ID="Lbl_MBName" runat="server"></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText='<%$ Resources:Content, GN0000652 %>' HeaderStyle-CssClass="col-xs-4" ItemStyle-CssClass="col-xs-4">
                                                    <ItemTemplate>
                                                        <asp:Label ID="Lbl_MBEmail" runat="server"></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText='<%$ Resources:Content, GN0000715 %>' HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2" Visible="false">
                                                    <ItemTemplate>
                                                        <asp:Label ID="Lbl_CustomerID" runat="server"></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText='<%$ Resources:Content, Exh505 %>' HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2" Visible="false">
                                                    <ItemTemplate>
                                                        <asp:Label ID="Lbl_Owner" runat="server"></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                            </Columns>
                                            <%--PagerTemplate Start--%>
                                            <PagerTemplate>
                                                <EM:Pager ID="Pager" runat="server" />
                                            </PagerTemplate>
                                            <%--PagerTemplate End--%>
                                        </EM:MPGridView>
                                    </div>
                                    <div class="col-xs-12">
                                        <asp:Panel ID="Pnl_MBDataBase" runat="server" DefaultButton="Btn_MBChangeDatabase">
                                            <div class="card">
                                                <div class="body">
                                                    <table class="tblNewListing">
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <label>
                                                                    *<asp:Literal ID="Literal4" runat="server" Text="<%$ Resources:Content,DGN0011108%>"
                                                                        EnableViewState="false" />:</label>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:DropDownList ID="DDL_MBMailBoxDatabase" runat="server" data-label="Mailbox Database">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </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,Exch0090%>"
                                                                        EnableViewState="false" />:</label>
                                                            </div>
                                                            <div class="col-sm-9 col-xs-12">
                                                                <div class="row">
                                                                    <div class="col-xs-12">
                                                                        <asp:RadioButton ID="RB_MBSkipMailbox" GroupName="MBMBDB" runat="server" Checked="true" Text="<%$ Resources:Content,Exch0091%>" data-label="Skip Mailbox" /><br />
                                                                        <asp:RadioButton ID="RB_MBSkipMessages" GroupName="MBMBDB" Text="<%$ Resources:Content,Exch0092%>" runat="server" data-label="Skip Messages" />
                                                                    </div>
                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-sm-4 col-xs-6 row-label">
                                                                        <label>
                                                                            *<asp:Literal ID="Literal2" runat="server" Text="<%$ Resources:Content,Exch0093%>"
                                                                                EnableViewState="false" />:</label>
                                                                    </div>
                                                                    <div class="col-sm-2 col-xs-6">
                                                                        <div class="form-group">
                                                                            <div class="form-line">
                                                                                <asp:TextBox ID="TxBx_MBMaxMessagesToSkip" runat="server" Text="<%$ Resources:Content,GN0000665%>" MaxLength="8" data-label="Maximum Number of Messages to Skip"></asp:TextBox>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="col-sm-6 col-xs-6">
                                                                        <asp:Literal ID="Literal16" runat="server" Text="<%$ Resources:Content,Exch0094%>"></asp:Literal>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-xs-12">
                                                                <asp:Button ID="Btn_MBChangeDatabase" CausesValidation="false" runat="server" Text="<%$ Resources:Content,GN0000281%>"
                                                                    class="btn btn-primary waves-effect btnAction" />
                                                            </div>
                                                        </div>
                                                    </table>
                                                </div>
                                            </div>
                                        </asp:Panel>
                                    </div>
                                </div>

                            </asp:Panel>
                        </ContentTemplate>
                    </EM:TabPanel>
                    <EM:TabPanel ID="Tab_ArchiveSettings" runat="server" Enabled="false" HeaderText="<%$ Resources:Content,Exch001 %>">
                        <ContentTemplate>
                            <asp:Button ID="Btn_Tab2" runat="server" Style="display: none;" />
                            <asp:Panel ID="Pnl_TabContent2" Visible="false" runat="server">
                                <%--Start Search box--%>
                                <asp:Panel ID="Pnl_ArFilter" runat="server" DefaultButton="Btn_ArFilter">
                                    <div class="row">
                                        <div class="panel-group search-panel" id="AS_Archive" role="tablist" aria-multiselectable="true">
                                            <div class="col-xs-12" role="tab" id="SH_Archive">
                                                <div class="card">
                                                    <div class="header" role="button" data-toggle="collapse" data-parent="#AS_Archive" href="#<%= CSB_Archive.ClientID%>" aria-expanded="true" aria-controls="SH_Archive">
                                                        <h3>
                                                            <%= Resources.Content.GN0000395%>
                                                        </h3>
                                                    </div>
                                                    <div id="CSB_Archive" runat="server" class="body panel-collapse collapse" role="tabpanel" aria-labelledby="SH_Archive" aria-expanded="false">
                                                        <div class="row">
                                                            <div class="col-md-3 col-sm-6 col-xs-12">
                                                                <div class="form-group form-float">
                                                                    <asp:DropDownList ID="DDL_ArOwners" runat="server"></asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="col-md-3 col-sm-6 col-xs-12">
                                                                <div class="form-group form-float">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_ArCustomerID" runat="server"></asp:TextBox>
                                                                        <asp:Label ID="Label7" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000715%>" class="form-label"></asp:Label>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="col-md-3 col-sm-6 col-xs-12">
                                                                <div class="form-group form-float">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_ArCustomerName" runat="server"></asp:TextBox>
                                                                        <asp:Label ID="Label13" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000268%>" class="form-label"></asp:Label>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="col-md-3 col-sm-6 col-xs-12">
                                                                <div class="form-group form-float">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_ArOrgName" runat="server"></asp:TextBox>
                                                                        <asp:Label ID="Label14" runat="server" EnableViewState="false" Text="<%$ Resources:Content,DGN1110608%>" class="form-label"></asp:Label>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="col-xs-12">
                                                                <div class="form-group form-float">
                                                                    <asp:Button ID="Btn_ArFilter" runat="server" class="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN0000391%>" />
                                                                    <asp:Button ID="Btn_ArClear" Visible="false" class="btn btn-primary waves-effect" runat="server"
                                                                        Text="<%$ Resources:Content,String289 %>" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </asp:Panel>

                                <%--End search box--%>
                                <div class="row">
                                    <div class="col-xs-12">
                                        <EM:MPGridView ID="GV_ArchiveSettings" CssClass="table table-bordered table-striped table-hover" AllowPaging="true" EmptyDataText='<%$ Resources:Content, GN00001375 %>'
                                            runat="server" AutoGenerateColumns="False">

                                            <Columns>
                                                <asp:TemplateField HeaderText='<%$ Resources:Content,GN0000370 %>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                    <HeaderTemplate>
                                                        <asp:CheckBox runat="server" ID="ChkBx_All" onclick="IncreaseTimer(this.checked, this, 'All');"
                                                            Text=" " class="option-menu" />
                                                    </HeaderTemplate>
                                                    <ItemTemplate>
                                                        <asp:HiddenField ID="HF_MailboxId" runat="server" Value='<%#DataBinder.Eval(Container, "DataItem.MailboxId")%>' />
                                                        <asp:CheckBox ID="ChkBx_All" runat="server" onClick="IncreaseTimer(this.checked, this,'1');" Text=" " CssClass="option-menu" />
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText='<%$ Resources:Content, GN00001113 %>' HeaderStyle-CssClass="col-xs-3" ItemStyle-CssClass="col-xs-3">
                                                    <ItemTemplate>
                                                        <asp:Label ID="Lbl_MBName" runat="server"></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText='<%$ Resources:Content, GN0000652 %>' HeaderStyle-CssClass="col-xs-4" ItemStyle-CssClass="col-xs-4">
                                                    <ItemTemplate>
                                                        <asp:Label ID="Lbl_MBEmail" runat="server"></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText='<%$ Resources:Content, GN0000715 %>' HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2" Visible="false">
                                                    <ItemTemplate>
                                                        <asp:Label ID="Lbl_CustomerID" runat="server"></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText='<%$ Resources:Content, Exh505 %>' HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2" Visible="false">
                                                    <ItemTemplate>
                                                        <asp:Label ID="Lbl_Owner" runat="server"></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                            </Columns>
                                            <%--PagerTemplate Start--%>
                                            <PagerTemplate>
                                                <EM:Pager ID="Pager" runat="server" />
                                            </PagerTemplate>
                                            <%--PagerTemplate End--%>
                                        </EM:MPGridView>
                                    </div>
                                    <div class="col-xs-12">
                                        <asp:Panel ID="Pnl_ArDataBase" runat="server" DefaultButton="Btn_ArChangeDatabase">
                                            <div class="card">
                                                <div class="body">
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <label>
                                                                *<asp:Literal ID="Literal54" runat="server" Text="<%$ Resources:Content,String18%>"
                                                                    EnableViewState="false" />:</label>
                                                        </div>
                                                        <div class="col-sm-4 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:DropDownList ID="DDL_ArMailBoxDatabase" runat="server" data-label="Database">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <label>
                                                                *<asp:Literal ID="Literal3" runat="server" Text="<%$ Resources:Content,Exch0090%>"
                                                                    EnableViewState="false" />:</label>
                                                        </div>
                                                        <div class="col-sm-9 col-xs-12">
                                                            <div class="row">
                                                                <div class="col-xs-12">
                                                                    <asp:RadioButton ID="RB_ArSkipMailbox" GroupName="ArMBDB" runat="server" Checked="true" Text="<%$ Resources:Content,Exch0091%>" data-label="Skip Mailbox" /><br />
                                                                    <asp:RadioButton ID="RB_ArSkipMessages" GroupName="ArMBDB" Text="<%$ Resources:Content,Exch0092%>" runat="server" data-label="Skip Messages" />
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-4 col-xs-6 row-label">
                                                                    <label>
                                                                        *<asp:Literal ID="Literal5" runat="server" Text="<%$ Resources:Content,Exch0093%>"
                                                                            EnableViewState="false" />:</label>
                                                                </div>
                                                                <div class="col-sm-2 col-xs-6">
                                                                    <div class="form-group">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="TxBx_ArMaxMessagesToSkip" runat="server" Text="<%$ Resources:Content,GN0000665%>" MaxLength="8" data-label="Maximum number of messages to skip"></asp:TextBox>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="col-sm-6 col-xs-6">
                                                                    <asp:Literal ID="Literal6" runat="server" Text="<%$ Resources:Content,Exch0094%>"></asp:Literal>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-xs-12">
                                                            <asp:Button ID="Btn_ArChangeDatabase" CausesValidation="false" runat="server" Text="<%$ Resources:Content,GN0000281%>"
                                                                class="btn btn-primary waves-effect btnAction" />
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </asp:Panel>
                                    </div>
                                </div>
                            </asp:Panel>
                        </ContentTemplate>
                    </EM:TabPanel>
                    <EM:TabPanel ID="Tab_AdvanceDatabases" runat="server" HeaderText="<%$ Resources:Content,AdvancedManagement%>">
                        <ContentTemplate>
                            <asp:Button ID="Btn_Tab3" runat="server" Style="display: none;" />
                            <asp:Panel ID="Pnl_TabContent3" runat="server" Visible="false">
                                <%--Start Search box--%>
                                <asp:Panel ID="Pnl_AdvanceFilter" runat="server" DefaultButton="Btn_AdvanceFilter">
                                    <div class="row">
                                        <div class="panel-group search-panel" id="AS_AdvanceDatabases" role="tablist" aria-multiselectable="true">
                                            <div class="col-xs-12" role="tab" id="SH_AdvanceDatabases">
                                                <div class="card">
                                                    <div class="header" role="button" data-toggle="collapse" data-parent="#AS_AdvanceDatabases" href="#<%= CSB_AdvanceDatabases.ClientID%>" aria-expanded="true" aria-controls="SH_AdvanceDatabases">
                                                        <h3>
                                                            <%= Resources.Content.GN0000395%>
                                                        </h3>
                                                    </div>
                                                    <div id="CSB_AdvanceDatabases" runat="server" class="body panel-collapse collapse" role="tabpanel" aria-labelledby="SH_AdvanceDatabases" aria-expanded="false">
                                                        <div class="row">
                                                            <div class="col-md-3 col-sm-6 col-xs-12">
                                                                <div class="form-group form-float">
                                                                    <asp:DropDownList ID="DDL_AdvanceServerGroup" runat="server"></asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="col-md-3 col-sm-6 col-xs-12">
                                                                <div class="form-group form-float">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_AdvanceDBNameFilter" runat="server"></asp:TextBox>
                                                                        <asp:Label ID="Label26" runat="server" EnableViewState="false" Text="<%$ Resources:Content,SPT002073%>" class="form-label"></asp:Label>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="col-xs-12">
                                                                <div class="form-group form-float">
                                                                    <asp:Button ID="Btn_AdvanceFilter" runat="server" class="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN0000647%>" />
                                                                    <asp:Button ID="Btn_AdvanceClear" Visible="false" class="btn btn-primary waves-effect" runat="server"
                                                                        Text="<%$ Resources:Content,String289 %>" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </asp:Panel>
                                <%--End search box--%>
                                <%--Start button--%>

                                <div class="row" id="Pnl_AdvanceListing" runat="server">
                                    <div class="col-xs-12 row-label">
                                        <%= Resources.Content.OperationSupportedInExch2013Above %>
                                    </div>
                                    <div class="col-xs-12 Div_OpsRow" id="Div_OpsRow2" runat="server">
                                        <div class="card">
                                            <div class="header">
                                                <h3><%= Resources.Content.GN00001320%></h3>
                                            </div>
                                            <div class="body">
                                                <asp:Button ID="BTN_AddAdvanceDatabase" class="btn btn-primary waves-effect btnAction" runat="server" Text='<%$ Resources:Content,SPT002083 %>' />
                                            </div>
                                        </div>
                                    </div>
                                    <%--end button--%>

                                    <div class="col-xs-12">
                                        <asp:GridView ID="GV_AdvanceDatabases" CssClass="table table-bordered table-striped table-hover" AllowSorting="false" AllowPaging="false"
                                            EmptyDataText='<%$ Resources:Content, GN00001375 %>' runat="server" AutoGenerateColumns="False">

                                            <Columns>
                                                <asp:TemplateField HeaderText='<%$ Resources:Content, SPT002073 %>' HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                    <ItemTemplate>
                                                        <asp:Label ID="LB_DBName" runat="server"></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText='<%$ Resources:Content, DGN1110254 %>' HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                    <ItemTemplate>
                                                        <asp:Label ID="LB_Server" runat="server"></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText='<%$ Resources:Content, DatabaseAvailabilityGroup %>' HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                    <ItemTemplate>
                                                        <asp:Label ID="Lbl_DatabaseAvailabilityGroup" runat="server"></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText='<%$ Resources:Content, ActiveCopyStatus %>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                    <ItemTemplate>
                                                        <asp:Label ID="Lbl_Status" runat="server"></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText='<%$ Resources:Content, strDetails %>' HeaderStyle-CssClass="col-xs-4" ItemStyle-CssClass="col-xs-4">
                                                    <ItemTemplate>
                                                        <table class="table small">
                                                            <tbody>
                                                                <tr>
                                                                    <td class="col-xs-6 row-label">
                                                                        <asp:Label ID="Literal6" runat="server"
                                                                            EnableViewState="false" Text='<%$ Resources:Content,CopyQueueLength%>'></asp:Label>:
                                                                    </td>
                                                                    <td class="col-xs-6">
                                                                        <asp:Label ID="Lbl_CopyQueueLength" runat="server"></asp:Label>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td class="col-xs-6 row-label">
                                                                        <asp:Label ID="Label1" runat="server"
                                                                            EnableViewState="false" Text='<%$ Resources:Content,ReplayQueueLength%>'></asp:Label>:
                                                                    </td>
                                                                    <td class="col-xs-6">
                                                                        <asp:Label ID="Lbl_ReplayQueueLength" runat="server"></asp:Label>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td class="col-xs-6 row-label">
                                                                        <asp:Label ID="Label3" runat="server"
                                                                            EnableViewState="false" Text='<%$ Resources:Content,LastInspectedLogTime%>'></asp:Label>:
                                                                    </td>
                                                                    <td class="col-xs-6">
                                                                        <asp:Label ID="Lbl_LastInspectedLogTime" runat="server"></asp:Label>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td class="col-xs-6 row-label">
                                                                        <asp:Label ID="Label2" runat="server"
                                                                            EnableViewState="false" Text='<%$ Resources:Content,strDatabaseSizeonDisk%>'></asp:Label>:
                                                                    </td>
                                                                    <td class="col-xs-6">
                                                                        <asp:Label ID="Lbl_DatabaseSizeonDisk" runat="server"></asp:Label>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td class="col-xs-6 row-label">
                                                                        <asp:Label ID="Label28" runat="server"
                                                                            EnableViewState="false" Text='<%$ Resources:Content,ContentIndexState%>'></asp:Label>:
                                                                    </td>
                                                                    <td class="col-xs-6">
                                                                        <asp:Label ID="Lbl_ContentIndexState" runat="server"></asp:Label>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td class="col-xs-6 row-label">
                                                                        <asp:Label ID="Label62" runat="server"
                                                                            EnableViewState="false" Text='<%$ Resources:Content,CircularLoggingEnabled%>'></asp:Label>:
                                                                    </td>
                                                                    <td class="col-xs-6">
                                                                        <asp:Label ID="Lbl_CircularLoggingEnabled" runat="server"></asp:Label>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td class="col-xs-6 row-label">
                                                                        <asp:Label ID="Label30" runat="server"
                                                                            EnableViewState="false" Text='<%$ Resources:Content,Mounted%>'></asp:Label>:
                                                                    </td>
                                                                    <td class="col-xs-6">
                                                                        <asp:Label ID="Lbl_Mounted" runat="server"></asp:Label>
                                                                    </td>
                                                                </tr>
                                                            </tbody>
                                                        </table>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText='<%$ Resources:Content, GN0000360 %>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                    <ItemTemplate>
                                                        <ul class="option-menu">
                                                            <li class="dropdown">
                                                                <a href="javascript:void(0);" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
                                                                    <i class="material-icons">menu</i>
                                                                </a>
                                                                <ul class="dropdown-menu pull-right" id="UL_OptionMenu" runat="server">
                                                                    <li>
                                                                        <asp:LinkButton ID="LB_CopyDB" CssClass="btnAction" CommandName="CopyDB"
                                                                            runat="server" Text="<%$ Resources:Content,GN0001159%>" /></li>
                                                                    <li>
                                                                        <asp:LinkButton ID="LB_MountDisMount" CssClass="btnAction" CommandName="MountDisMountDB"
                                                                            runat="server" Text="<%$ Resources:Content,ExDB04%>" /></li>
                                                                    <li>
                                                                        <asp:LinkButton ID="LB_SuspendResume" CssClass="btnAction" CommandName="SuspendResume"
                                                                            runat="server" Text="<%$ Resources:Content,String601%>" /></li>
                                                                    <li>
                                                                        <asp:LinkButton ID="LB_Update" CommandName="UpdateDB" CssClass="btnAction"
                                                                            runat="server" Text="<%$ Resources:Content,GN0000654%>" /></li>
                                                                    <li>
                                                                        <asp:LinkButton ID="LB_Activate" CssClass="btnAction" CommandName="ActivateDB"
                                                                            runat="server" Text="<%$ Resources:Content,GN0000807%>" /></li>
                                                                    <li>
                                                                        <asp:LinkButton ID="LB_Remove" CssClass="btnAction" CommandName="RemoveDB"
                                                                            runat="server" Text="<%$ Resources:Content,GN0000278%>" />
                                                                    </li>
                                                                    <EM:ConfirmButtonExtender ID="CBE_Remove" ConfirmText="<%$ Resources:Content,CBE001%>"
                                                                        TargetControlID="LB_Remove" runat="server">
                                                                    </EM:ConfirmButtonExtender>
                                                                </ul>
                                                            </li>
                                                        </ul>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                            </Columns>
                                            <%--PagerTemplate Start--%>
                                            <%--<PagerTemplate>
                                <EM:Pager ID="Pager1" runat="server" />
                            </PagerTemplate>--%>
                                            <%--PagerTemplate End--%>
                                        </asp:GridView>
                                    </div>
                                    <div class="col-xs-12">
                                        <asp:Button ID="Btn_AdvanceSaveDBs" runat="server" class="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,GN0000281%>" />
                                    </div>
                                </div>

                                <div class="row" id="Pnl_CopyDB" runat="server" visible="false">
                                    <div class="col-xs-12">
                                        <div class="card">
                                            <div class="header">
                                                <h2><%= Resources.Content.AddMailboxDatabaseCopy %></h2>
                                            </div>
                                            <div class="body">
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Label ID="Label27" runat="server" Text="<%$ Resources:Content,SPT002073 %>" EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12" id="Div_DBName" runat="server">
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>*<asp:Label ID="Label29" runat="server" Text="<%$ Resources:Content,SpecifyMailboxServer %>" EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:DropDownList ID="DDL_CopyToDAGServer" runat="server" />
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Label ID="Label32" runat="server" Text="<%$ Resources:Content,ActivationPreference %>" EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:DropDownList ID="DDL_ActivationPreference" runat="server" />
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Label ID="Label31" runat="server" Text="<%$ Resources:Content,ReplayLagTime %>" EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <div class="form-line">
                                                                <asp:TextBox ID="TxBx_ReplayLagTime" runat="server" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Label ID="Label33" runat="server" Text="<%$ Resources:Content,PostponeSeeding %>" EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:CheckBox ID="CB_PostponeSeeding" runat="server" Text="&nbsp;" />
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="row" id="Pnl_UpdateDB" runat="server" visible="false">
                                    <div class="col-xs-12">
                                        <div class="card">
                                            <div class="header">
                                                <h2><%= Resources.Content.UpdateMailboxDatabaseCopy %></h2>
                                            </div>
                                            <div class="body">
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Label ID="Label34" runat="server" Text="<%$ Resources:Content,SPT002073 %>" EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12" id="Div_DBNameUpdate" runat="server">
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Label ID="Label35" runat="server" Text="<%$ Resources:Content,CancelSeed %>" EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:CheckBox ID="CB_CancelSeed" runat="server" Text="&nbsp;" />
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Label ID="Label36" runat="server" Text="<%$ Resources:Content,CatalogOnly %>" EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:CheckBox ID="CB_CatalogOnly" runat="server" Text="&nbsp;" />
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Label ID="Label39" runat="server" Text="<%$ Resources:Content,DatabaseOnly %>" EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:CheckBox ID="CB_DatabaseOnly" runat="server" Text="&nbsp;" />
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Label ID="Label40" runat="server" Text="<%$ Resources:Content,DeleteExistingFiles %>" EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:CheckBox ID="CB_DeleteExistingFiles" runat="server" Text="&nbsp;" />
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Label ID="Label41" runat="server" Text="<%$ Resources:Content,ManualResume %>" EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:CheckBox ID="CB_ManualResume" runat="server" Text="&nbsp;" />
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Label ID="Label37" runat="server" Text="<%$ Resources:Content,MaximumSeedsInParallel %>" EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <div class="form-line">
                                                                <asp:TextBox ID="TxBx_MaximumSeedsInParallel" runat="server" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Label ID="Label42" runat="server" Text="<%$ Resources:Content,NetworkCompressionOverride %>" EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:RadioButtonList ID="RBL_NetworkCompressionOverride" runat="server">
                                                                <asp:ListItem Text="UseDagDefault" Value="0" Selected="True" />
                                                                <asp:ListItem Text="Off" Value="1" />
                                                                <asp:ListItem Text="On" Value="2" />
                                                            </asp:RadioButtonList>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Label ID="Label43" runat="server" Text="<%$ Resources:Content,NetworkEncryptionOverride %>" EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:RadioButtonList ID="RBL_NetworkEncryptionOverride" runat="server">
                                                                <asp:ListItem Text="UseDagDefault" Value="0" Selected="True" />
                                                                <asp:ListItem Text="Off" Value="1" />
                                                                <asp:ListItem Text="On" Value="2" />
                                                            </asp:RadioButtonList>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Label ID="Label38" runat="server" Text="<%$ Resources:Content,NoThrottle %>" EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:CheckBox ID="CB_NoThrottle" runat="server" Text="&nbsp;" />
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Label ID="Label44" runat="server" Text="<%$ Resources:Content,PrimaryDatabasePartitionOnly %>" EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:CheckBox ID="CB_PrimaryDatabasePartitionOnly" runat="server" Text="&nbsp;" />
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Label ID="Label45" runat="server" Text="<%$ Resources:Content,SafeDeleteExistingFiles %>" EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:CheckBox ID="CB_SafeDeleteExistingFiles" runat="server" Text="&nbsp;" />
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Label ID="Label46" runat="server" Text="<%$ Resources:Content,SecondaryDatabasePartitionOnly %>" EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:CheckBox ID="CB_SecondaryDatabasePartitionOnly" runat="server" Text="&nbsp;" />
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="row" id="Pnl_ActivateDB" runat="server" visible="false">
                                    <div class="col-xs-12">
                                        <div class="card">
                                            <div class="header">
                                                <h2><%= Resources.Content.ActivateMailboxDatabaseCopy %></h2>
                                            </div>
                                            <div class="body">
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Label ID="Label47" runat="server" Text="<%$ Resources:Content,SPT002073 %>" EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12" id="Div_DBNameActivate" runat="server">
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>*<asp:Label ID="Label58" runat="server" Text="<%$ Resources:Content,ActivateOnServer %>" EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:DropDownList ID="DDL_ActivateOnServer" runat="server" />
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Label ID="Label53" runat="server" Text="<%$ Resources:Content,MoveComment %>" EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <div class="form-line">
                                                                <asp:TextBox ID="TxBx_MoveComment" runat="server" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Label ID="Label54" runat="server" Text="<%$ Resources:Content,MountDialOverrideSetting %>" EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:RadioButtonList ID="RBL_MountDialOverrideSetting" runat="server">
                                                                <asp:ListItem Text="None" Value="0" Selected="True" />
                                                                <asp:ListItem Text="Lossless" Value="1" />
                                                                <asp:ListItem Text="GoodAvailability" Value="2" />
                                                                <asp:ListItem Text="BestAvailability" Value="3" />
                                                                <asp:ListItem Text="BestEffort" Value="4" />
                                                            </asp:RadioButtonList>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Label ID="Label48" runat="server" Text="<%$ Resources:Content,SkipActiveCopyChecks %>" EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:CheckBox ID="CB_SkipActiveCopyChecks" runat="server" Text="&nbsp;" />
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Label ID="Label49" runat="server" Text="<%$ Resources:Content,SkipClientExperienceChecks %>" EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:CheckBox ID="CB_SkipClientExperienceChecks" runat="server" Text="&nbsp;" />
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Label ID="Label50" runat="server" Text="<%$ Resources:Content,SkipCpuChecks %>" EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:CheckBox ID="CB_SkipCpuChecks" runat="server" Text="&nbsp;" />
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Label ID="Label51" runat="server" Text="<%$ Resources:Content,SkipHealthChecks %>" EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:CheckBox ID="CB_SkipHealthChecks" runat="server" Text="&nbsp;" />
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Label ID="Label52" runat="server" Text="<%$ Resources:Content,SkipLagChecks %>" EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:CheckBox ID="CB_SkipLagChecks" runat="server" Text="&nbsp;" />
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Label ID="Label55" runat="server" Text="<%$ Resources:Content,SkipMaximumActiveDatabasesChecks %>" EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:CheckBox ID="CB_SkipMaximumActiveDatabasesChecks" runat="server" Text="&nbsp;" />
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Label ID="Label56" runat="server" Text="<%$ Resources:Content,SkipMoveSuppressionChecks %>" EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:CheckBox ID="CB_SkipMoveSuppressionChecks" runat="server" Text="&nbsp;" />
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Label ID="Label57" runat="server" Text="<%$ Resources:Content,TerminateOnWarning %>" EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:CheckBox ID="CB_TerminateOnWarning" runat="server" Text="&nbsp;" />
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="row" id="Pnl_SuspendDB" runat="server" visible="false">
                                    <div class="col-xs-12">
                                        <div class="card">
                                            <div class="header">
                                                <h2><%= Resources.Content.SuspendMailboxDatabaseCopy %></h2>
                                            </div>
                                            <div class="body">
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Label ID="Label59" runat="server" Text="<%$ Resources:Content,SPT002073 %>" EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12" id="Div_DBNameSuspend" runat="server">
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Label ID="Label61" runat="server" Text="<%$ Resources:Content,SuspendComment %>" EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <div class="form-line">
                                                                <asp:TextBox ID="TxBx_SuspendComment" runat="server" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Label ID="Label63" runat="server" Text="<%$ Resources:Content,ActivationOnly %>" EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:CheckBox ID="CB_ActivationOnly" runat="server" Text="&nbsp;" />
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Label ID="Label64" runat="server" Text="<%$ Resources:Content,EnableReplayLag %>" EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:CheckBox ID="CB_EnableReplayLag" runat="server" Text="&nbsp;" />
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="row" id="Pnl_ResumeDB" runat="server" visible="false">
                                    <div class="col-xs-12">
                                        <div class="card">
                                            <div class="header">
                                                <h2><%= Resources.Content.ResumeMailboxDatabaseCopy %></h2>
                                            </div>
                                            <div class="body">
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Label ID="Label60" runat="server" Text="<%$ Resources:Content,SPT002073 %>" EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12" id="Div_DBNameResume" runat="server">
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Label ID="Label65" runat="server" Text="<%$ Resources:Content,ReplicationOnly %>" EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:CheckBox ID="CB_ReplicationOnly" runat="server" Text="&nbsp;" />
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Label ID="Label66" runat="server" Text="<%$ Resources:Content,DisableReplayLag %>" EnableViewState="false" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:CheckBox ID="CB_DisableReplayLag" runat="server" Text="&nbsp;" />
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="row" id="Div_GOBack" runat="server" visible="false">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                    </div>
                                <div class="col-sm-9 col-xs-12">
                                    <asp:Button ID="Btn_SaveAdvance" runat="server" class="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,GN0000281%>" />
                                    <asp:Button ID="Btn_CancelAdvance" runat="server" CausesValidation="false" class="btn btn-primary waves-effect"
                                        Text="<%$ Resources:Content,GN0000572%>" />
                                </div>
                                </div>
                            </asp:Panel>
                        </ContentTemplate>
                    </EM:TabPanel>
                </EM:TabContainer>

                <div class="row" id="Pnl_AddDatabases" runat="server" visible="false">
                    <div class="col-xs-12">
                        <div class="card">
                            <div class="header">
                                <h3><%= Resources.Content.ExDB03 %></h3>
                            </div>
                            <div class="body">
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label>*<asp:Label ID="Lbl_MBName" runat="server" Text="<%$ Resources:Content,SPT002073 %>" />:</label>
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <div class="form-group">
                                            <div class="form-line">
                                                <asp:TextBox ID="TxBx_DBName" runat="server" AutoPostBack="true" data-label="Database Name" />
                                                <asp:RequiredFieldValidator ControlToValidate="TxBx_DBName" ID="REQ_TxBx_DBName" runat="server"
                                                    Display="None" ValidationGroup="AddEXDB"></asp:RequiredFieldValidator>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label>
                                            <asp:Label ID="Label25" runat="server" Text="<%$ Resources:Content,M0095 %>" />:</label>
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <div class="form-group">
                                            <asp:DropDownList ID="DDL_ExchServerGroups" runat="server" AutoPostBack="true" data-label="Exchange Server Group" />
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label>
                                            <asp:Label ID="Label17" runat="server" Text="<%$ Resources:Content,GN0001112 %>" />:</label>
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <div class="form-group">
                                            <asp:DropDownList ID="DDL_ExchServers" runat="server" AutoPostBack="true" data-label="Exchange Server" />
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label>*<asp:Label ID="Label18" runat="server" Text="<%$ Resources:Content,ExDB04 %>" />:</label>
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <div class="form-group">
                                            <asp:CheckBox ID="ChBx_Mount" Checked="true" runat="server" Text=" " data-label="Mount Enabled" />
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label>*<asp:Label ID="Label67" runat="server" Text="<%$ Resources:Content,Recovery %>" />:</label>
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <div class="form-group">
                                            <asp:CheckBox ID="ChBx_IsRecovery" runat="server" Text=" " data-label="Recovery Enabled" />
                                        </div>
                                    </div>
                                </div>
                                <div class="row" ID="Div_UP_Clients" runat="server">
                                    <div class="col-xs-12 row-label">
                                        <label>*<asp:Label ID="Label19" runat="server" Text="<%$ Resources:Content,GN0000850 %>" />:</label>
                                    </div>
                                    <div class="col-xs-12 ">
                                        <ajax:UpdatePanel ID="UP_Clients" runat="server">
                                            <ContentTemplate>
                                                <EM:AddSelectableSelected ID="UCClients" runat="server" ClientSideOptimized="true" data-label="Customers" />
                                            </ContentTemplate>
                                        </ajax:UpdatePanel>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label>*<asp:Label ID="Label20" runat="server" Text="<%$ Resources:Content,Exch00901 %>" />:</label>
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <div class="form-group">
                                            <div class="form-line">
                                                <asp:TextBox ID="TxBx_Location" runat="server" data-label="Database File Path" />
                                                <asp:RequiredFieldValidator ControlToValidate="TxBx_Location" ID="RFV_TxBx_Location" runat="server"
                                                    Display="None" ValidationGroup="AddEXDB"></asp:RequiredFieldValidator>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label>*<asp:Label ID="Label21" runat="server" Text="<%$ Resources:Content,Exch00902 %>" />:</label>
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <div class="form-group">
                                            <div class="form-line">
                                                <asp:TextBox ID="TxBx_Log" runat="server" data-label="Log Folder Path" />
                                                <asp:RequiredFieldValidator ControlToValidate="TxBx_Log" ID="RequiredFieldValidator1" runat="server"
                                                    Display="None" ValidationGroup="AddEXDB"></asp:RequiredFieldValidator>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label>*<asp:Label ID="Label22" runat="server" Text="<%$ Resources:Content,Exch002 %>" />:</label>
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <div class="form-group">
                                            <asp:DropDownList ID="DDL_ArchiveDB" runat="server" data-label="Archive Database" />
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label>*<asp:Label ID="Label23" runat="server" Text="<%$ Resources:Content,GN0000183 %>" />:</label>
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <div class="form-group">
                                            <div class="form-line">
                                                <asp:TextBox ID="TxBx_MaxMailboxes" onblur='ValidCurrMaxLoad(this);' runat="server" data-label="Maximum Number of Mailboxes"></asp:TextBox>
                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator24" runat="server" ControlToValidate="TxBx_MaxMailboxes"
                                                    Display="None" SetFocusOnError="True" ValidationGroup="AddEXDB"></asp:RequiredFieldValidator>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label>*<asp:Label ID="Label24" runat="server" Text="<%$ Resources:Content,DGN0011104 %>" />:</label>
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <div class="form-group">
                                            <div class="form-line">
                                                <asp:TextBox ID="TxBx_MailboxLoad" onblur='ValidCurrMaxLoad(this);' runat="server" data-label="Current Number of Mailboxes"></asp:TextBox>
                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator26" runat="server" ControlToValidate="TxBx_MailboxLoad"
                                                    Display="None" SetFocusOnError="True" ValidationGroup="AddEXDB"></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" ValidationGroup="AddEXDB">
                                                </asp:CompareValidator>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-xs-12">
                                        <asp:ValidationSummary ID="VS" runat="server" ShowMessageBox="true" ShowSummary="false"
                                            ValidationGroup="AddEXDB" HeaderText="<%$ Resources:Content,EM000001%>" />
                                        <asp:Button ID="Btn_DatabaseAdd" runat="server" ValidationGroup="AddEXDB" CausesValidation="True"
                                            class="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,GN0000281%>" />
                                        <asp:Button ID="Btn_DatabaseAddClose" runat="server" CausesValidation="false" class="btn btn-primary waves-effect"
                                            Text="<%$ Resources:Content,GN0000572%>" />
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row" id="Pnl_EditDB" runat="server" visible="false">
                    <div class="col-xs-12">
                        <div class="card">
                            <div class="header">
                                <h3><%= Resources.Content.ExDB07 %></h3>
                            </div>
                            <div class="body">
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <asp:Label ID="Label2" runat="server" Text="<%$ Resources:Content,SPT002073 %>" />:
                                    </div>
                                    <div class="col-sm-4 col-xs-12" id="TD_DBNameEdit" runat="server"></div>
                                </div>
                                <div class="row" ID="Div_UP_ClientsEdit" runat="server">
                                    <div class="col-xs-12 row-label">
                                        <label>
                                            <asp:Label ID="Label3" runat="server" Text="<%$ Resources:Content,GN0000850 %>" />:</label>
                                    </div>
                                    <div class="col-xs-12">
                                        <ajax:UpdatePanel ID="UP_ClientsEdit" runat="server">
                                            <ContentTemplate>
                                                <EM:AddSelectableSelected ID="UCClientsEdit" runat="server" ClientSideOptimized="true" data-label="Customers" />
                                            </ContentTemplate>
                                        </ajax:UpdatePanel>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label>*<asp:Label ID="Label4" runat="server" Text="<%$ Resources:Content,ExDB04 %>" />:</label>
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <div class="form-group">
                                            <asp:CheckBox ID="ChBx_MountEdit" runat="server" Text=" " data-label="Mount" />
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label>*<asp:Label ID="Label68" runat="server" Text="<%$ Resources:Content,Recovery %>" />:</label>
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <div class="form-group">
                                            <asp:CheckBox ID="ChBx_IsRecoveryEdit" runat="server" Enabled="false" Text=" " data-label="Recovery Allowed" />
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label>*<asp:Label ID="Label5" runat="server" Text="<%$ Resources:Content,Exch002 %>" />:</label>
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <div class="form-group">
                                            <asp:DropDownList ID="DDL_EditArchiveDB" runat="server" data-label="Personal Archive Database" />
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label>*<asp:Label ID="Label6" runat="server" Text="<%$ Resources:Content,GN0000183 %>" />:</label>
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <div class="form-group">
                                            <div class="form-line">
                                                <asp:TextBox ID="TxBx_EditMaxMailboxes" onblur='ValidCurrMaxLoad(this);' runat="server" data-label="Maximum number of Mailboxes"></asp:TextBox>
                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TxBx_EditMaxMailboxes"
                                                    Display="None" SetFocusOnError="True" ValidationGroup="EditEXDB"></asp:RequiredFieldValidator>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label>*<asp:Label ID="Label10" runat="server" Text="<%$ Resources:Content,DGN0011104 %>" />:</label>
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <div class="form-group">
                                            <div class="form-line">
                                                <asp:TextBox ID="TxBx_EditMailboxLoad" onblur='ValidCurrMaxLoad(this);' runat="server" data-label="Current number of Mailboxes"></asp:TextBox>
                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="TxBx_EditMailboxLoad"
                                                    Display="None" SetFocusOnError="True" ValidationGroup="EditEXDB"></asp:RequiredFieldValidator>
                                                <asp:CompareValidator ID="CompareValidator1" runat="server" SetFocusOnError="true"
                                                    Operator="LessThanEqual" Type="Integer" ControlToCompare="TxBx_EditMaxMailboxes"
                                                    ControlToValidate="TxBx_EditMailboxLoad" ErrorMessage='<%$ Resources:Content,String1042 %>'
                                                    Display="None" ValidationGroup="EditEXDB">
                                                </asp:CompareValidator>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-xs-12">
                                        <asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="true" ShowSummary="false"
                                            ValidationGroup="EditEXDB" HeaderText="<%$ Resources:Content,EM000001%>" />
                                        <asp:Button ID="Btn_Update" ValidationGroup="EditEXDB" runat="server" class="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,GN0000281%>" />
                                        <asp:Button ID="Btn_EditCancel" runat="server" CausesValidation="false" class="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN0000572%>" />
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
