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

<%@ Register Assembly="MachSol.MachPanel.Utility" Namespace="MachSol.MachPanel.Utility" TagPrefix="EM" %>

<%@ Register Src="~/Template/GVPager.ascx" TagName="Pager" TagPrefix="EM" %>
<%@ Register Src="~/RCC/Clients/CC/ExH.ascx" TagName="ExH" TagPrefix="EM" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>
<%@ Register Src="CC/MBDetail.ascx" TagName="MailBoxDetail" TagPrefix="EM" %>
<%@ Register Src="~/RCC/Exchange/CC/AddEditSpamDomain.ascx" TagName="AddEditSpamDomain" TagPrefix="EM" %>
<%@ Register Src="CC/AddMailbox.ascx" TagName="AddMailbox" TagPrefix="EM" %>
<%@ Register Src="CC/MBGroupOperation.ascx" TagName="MBGroupOperation" TagPrefix="EM" %>
<%@ Register Src="CC/MailContactDetail.ascx" TagName="MailContactDetail" TagPrefix="EM" %>
<%@ Register Src="CC/SMTPDomain.ascx" TagName="SMTPDomain" TagPrefix="EM" %>
<%@ Register Src="CC/DistributionListDetail.ascx" TagName="DistributionListDetail" TagPrefix="EM" %>
<%@ Register Src="CC/MobilePolicy.ascx" TagName="MobilePolicy" TagPrefix="EM" %>
<%@ Register Src="CC/Retention.ascx" TagName="Retention" TagPrefix="EM" %>
<%@ Register Src="CC/AccountGroupActions.ascx" TagName="AccountGroupActions" TagPrefix="EM" %>
<%@ Register Src="CC/GroupActions.ascx" TagName="GroupActions" TagPrefix="EM" %>
<%@ Register Src="CC/Disclaimer.ascx" TagName="Disclaimer" TagPrefix="EM" %>
<%@ Register Src="CC/Signatures.ascx" TagName="Signatures" TagPrefix="EM" %>
<%@ Register Src="CC/TransportRules.ascx" TagName="TransportRules" TagPrefix="EM" %>
<%@ Register Src="CC/PublicFolder.ascx" TagName="PublicFolder" TagPrefix="EM" %>
<%@ Register Src="~/RCC/Exchange/CC/SPAMFilters.ascx" TagName="SPAMFilters" TagPrefix="EM" %>
<%@ Register Assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Namespace="System.Web.UI" TagPrefix="cc1" %>
<%@ Register Src="CC/BulkMailContact.ascx" TagName="BulkMailContact" TagPrefix="EM" %>
<%@ Register Src="CC/BulkDistributionList.ascx" TagName="BulkDistributionList" TagPrefix="EM" %>
<%@ Register Src="CC/EmailPolicy.ascx" TagName="EmailPolicy" TagPrefix="EM" %>
<%@ Register Src="~/RCC/Exchange/CC/AddEditMBTemplate.ascx" TagName="AddEditMBTemplate" TagPrefix="UC" %>
<%@ Register Src="~/RCC/Exchange/CC/Impersonation.ascx" TagName="Impersonation" TagPrefix="UC" %>
<%@ Register Src="~/Template/CC/Selectable_Selected_LBX.ascx" TagName="AddSelectableSelected" TagPrefix="EM" %>
<%@ Register Src="~/Template/ResourcesQuota.ascx" TagName='ResourceQuota' TagPrefix='EM' %>
<%@ Register Src="~/RCC/Exchange/CC/Contacts.ascx" TagName="Contacts" TagPrefix="EM" %>
<%@ Register Src="~/RCC/Exchange/CC/DLGroupActions.ascx" TagName="DLGroupActions" TagPrefix="EM" %>
<%@ Register Src="~/RCC/Exchange/CC/Journaling.ascx" TagName="Journaling" TagPrefix="EM" %>
<%@ Register Src="~/RCC/Exchange/CC/InPlaceHold.ascx" TagName="InPlaceHold" TagPrefix="EM" %>
<%@ Register Src="~/RCC/Exchange/CC/LH.ascx" TagName="LH" TagPrefix="EM" %>
<%@ Register Src="~/RCC/Exchange/CC/ImportRecipientSettings.ascx" TagPrefix="UC" TagName="ImportRecipientSettings" %>
<%@ Register Src="~/RCC/Exchange/CC/MailboxTemplates.ascx" TagPrefix="UC" TagName="MailboxTemplates" %>
<%@ Register Src="~/RCC/Exchange/CC/MailUsers.ascx" TagPrefix="UC" TagName="MailUsers" %>
<%@ Register Src="~/PCC/Exchange/CC/AddEditOWAPolicy.ascx" TagName="AddEditOWAPolicy" TagPrefix="UC" %>
<%@ Register Src="~/Template/CC/VirtualDropDownList.ascx" TagName="VirtualDropDownList" TagPrefix="EM" %>

<asp:Content ID="Content4" ContentPlaceHolderID="CPH_Content" runat="Server">
    <%--<asp:UpdatePanel ID="UPTest01" runat="server">
        <ContentTemplate>--%>

    <style type="text/css">
        .ajax__tab_default .ajax__tab_header /* this makes the tabs wrap*/ {
            white-space: normal !important;
        }

        .domain-options input[type="radio"] {
            vertical-align: top;
            margin-top: 7px;
        }

        .domain-options td {
            padding-bottom: 10px;
        }

        .domain-options label {
            max-width: 98%;
        }
    </style>

    <script type="text/javascript" src="/JS/google/charts/loader.min.js"></script>

    <script type="text/javascript">

        function validateDomains(TB) {
            var TXT = document.getElementById(TB);
            var TXTvalue = TXT.value;
            TXTvalue = TXTvalue.replace(/ /g, '');
            var regexp = /^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\.)+[a-z0-9][a-z0-9-]{0,61}[a-z0-9]$/g;
            var domains = TXTvalue.split(',');
            var result = '';
            var ErrorMsg = '';

            if (TXTvalue != '') {
                var i = 0;
                for (i = 0; i < domains.length; i++) {
                    //if (domains[i] == domains[i].match(regexp))
                    if (convertToASCIIAndValidate(domains[i], regexp))
                        result = result + domains[i] + ',';
                    else
                        ErrorMsg = ErrorMsg + domains[i] + ',';
                }

                result = result.replace(/,\s*$/, "");
                //if (result != '')
                TXT.value = result;

                ErrorMsg = ErrorMsg.replace(/,\s*$/, "");
                if (ErrorMsg != '')
                    alert('Removed invalid domains: ' + ErrorMsg);
            }
        }

        function validateEmails(TB) {
            var TXT = document.getElementById(TB);
            var TXTvalue = TXT.value;
            TXTvalue = TXTvalue.replace(/ /g, '');
            var regexp = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/g;
            var emails = TXTvalue.split(',');
            var result = '';
            var ErrorMsg = '';

            if (TXTvalue != '') {
                var i = 0;
                for (i = 0; i < emails.length; i++) {
                    //if (emails[i] == emails[i].match(regexp))
                    if (convertToASCIIAndValidate(emails[i], regexp))
                        result = result + emails[i] + ',';
                    else
                        ErrorMsg = ErrorMsg + emails[i] + ',';
                }

                result = result.replace(/,\s*$/, "");
                //if (result != '')
                TXT.value = result;

                ErrorMsg = ErrorMsg.replace(/,\s*$/, "");
                if (ErrorMsg != '')
                    alert('Removed invalid emails: ' + ErrorMsg.replace(/,\s*$/, ""));
            }
        }

        function validateIPs(TB) {
            var TXT = document.getElementById(TB);
            var TXTvalue = TXT.value;
            TXTvalue = TXTvalue.replace(/ /g, '');
            //var regexp = /^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/g;
            //var regexpIpv6 = /^(?:(?:(?:(?:(?:(?:(?:[0-9a-fA-F]{1,4})):){6})(?:(?:(?:(?:(?:[0-9a-fA-F]{1,4})):(?:(?:[0-9a-fA-F]{1,4})))|(?:(?:(?:(?:(?:25[0-5]|(?:[1-9]|1[0-9]|2[0-4])?[0-9]))\.){3}(?:(?:25[0-5]|(?:[1-9]|1[0-9]|2[0-4])?[0-9])))))))|(?:(?:::(?:(?:(?:[0-9a-fA-F]{1,4})):){5})(?:(?:(?:(?:(?:[0-9a-fA-F]{1,4})):(?:(?:[0-9a-fA-F]{1,4})))|(?:(?:(?:(?:(?:25[0-5]|(?:[1-9]|1[0-9]|2[0-4])?[0-9]))\.){3}(?:(?:25[0-5]|(?:[1-9]|1[0-9]|2[0-4])?[0-9])))))))|(?:(?:(?:(?:(?:[0-9a-fA-F]{1,4})))?::(?:(?:(?:[0-9a-fA-F]{1,4})):){4})(?:(?:(?:(?:(?:[0-9a-fA-F]{1,4})):(?:(?:[0-9a-fA-F]{1,4})))|(?:(?:(?:(?:(?:25[0-5]|(?:[1-9]|1[0-9]|2[0-4])?[0-9]))\.){3}(?:(?:25[0-5]|(?:[1-9]|1[0-9]|2[0-4])?[0-9])))))))|(?:(?:(?:(?:(?:(?:[0-9a-fA-F]{1,4})):){0,1}(?:(?:[0-9a-fA-F]{1,4})))?::(?:(?:(?:[0-9a-fA-F]{1,4})):){3})(?:(?:(?:(?:(?:[0-9a-fA-F]{1,4})):(?:(?:[0-9a-fA-F]{1,4})))|(?:(?:(?:(?:(?:25[0-5]|(?:[1-9]|1[0-9]|2[0-4])?[0-9]))\.){3}(?:(?:25[0-5]|(?:[1-9]|1[0-9]|2[0-4])?[0-9])))))))|(?:(?:(?:(?:(?:(?:[0-9a-fA-F]{1,4})):){0,2}(?:(?:[0-9a-fA-F]{1,4})))?::(?:(?:(?:[0-9a-fA-F]{1,4})):){2})(?:(?:(?:(?:(?:[0-9a-fA-F]{1,4})):(?:(?:[0-9a-fA-F]{1,4})))|(?:(?:(?:(?:(?:25[0-5]|(?:[1-9]|1[0-9]|2[0-4])?[0-9]))\.){3}(?:(?:25[0-5]|(?:[1-9]|1[0-9]|2[0-4])?[0-9])))))))|(?:(?:(?:(?:(?:(?:[0-9a-fA-F]{1,4})):){0,3}(?:(?:[0-9a-fA-F]{1,4})))?::(?:(?:[0-9a-fA-F]{1,4})):)(?:(?:(?:(?:(?:[0-9a-fA-F]{1,4})):(?:(?:[0-9a-fA-F]{1,4})))|(?:(?:(?:(?:(?:25[0-5]|(?:[1-9]|1[0-9]|2[0-4])?[0-9]))\.){3}(?:(?:25[0-5]|(?:[1-9]|1[0-9]|2[0-4])?[0-9])))))))|(?:(?:(?:(?:(?:(?:[0-9a-fA-F]{1,4})):){0,4}(?:(?:[0-9a-fA-F]{1,4})))?::)(?:(?:(?:(?:(?:[0-9a-fA-F]{1,4})):(?:(?:[0-9a-fA-F]{1,4})))|(?:(?:(?:(?:(?:25[0-5]|(?:[1-9]|1[0-9]|2[0-4])?[0-9]))\.){3}(?:(?:25[0-5]|(?:[1-9]|1[0-9]|2[0-4])?[0-9])))))))|(?:(?:(?:(?:(?:(?:[0-9a-fA-F]{1,4})):){0,5}(?:(?:[0-9a-fA-F]{1,4})))?::)(?:(?:[0-9a-fA-F]{1,4})))|(?:(?:(?:(?:(?:(?:[0-9a-fA-F]{1,4})):){0,6}(?:(?:[0-9a-fA-F]{1,4})))?::))))$/g;

            var regexp = /^([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))?$/g;
            var regexpIpv6 = /^s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3}))|:)))(%.+)?s*(\/([0-9]|[1-9][0-9]|1[0-1][0-9]|12[0-8]))?$/g;

            var ipAddresses = TXTvalue.split(',');
            var result = '';
            var ErrorMsg = '';

            if (TXTvalue != '') {
                var i = 0;
                for (i = 0; i < ipAddresses.length; i++) {
                    if (ipAddresses[i] == ipAddresses[i].match(regexp))
                        result = result + ipAddresses[i] + ',';
                    else if (ipAddresses[i] == ipAddresses[i].match(regexpIpv6))
                        result = result + ipAddresses[i] + ',';
                    else
                        ErrorMsg = ErrorMsg + ipAddresses[i] + ',';
                }

                result = result.replace(/,\s*$/, "");
                //if (result != '')
                TXT.value = result;

                ErrorMsg = ErrorMsg.replace(/,\s*$/, "");
                if (ErrorMsg != '')
                    alert('Removed invalid Ips: ' + ErrorMsg.replace(/,\s*$/, ""));
            }
        }
    </script>
    <%--Disable Back Button--%>
    <script type="text/javascript">
        //http://jsbin.com/yaqaho/edit?js,output
        (function (global) {

            if (typeof (global) === "undefined") {
                throw new Error("window is undefined");
            }

            var _hash = "!";
            var noBackPlease = function () {
                global.location.href += "#";

                // making sure we have the fruit available for juice....
                // 50 milliseconds for just once do not cost much (^__^)
                global.setTimeout(function () {
                    global.location.href += "!";
                }, 50);
            };

            // Earlier we had setInerval here....
            global.onhashchange = function () {
                if (global.location.hash !== _hash) {
                    global.location.hash = _hash;
                }
            };

            global.onload = function () {

                noBackPlease();

                // disables backspace on page except on input fields and textarea..
                document.body.onkeydown = function (e) {
                    var elm = e.target.nodeName.toLowerCase();
                    if (e.which === 8 && (elm !== 'input' && elm !== 'textarea')) {
                        e.preventDefault();
                    }
                    // stopping event bubbling up the DOM tree..
                    e.stopPropagation();
                };

            };

        })(window);
    </script>
    <asp:UpdatePanel ID="up_exaccountdetail" runat="server" ChildrenAsTriggers="true" UpdateMode="always">
        <ContentTemplate>
            <div class="col-xs-12">
                <div class="card">
                    <div class="header">
                        <h2>
                            <asp:Literal ID="Ltl_SubsInfo" runat="server" /></h2>
                    </div>
                    <div class="body">
                        <asp:Button ID="Btn_RefreshTab" CssClass="RefreshTab" runat="server" Style="display: none;" />
                        <EM:TabContainer ID="TC_ExchangeAccounts" runat="server" OnClientActiveTabChanged="loadTabPanel">
                            <EM:TabPanel ID="Tab_GeneralSettings" runat="server" HeaderText='<%$ Resources:Content,SM400028%>'>
                                <ContentTemplate>
                                    <asp:Button ID="Btn_Tab0" runat="server" Style="display: none;" />
                                    <asp:Panel ID="Pnl_TabContent0" runat="server">
                                        <%-- #General Settings--%>
                                        <div class="row Div_OpsRow" id="Tbl_Ops" runat="server">
                                            <div class="col-xs-12">
                                                <div class="card">
                                                    <div class="header">
                                                        <h3>
                                                            <%= Resources.Content.GN00001320%>      <%--Operations--%>
                                                        </h3>
                                                    </div>
                                                    <div class="body">
                                                        <asp:Button ID="Btn_PutOnHold" runat="server" CssClass="btn btn-primary waves-effect btnAction" Text='<%$ Resources:Content,GN0000756%>' Visible='false' />
                                                        <asp:Button ID="Btn_Migration" CommandArgument="0" runat="server" CssClass="btn btn-primary waves-effect btnAction" Text='<%$ Resources:Content,GN001%>' />
                                                        <asp:Button ID="Btn_ExportMailboxPermissions" runat="server" CssClass="btn btn-primary waves-effect btnAction" Text='<%$ Resources:Content,ExportMailboxPermissions%>' />
                                                        <asp:Button ID="Btn_SyncFromBackEnd" CommandArgument="0" runat="server" CssClass="btn btn-primary waves-effect btnAction" Text='<%$ Resources:Content,MP0034%>' />
                                                        <EM:ConfirmButtonExtender ID="CBE_Sync" ConfirmText="<%$ Resources:Content,MP00909%>" TargetControlID="Btn_SyncFromBackEnd" runat="server">
                                                        </EM:ConfirmButtonExtender>

                                                        <asp:Button ID="Lb_Forwarding" CommandArgument="0" runat="server" CssClass="btn btn-primary waves-effect btnAction" Text='<%$ Resources:Content,ExportMailboxForwarding%>' />
                                                        <asp:Button ID="Btn_ImportRecipientSettings" runat="server" CssClass="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,StrUpdateRecipientSettings %>" />
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <EM:ExH ID="ExH" runat="server" />
                                        <div class="row" id="TBL_LHEnable" runat="server">
                                            <div class="col-xs-12">
                                                <div class="card">
                                                    <div class="header">
                                                        <h3>
                                                            <asp:Literal ID="Literal5" runat="server" Text="<%$ Resources:Content,Exch0901%>" EnableViewState="false"></asp:Literal></h3>
                                                    </div>
                                                    <div class="body">
                                                        <div class="row">
                                                            <div class="col-sm-2 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal6" runat="server" Text='<%$ Resources:Content,FAM0081 %>'
                                                                    EnableViewState="false" />:
                                                            </div>
                                                            <div class="col-sm-10 col-xs-12">
                                                                <asp:Label ID="Lbl_LHDuration" Text="" runat="server"></asp:Label>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-2 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal7" runat="server" Text='<%$ Resources:Content,FAM00122 %>'
                                                                    EnableViewState="false" />:
                                                            </div>
                                                            <div class="col-sm-10 col-xs-12">
                                                                <asp:Label ID="Lbl_LHDate" Text="" runat="server"></asp:Label>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="row" id="Tbl_Adv" runat="server">
                                            <div class="col-xs-12">
                                                <div class="card">
                                                    <div class="header">
                                                        <h3>
                                                            <asp:Literal ID="Literal84" runat="server" Text="<%$ Resources:Content,DGN1110279%>" EnableViewState="false"></asp:Literal></h3>
                                                    </div>
                                                    <div class="body">
                                                        <div class="row">
                                                            <div class="col-sm-2 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal81" runat="server" Text='<%$ Resources:Content,Exch00090 %>'
                                                                    EnableViewState="false" />:
                                                            </div>
                                                            <div class="col-sm-10 col-xs-12">
                                                                <asp:Label ID="Lbl_AutoDiscoverURL" Text="" runat="server"></asp:Label>
                                                            </div>
                                                        </div>
                                                        <%--<div class="row">
                                                            <div class="col-sm-2 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal2" runat="server" Text='<%$ Resources:Content,String401 %>'
                                                                    EnableViewState="false" />:
                                                            </div>
                                                            <div class="col-sm-10 col-xs-12">
                                                                <asp:Label ID="Lbl_AutodiscoverredirectURL" Text="" runat="server"></asp:Label>
                                                            </div>
                                                        </div>--%>
                                                        <div class="row">
                                                            <div class="col-sm-2 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal15" runat="server" Text='<%$ Resources:Content,String402 %>'
                                                                    EnableViewState="false" />:
                                                            </div>
                                                            <div class="col-sm-10 col-xs-12">
                                                                <asp:Label ID="Lbl_MXRecord" Text="" runat="server"></asp:Label>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-2 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal63" runat="server" Text='<%$ Resources:Content,SenderPolicyFrameworkAddress %>'
                                                                    EnableViewState="false" />:
                                                            </div>
                                                            <div class="col-sm-10 col-xs-12">
                                                                <asp:Label ID="Lbl_SenderPolicyFrameworkAddress" Text="" runat="server"></asp:Label>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-2 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal16" runat="server" Text='<%$ Resources:Content,Exch00091 %>'
                                                                    EnableViewState="false" />:
                                                            </div>
                                                            <div class="col-sm-10 col-xs-12">
                                                                <asp:Label ID="Lbl_OWAURL" Text="" runat="server"></asp:Label>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-2 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal19" runat="server" Text='<%$ Resources:Content,Exch00092 %>'
                                                                    EnableViewState="false" />:
                                                            </div>
                                                            <div class="col-sm-10 col-xs-12">
                                                                <asp:Label ID="Lbl_OutlookAnywhereURL" Text="" runat="server"></asp:Label>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-2 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal20" runat="server" Text='<%$ Resources:Content,Exch00093 %>'
                                                                    EnableViewState="false" />:
                                                            </div>
                                                            <div class="col-sm-10 col-xs-12">
                                                                <asp:Label ID="Lbl_IncomingmailAddress" Text="" runat="server"></asp:Label>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-2 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal21" runat="server" Text='<%$ Resources:Content,Exch00094 %>'
                                                                    EnableViewState="false" />:
                                                            </div>
                                                            <div class="col-sm-10 col-xs-12">
                                                                <asp:Label ID="Lbl_OutgoingMailAddress" Text="" runat="server"></asp:Label>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-2 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal22" runat="server" Text='<%$ Resources:Content,Exch00095 %>'
                                                                    EnableViewState="false" />:
                                                            </div>
                                                            <div class="col-sm-10 col-xs-12">
                                                                <asp:Label ID="Lbl_ExchangeProxysetting" Text="" runat="server"></asp:Label>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-2 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal23" runat="server" Text='<%$ Resources:Content,Exch00096 %>'
                                                                    EnableViewState="false" />:
                                                            </div>
                                                            <div class="col-sm-10 col-xs-12">
                                                                <asp:Label ID="Lbl_OutlookdownloadURL" Text="" runat="server"></asp:Label>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-2 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal24" runat="server" Text='<%$ Resources:Content,Exch00097 %>'
                                                                    EnableViewState="false" />:
                                                            </div>
                                                            <div class="col-sm-10 col-xs-12">
                                                                <asp:Label ID="Lbl_EntouragedownloadURL" Text="" runat="server"></asp:Label>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                            <EM:TabPanel ID="Tab_ExchangeMailDomains" runat="server" HeaderText='<%$ Resources:Content, L0050 %>'>
                                <ContentTemplate>
                                    <asp:Button ID="Btn_Tab1" runat="server" Style="display: none;" />
                                    <asp:Panel ID="Pnl_TabContent1" runat="server" Visible="false">
                                        <div class="row" id="Pnl_SMTPDomain" runat="server">
                                            <div class="col-xs-12">
                                                <asp:GridView CssClass="table table-bordered table-striped table-hover" EmptyDataText='<%$ Resources:Content, GN00001375 %>'
                                                    ID="GV_Domains" runat="server" AutoGenerateColumns="false" AllowPaging="true">

                                                    <Columns>
                                                        <asp:TemplateField HeaderText='<%$ Resources:Content,DGN1110516%>' HeaderStyle-CssClass="col-xs-5">
                                                            <ItemTemplate>
                                                                <asp:LinkButton ID="LB_DomainName" runat="server"></asp:LinkButton>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText='<%$ Resources:Content,GN0000673%>' HeaderStyle-CssClass="col-xs-2">
                                                            <ItemTemplate>
                                                                <asp:Label ID="Lbl_Type" runat="server"></asp:Label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText='<%$ Resources:Content,GN000171%>' HeaderStyle-CssClass="col-xs-1">
                                                            <ItemTemplate>
                                                                <asp:Label ID="img_IsDefaultDomain" runat="server" />
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText='<%$ Resources:Content,Verified%>' HeaderStyle-CssClass="col-xs-1">
                                                            <ItemTemplate>
                                                                <asp:HyperLink ID="HL_IsVerified" runat="server"></asp:HyperLink>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText='<%$ Resources:Content,GN0000360%>' HeaderStyle-CssClass="col-xs-4">
                                                            <ItemTemplate>
                                                                <asp:LinkButton ID="LB_SetDefault" Text='<%$ Resources:Content,DGN1110332%>' CssClass="btn btn-primary waves-effect btnAction" CommandName="SetDefault" runat="server" />
                                                                <asp:LinkButton ID="LB_ManageDNS" Text='<%$ Resources:Content,SPT002263%>' CssClass="btn btn-primary waves-effect" CommandName="ManageDNS" runat="server" />
                                                                <asp:LinkButton ID="LB_ValidateDNS" Text='<%$ Resources:Content,ValidateDNS%>' CssClass="btn btn-primary waves-effect btnAction" CommandName="ValidateDNS" runat="server" />
                                                                <asp:LinkButton ID="LB_Delete" Text='<%$ Resources:Content,GN0000377%>' CssClass="btn btn-primary waves-effect btnAction" CommandName="DeleteRow" runat="server" />
                                                                <EM:ConfirmButtonExtender ID="CBE_Remove" ConfirmText="<%$ Resources:Content,CBE001%>"
                                                                    TargetControlID="LB_Delete" runat="server">
                                                                </EM:ConfirmButtonExtender>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                    </Columns>
                                                    <%--PagerTemplate Start--%>
                                                    <PagerTemplate>
                                                        <EM:Pager ID="Pager1" runat="server" />
                                                    </PagerTemplate>
                                                    <%--PagerTemplate End--%>
                                                </asp:GridView>
                                            </div>
                                            <%-- Information--%>
                                            <div class="col-xs-12">
                                                <asp:Panel ID="Pnl_addDomain" runat="server" DefaultButton="Btn_AddNewDmn">
                                                    <div class="card">
                                                        <div class="header">
                                                            <h3>
                                                                <asp:Label ID="Label16" runat="server" Text='<%$ Resources:Content,String288%>' EnableViewState="false"></asp:Label></h3>
                                                        </div>
                                                        <div class="body">
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <label>
                                                                        *                                                   
                                                                <asp:Literal ID="Literal9" runat="server" EnableViewState="false" Text='<%$ Resources:Content,DGN1110545%>'></asp:Literal>:</label>
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="TxBx_DomainName" runat="server" data-label="Domain Name"></asp:TextBox>
                                                                            <asp:RequiredFieldValidator ID="RFV_DomainName" runat="server" ControlToValidate="TxBx_DomainName"
                                                                                ValidationGroup="Dom" SetFocusOnError="true" Display="None" ErrorMessage="<%$ Resources:Content,String1039%>"></asp:RequiredFieldValidator>

                                                                            <%--<asp:RegularExpressionValidator ID="REV_Domain" runat="server" ValidationGroup="Dom"
                                                                                ControlToValidate="TxBx_DomainName" ErrorMessage="Please enter a valid domain name."
                                                                                Display="None" ValidationExpression="<%$ Resources:Content,REV001 %>"></asp:RegularExpressionValidator>--%>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <%--<asp:CheckBox ID="ChBx_IsDefaultDomain" runat="server" Text='<%$ Resources:Content,GN000166%>' />--%>
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <label>
                                                                        *                                                   
                                                                <asp:Literal ID="Literal111" runat="server" EnableViewState="false" Text='<%$ Resources:Content,GN0000673%>'></asp:Literal>:</label>
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <asp:DropDownList ID="DDL_DomainType" runat="server" AutoPostBack="true" data-label="Domain Type" />
                                                                    </div>
                                                                </div>
                                                            </div>

                                                            <div class="row" id="Div_SmartHost" runat="server" visible="false">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <label>
                                                                        *                                                   
                                                                <asp:Literal ID="Literal66" runat="server" EnableViewState="false" Text='<%$ Resources:Content,strSmartHost%>'></asp:Literal>:</label>
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <div class="form-line">
                                                                            <asp:DropDownList ID="DDL_SmartHost" AutoPostBack="true" runat="server" data-label="Smart Host"></asp:DropDownList>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>

                                                            <div id="TR_AddEditSpamDomain" runat="server">
                                                                <EM:AddEditSpamDomain ID="AddEditSpamDomain" runat="server" />
                                                            </div>
                                                            <div class="row" id="Div_OSSTargetMXList" runat="server" visible="false">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <label>
                                                                        *&nbsp;<asp:Literal ID="Literal70" runat="server" EnableViewState="false" Text='<%$ Resources:Content,OSSTargetMXList %>'></asp:Literal>:</label>
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="TxBx_OSSTargetMXList" runat="server" data-label="Target MX List"></asp:TextBox>
                                                                        </div>
                                                                    </div>
                                                                    <asp:RequiredFieldValidator ID="RFV_TxBx_OSSTargetMXList" runat="server" ControlToValidate="TxBx_OSSTargetMXList"
                                                                        Enabled="false" ValidationGroup="Dom" SetFocusOnError="true" Display="None" ErrorMessage="<%$ Resources:Content,EM000001%>"></asp:RequiredFieldValidator>
                                                                </div>
                                                                <div class="col-sm-5 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal71" runat="server" EnableViewState="false" Text='<%$ Resources:Content,OSSMXRecordsNotice %>'></asp:Literal>
                                                                </div>
                                                            </div>
                                                            <div class="row" id="Div_RequireTLS" runat="server" visible="false">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <label>
                                                                        <asp:Literal ID="Literal87" runat="server" EnableViewState="false" Text='<%$ Resources:Content,RequireTLS%>'></asp:Literal>:</label>
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <div>
                                                                            <asp:CheckBox ID="CB_RequireTLS" runat="server" Text=" " Enabled="false" data-label="Require TLS" />
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-xs-12">
                                                                    <asp:ValidationSummary ID="VS_Domain" runat="server" ValidationGroup="Dom" ShowMessageBox="true"
                                                                        ShowSummary="false" />

                                                                    <asp:Button ID="Btn_AddNewDmn" ValidationGroup="Dom" runat="server" Text="<%$ Resources:Content,DGN1110426%>"
                                                                        CssClass="btn btn-primary waves-effect btnAction" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </asp:Panel>
                                            </div>
                                        </div>
                                        <div class="row" id="Pnl_EditDomain" runat="server" visible="false">
                                            <div class="col-xs-12">
                                                <div class="card">
                                                    <div class="header">
                                                        <div class="displayInlineBlock">
                                                            <h2><%= Resources.Content.Lync305%></h2>
                                                        </div>
                                                        <asp:LinkButton ID="LB_DomainListing" runat="server" Text="<%$ Resources:Content,DGN1110542 %>" CausesValidation="false"
                                                            CssClass="btn btn-primary waves-effect pull-right m-t--4px" />
                                                    </div>
                                                    <div class="body">
                                                        <EM:SMTPDomain ID="SMTPDomain1" runat="server" />
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                            <%-- Mailboxes--%>
                            <EM:TabPanel ID="Tab_Mailboxes" runat="server" HeaderText="<%$ Resources:Content,DGN1110406%>">
                                <ContentTemplate>
                                    <asp:Button ID="Btn_Tab2" runat="server" Style="display: none;" />
                                    <asp:Panel ID="Pnl_TabContent2" runat="server" Visible="false">
                                        <%--Mailboxes Listing--%>
                                        <asp:Panel ID="Pnl_Mailboxes" runat="server">
                                            <%--Search Option--%>
                                            <asp:Panel ID="Pnl_Search" runat="server" DefaultButton="Btn_SrchMB">
                                                <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">
                                                                                <div class="form-line">
                                                                                    <asp:TextBox ID="TxBx_DisplayName" runat="server" MaxLength="200"></asp:TextBox>
                                                                                    <asp:Label ID="Label32" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN00001113%>" CssClass="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_UPN" runat="server" MaxLength="100"></asp:TextBox>
                                                                                    <asp:Label ID="Label34" runat="server" EnableViewState="false" Text="<%$ Resources:Content,UPNorEmail%>" CssClass="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_SAM" runat="server" MaxLength="100"></asp:TextBox>
                                                                                    <asp:Label ID="Label35" runat="server" EnableViewState="false" Text="<%$ Resources:Content,strSAMAccountName%>" CssClass="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_Address" runat="server" MaxLength="200"></asp:TextBox>
                                                                                    <asp:Label ID="Label36" runat="server" EnableViewState="false" Text="<%$ Resources:Content,strAddress%>" CssClass="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_City" runat="server" MaxLength="70"></asp:TextBox>
                                                                                    <asp:Label ID="Label37" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000880%>" CssClass="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">
                                                                                    <td>
                                                                                        <asp:TextBox ID="TxBx_State" runat="server" MaxLength="70"></asp:TextBox>
                                                                                        <asp:Label ID="Lbl_State" runat="server" EnableViewState="false" Text="<%$ Resources:Content,DEV1130%>" CssClass="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_Zip" runat="server" MaxLength="40"></asp:TextBox>
                                                                                    <asp:Label ID="Label38" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN00001081%>" CssClass="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_Phone" runat="server" MaxLength="80"></asp:TextBox>
                                                                                    <asp:Label ID="Label40" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN00012%>" CssClass="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_JobTitle" runat="server" MaxLength="80"></asp:TextBox>
                                                                                    <asp:Label ID="Label5" runat="server" EnableViewState="false" Text="<%$ Resources:Content,DGN1110358%>" CssClass="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_Company" runat="server" MaxLength="80"></asp:TextBox>
                                                                                    <asp:Label ID="Label7" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN00001134%>" CssClass="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_Department" runat="server" MaxLength="80"></asp:TextBox>
                                                                                    <asp:Label ID="Label17" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000374%>" CssClass="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_Office" runat="server" MaxLength="80"></asp:TextBox>
                                                                                    <asp:Label ID="Label19" runat="server" EnableViewState="false" Text="<%$ Resources:Content,DGN1110359%>" CssClass="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_MailboxTemplate" runat="server" MaxLength="80"></asp:TextBox>
                                                                                    <asp:Label ID="Label1" runat="server" EnableViewState="false" Text="<%$ Resources:Content,Exch806%>" CssClass="form-label"></asp:Label>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                        <div class="col-md-3 col-sm-6 col-xs-12">
                                                                            <div class="form-group form-float">
                                                                                <asp:DropDownList ID="Ddl_Country" runat="server"></asp:DropDownList>
                                                                            </div>
                                                                        </div>

                                                                        <div class="col-md-3 col-sm-6 col-xs-12">
                                                                            <div class="form-group form-float">
                                                                                <asp:DropDownList ID="DDL_MailboxStatus" runat="server">
                                                                                    <asp:ListItem Text="<%$ Resources:Content, SelectStatus %>" Value="0" Selected="True"></asp:ListItem>
                                                                                    <asp:ListItem Text="<%$ Resources:Content,GN0000222%>" Value="1"></asp:ListItem>
                                                                                    <asp:ListItem Text="<%$ Resources:Content,USM0165%>" Value="2"></asp:ListItem>
                                                                                    <asp:ListItem Text="<%$ Resources:Content,GN0000860%>" Value="3"></asp:ListItem>
                                                                                    <asp:ListItem Text="<%$ Resources:Content,M0125%>" Value="4"></asp:ListItem>
                                                                                    <%-- <asp:ListItem Text="<%$ Resources:Content,GN00001546%>" Value="5"></asp:ListItem>
                                                                            <asp:ListItem Text="<%$ Resources:Content,GN0000861%>" Value="6"></asp:ListItem>--%>
                                                                                </asp:DropDownList>
                                                                            </div>
                                                                        </div>
                                                                        <div class="col-md-3 col-sm-6 col-xs-12">
                                                                            <div class="form-group form-float">
                                                                                <asp:DropDownList ID="DDL_MailboxType" runat="server">
                                                                                    <asp:ListItem Text="<%$ Resources:Content, Lync033 %>" Value="-1" Selected="True"></asp:ListItem>
                                                                                    <asp:ListItem Text="<%$ Resources:Content,DGN1110618%>" Value="User mailbox"></asp:ListItem>
                                                                                    <asp:ListItem Text="<%$ Resources:Content,FAM00204%>" Value="Linked mailbox"></asp:ListItem>
                                                                                    <asp:ListItem Text="<%$ Resources:Content,strSharedmailbox%>" Value="Shared mailbox"></asp:ListItem>
                                                                                    <asp:ListItem Text="<%$ Resources:Content,DGN1110619%>" Value="Room mailbox"></asp:ListItem>
                                                                                    <asp:ListItem Text="<%$ Resources:Content,DGN1110620%>" Value="Equipment mailbox"></asp:ListItem>
                                                                                    <asp:ListItem Text="<%$ Resources:Content,O365Mailbox%>" Value="O365 mailbox"></asp:ListItem>
                                                                                </asp:DropDownList>
                                                                            </div>
                                                                        </div>
                                                                        <div class="col-md-3 col-sm-6 col-xs-12">
                                                                            <div class="form-group form-float">
                                                                                <asp:DropDownList ID="DDL_litigationHold" runat="server">
                                                                                    <asp:ListItem Text="<%$ Resources:Content, SelectLititgationHold %>" Value="-1" Selected="True"></asp:ListItem>
                                                                                    <asp:ListItem Text="<%$ Resources:Content,GN000195%>" Value="1"></asp:ListItem>
                                                                                    <asp:ListItem Text="<%$ Resources:Content,GN0000860%>" Value="0"></asp:ListItem>
                                                                                </asp:DropDownList>
                                                                            </div>
                                                                        </div>
                                                                        <div class="col-md-3 col-sm-6 col-xs-12">
                                                                            <div class="form-group form-float">
                                                                                <asp:DropDownList ID="DDL_Journaling" runat="server">
                                                                                    <asp:ListItem Text="<%$ Resources:Content, SelectJournalingType %>" Value="-1" Selected="True"></asp:ListItem>
                                                                                    <asp:ListItem Text="<%$ Resources:Content,GN000195%>" Value="1"></asp:ListItem>
                                                                                    <asp:ListItem Text="<%$ Resources:Content,GN0000860%>" Value="0"></asp:ListItem>
                                                                                </asp:DropDownList>
                                                                            </div>
                                                                        </div>
                                                                        <div class="col-md-3 col-sm-6 col-xs-12">
                                                                            <div class="form-group form-float">
                                                                                <asp:DropDownList ID="DDL_HideFromAL" runat="server">
                                                                                    <asp:ListItem Text="<%$ Resources:Content, SelectHiddenFromAddressList %>" Value="-1" Selected="True"></asp:ListItem>
                                                                                    <asp:ListItem Text="<%$ Resources:Content,GN000195%>" Value="1"></asp:ListItem>
                                                                                    <asp:ListItem Text="<%$ Resources:Content,GN0000860%>" Value="0"></asp:ListItem>
                                                                                </asp:DropDownList>
                                                                            </div>
                                                                        </div>
                                                                        <div class="col-xs-12">
                                                                            <div class="form-group form-float">
                                                                                <asp:Button ID="Btn_SrchMB" runat="server" CssClass="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN0000391%>" />
                                                                                <asp:Button ID="Btn_ClearSearchMB" Visible="false" CssClass="btn btn-primary waves-effect" runat="server" OnClick="Btn_ClearSearchMB_Click"
                                                                                    Text="<%$ Resources:Content,String289 %>" />
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </asp:Panel>

                                            <div class="row">
                                                <%--Add Button--%>
                                                <div class="col-xs-12 Div_OpsRow" id="Div_OpsRow2" runat="server">
                                                    <div class="card">
                                                        <div class="header">
                                                            <h3>
                                                                <asp:Literal
                                                                    ID="Literal1" runat="server" Text="<%$ Resources:Content,GN00001320%>" EnableViewState="false" /></h3>
                                                        </div>
                                                        <div class="body">
                                                            <div class="row">
                                                                <div class="col-xs-12">
                                                                    <div class="btn-group btn-group-primary" id="mailboxoptions" runat="server">
                                                                        <button data-toggle="dropdown" class="btn btn-primary dropdown-toggle btnAction" type="button">
                                                                            <asp:Label ID="Btn_AddNewMailbox" runat="server" Text="<%$ Resources:Content,DGN1110425%>" />&nbsp;&nbsp;
                                                                    <span class="caret"></span>
                                                                        </button>
                                                                        <ul class="dropdown-menu">
                                                                            <li>
                                                                                <asp:LinkButton ID="Lb_UserMailbox" runat="server" Text="<%$ Resources:Content,DGN1110618%>"></asp:LinkButton></li>
                                                                            <li>
                                                                                <asp:LinkButton ID="Lb_LinkedMailbox" runat="server" Text="<%$ Resources:Content,FAM00204%>"></asp:LinkButton></li>
                                                                            <li>
                                                                                <asp:LinkButton ID="Lb_SharedMailbox" runat="server" Text="<%$ Resources:Content,strSharedmailbox%>"></asp:LinkButton></li>
                                                                            <li>
                                                                                <asp:LinkButton ID="Lb_RoomMailbox" runat="server" Text="<%$ Resources:Content,DGN1110619%>"></asp:LinkButton></li>
                                                                            <li>
                                                                                <asp:LinkButton ID="Lb_EquipmentMailbox" runat="server" Text="<%$ Resources:Content,DGN1110620%>"></asp:LinkButton></li>
                                                                            <li>
                                                                                <asp:LinkButton ID="Lb_O365Mailbox" runat="server" Text="<%$ Resources:Content,O365Mailbox%>"></asp:LinkButton>
                                                                            </li>
                                                                        </ul>
                                                                    </div>
                                                                    <asp:Button ID="Btn_AddMailbox" runat="server" Text="<%$ Resources:Content,DGN1110425%>" Visible="false" CssClass="btn btn-primary waves-effect btnAction" />
                                                                    <asp:Button ID="Btn_AddBulkMailBoxes" runat="server" Text="<%$ Resources:Content,String379%>"
                                                                        CssClass="btn btn-primary waves-effect btnAction" />
                                                                    <asp:Button ID="Btn_AddBulkLinkedMailBoxes" runat="server" Text="<%$ Resources:Content,String466%>"
                                                                        CssClass="btn btn-primary waves-effect btnAction" />
                                                                    <asp:Button ID="Btn_GroupActions" runat="server" Text="<%$ Resources:Content,String7772%>"
                                                                        CssClass="btn btn-primary waves-effect btnAction" />
                                                                    <asp:Button ID="Btn_ExportMailboxExcel" class="btn btn-primary waves-effect btnAction" runat="server" Text='<%$ Resources:Content,Ex001 %>' />
                                                                    <asp:Button ID="Btn_RemoveAndExportFailedBulkMailboxes" runat="server" Text="<%$ Resources:Content,Exch00906%>"
                                                                        CssClass="btn btn-primary waves-effect btnAction" />
                                                                    <asp:Button ID="Btn_DisableAllMailboxes" runat="server" Custom1="Custom" Style="display: none"
                                                                        Text="<%$ Resources:Content,GN00001025%>"
                                                                        CssClass="btn btn-primary waves-effect btnAction" />
                                                                    <asp:Button ID="Btn_EnableAllMailboxes" runat="server" Custom1="Custom" Style="display: none"
                                                                        Text="<%$ Resources:Content,GN00001024%>"
                                                                        CssClass="btn btn-primary waves-effect btnAction" />
                                                                    <asp:Button ID="Btn_RemoveAllMailboxes" runat="server" Custom1="Custom" Style="display: none"
                                                                        Text="<%$ Resources:Content,GN0000278%>" CssClass="btn btn-primary waves-effect btnAction" />
                                                                    <EM:ConfirmButtonExtender ID="CBE_RemoveAll" runat="server" TargetControlID="Btn_RemoveAllMailboxes" />

                                                                    <asp:Button ID="Btn_PSTExport" runat="server" Custom1="Custom" Style="display: none" Visible="false"
                                                                        Text="<%$ Resources:Content,strPSTExports%>" CssClass="btn btn-primary waves-effect btnAction" />
                                                                    <EM:ConfirmButtonExtender ID="CBE_PSTExports" ConfirmText="<%$ Resources:Content,strBulkPSTExportConfirmationNote%>" runat="server" TargetControlID="Btn_PSTExport" />

                                                                    <asp:Button ID="Btn_LinkedADSettings" runat="server"
                                                                        Text="<%$ Resources:Content,LinkedADSettings%>"
                                                                        CssClass="btn btn-primary waves-effect btnAction" />

                                                                    <asp:Button ID="Btn_AddExportPSTJob" runat="server"
                                                                        Text="<%$ Resources:Content,strAddExportPSTJob%>"
                                                                        CssClass="btn btn-primary waves-effect btnAction" />

                                                                    <asp:Button ID="Btn_ImportMBFromBackend" runat="server" Custom1="Custom"
                                                                        Text="<%$ Resources:Content,ImportFromBackend%>"
                                                                        CssClass="btn btn-primary waves-effect btnAction" />

                                                                    <asp:Button ID="Btn_SyncMBFromBackend" runat="server" Custom1="Custom" Style="display: none"
                                                                        Text="<%$ Resources:Content,USM0163%>"
                                                                        CssClass="btn btn-primary waves-effect btnAction" />

                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <%--Sorting --%>
                                                <div class="col-xs-12">
                                                    <div class="card">
                                                        <div class="body">
                                                            <div class="row">

                                                                <div class="col-lg-2 col-md-2 col-sm-12 col-xs-12">
                                                                    <label class="row-label">
                                                                        <asp:Literal ID="Literal14" runat="server" Text="<%$ Resources:Content,strSortBy%>" EnableViewState="false" />:
                                                                    </label>
                                                                </div>
                                                                <div class="col-md-3 col-sm-6 col-xs-12">
                                                                    <div class="form-group form-float">
                                                                        <asp:DropDownList ID="DDL_SortBy" runat="server">
                                                                            <asp:ListItem Text="<%$ Resources:Content,GN00001113%>" Value="DisplayName"></asp:ListItem>
                                                                            <%--<asp:ListItem Text="<%$ Resources:Content,GN00001525%>" Value="Primary Email"></asp:ListItem>--%>
                                                                            <asp:ListItem Text="<%$ Resources:Content,strUserPincipalName%>" Value="UPN"></asp:ListItem>
                                                                            <asp:ListItem Text="<%$ Resources:Content,String385%>" Value="Status"></asp:ListItem>
                                                                            <asp:ListItem Text="<%$ Resources:Content,GN0000673%>" Value="MailboxType"></asp:ListItem>
                                                                            <asp:ListItem Text="<%$ Resources:Content,SPT001003%>" Value="CurrentUsage"></asp:ListItem>
                                                                            <asp:ListItem Text="<%$ Resources:Content,strHiddenfromAddressList%>" Value="HideFromOtherALs"></asp:ListItem>
                                                                            <asp:ListItem Text="<%$ Resources:Content,Exch806%>" Value="MailboxTemplateId"></asp:ListItem>
                                                                            <asp:ListItem Text="<%$ Resources:Content,Exch0903%>" Value="LitigationHold"></asp:ListItem>
                                                                        </asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                                <div class="col-md-2 col-sm-6 col-xs-12">
                                                                    <div class="form-group form-float">
                                                                        <asp:DropDownList ID="DDL_SortDirection" runat="server">
                                                                            <asp:ListItem Text="<%$ Resources:Content, strAscending %>" Value="Asc" Selected="True"></asp:ListItem>
                                                                            <asp:ListItem Text="<%$ Resources:Content,strDescending%>" Value="Desc"></asp:ListItem>
                                                                        </asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                                <div class="col-xs-12 col-md-3">
                                                                    <div class="form-group form-float">
                                                                        <asp:Button ID="Btn_SortMB" runat="server" CssClass="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN0000647%>" />
                                                                    </div>
                                                                </div>

                                                                <%--Listing--%>
                                                                <div class="col-xs-12">
                                                                    <asp:GridView CssClass="table table-bordered table-striped table-hover" EmptyDataText="<%$ Resources:Content, GN00001375 %>"
                                                                        ID="GV_MailBoxes" AllowPaging="True" runat="server" AutoGenerateColumns="false"
                                                                        AllowSorting="true" DataKeyNames="ADDomainID">

                                                                        <Columns>

                                                                            <asp:TemplateField SortExpression="MailBoxDisplayName" HeaderStyle-CssClass="col-xs-5" ItemStyle-CssClass="col-xs-5">
                                                                                <HeaderTemplate>
                                                                                    <asp:CheckBox runat="server" ID="ChkBx_All" onclick="SetCheckedHeader(this.checked, this, 'All');"
                                                                                        Text=" " />
                                                                                    <asp:Literal runat="server" Text="<%$ Resources:Content,strMailbox%>"></asp:Literal>
                                                                                </HeaderTemplate>
                                                                                <ItemTemplate>
                                                                                    <asp:CheckBox Text=" " ID="ChkBx_All" runat="server" onclick="SetCheckedHeader(this.checked, this,'1');" />
                                                                                    <asp:LinkButton ID="LB_MailboxName" CommandName="Show_MBDetail" runat="server"></asp:LinkButton>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>

                                                                            <asp:TemplateField HeaderText="<%$ Resources:Content,DGN1110431%>" HeaderStyle-CssClass="col-xs-6">
                                                                                <ItemTemplate>
                                                                                    <table class="table small">
                                                                                        <tr>
                                                                                            <td class="row-label col-xs-2"><%= Resources.Content.String385%>:</td>
                                                                                            <td class="col-xs-4">
                                                                                                <asp:LinkButton ID="LB_Status" CommandName="Status" runat="server"></asp:LinkButton>
                                                                                            </td>
                                                                                            <td class="row-label col-xs-4"><%= Resources.Content.strHiddenfromAddressList%>:</td>
                                                                                            <td class="col-xs-2">
                                                                                                <asp:Label ID="LBl_HideFromOtherALs" Text=" " runat="server"></asp:Label>
                                                                                            </td>
                                                                                        </tr>
                                                                                        <tr>
                                                                                            <td class="row-label col-xs-2"><%= Resources.Content.GN0000673%>:</td>
                                                                                            <td class="col-xs-4">
                                                                                                <asp:Label ID="Lbl_Type" runat="server" Text='<%#DataBinder.Eval(Container, "DataItem.MailBoxType")%>'></asp:Label>
                                                                                            </td>
                                                                                            <td class="row-label col-xs-4"><%= Resources.Content.Exch806%>:</td>
                                                                                            <td class="col-xs-2">
                                                                                                <asp:Literal ID="Ltl_MBTemplateName" runat="server" />
                                                                                            </td>
                                                                                        </tr>
                                                                                        <tr>
                                                                                            <td class="row-label col-xs-2"><%= Resources.Content.SPT001003%>:</td>
                                                                                            <td class="col-xs-4">
                                                                                                <asp:Label ID="Lbl_Size" runat="server" Text=" "></asp:Label>
                                                                                            </td>
                                                                                            <td class="row-label col-xs-4"><%= Resources.Content.Exch0903%>:</td>
                                                                                            <td class="col-xs-2">
                                                                                                <asp:Label ID="Lbl_LitigationHoldEnabled" Text=" " runat="server"></asp:Label>
                                                                                            </td>
                                                                                        </tr>
                                                                                        <tr>
                                                                                            <td class="row-label col-xs-2"><%= Resources.Content.JournalingEnabled%>:</td>
                                                                                            <td class="col-xs-4">
                                                                                                <asp:Label ID="Lbl_JournalingEnabled" Text=" " runat="server"></asp:Label>
                                                                                            </td>
                                                                                        </tr>
                                                                                    </table>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="<%$ Resources:Content,GN0000360%> " HeaderStyle-CssClass="col-xs-1">
                                                                                <ItemTemplate>
                                                                                    <ul class="option-menu pull-left" style="width: 50% !important;" id="Div_Options" runat="server">
                                                                                        <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">

                                                                                                <li id="Div_O365Manage" runat="server">
                                                                                                    <asp:HyperLink ID="Hl_ManageO365" Target="_blank" Text="<%$ Resources:Content,Manage%>" runat="server" CssClass="btnAction" /></li>

                                                                                                <li>
                                                                                                    <asp:LinkButton ID="LB_LitigationHold" CssClass="btnAction" runat="server" Visible="false" /></li>
                                                                                                <li>
                                                                                                    <asp:LinkButton ID="LB_Disable" runat="server" CommandName="Disable_MB" CssClass="btnAction" /></li>
                                                                                                <li>
                                                                                                    <asp:LinkButton ID="LB_Delete" runat="server" Text="<%$ Resources:Content,GN0000278%>" CommandName="Delete_MB" CssClass="btnAction" /></li>
                                                                                                <li>
                                                                                                    <asp:LinkButton ID="Lbtn_RemoveAndDeleteADUser" runat="server" Text="<%$ Resources:Content,RemoveAndDeleteADUserText%>" CommandName="RemoveAndDeleteADUser" CssClass="btnAction" /></li>
                                                                                                <li>
                                                                                                    <asp:LinkButton ID="Lbtn_ADUserEnable" CssClass="btnAction" runat="server"></asp:LinkButton></li>

                                                                                                <li>
                                                                                                    <asp:LinkButton ID="Lbtn_ExportPST" CssClass="btnAction" CommandName="ExportPST"
                                                                                                        runat="server" Text="<%$ Resources:Content,ExportPST%>" />
                                                                                                </li>
                                                                                                <li>
                                                                                                    <asp:LinkButton ID="LBtn_OutlookDownload" CssClass="btnAction" CommandName="OutlookDownload"
                                                                                                        runat="server" Text="<%$ Resources:Content,USM0044%>" />
                                                                                                </li>
                                                                                                <EM:ConfirmButtonExtender ID="CBE_Disable" ConfirmText="<%$ Resources:Content,DGN1119974%>"
                                                                                                    TargetControlID="LB_Disable" runat="server">
                                                                                                </EM:ConfirmButtonExtender>
                                                                                                <EM:ConfirmButtonExtender ID="CBE_Remove" ConfirmText='<%$ Resources:Content,CBE001 %>'
                                                                                                    TargetControlID="LB_Delete" runat="server">
                                                                                                </EM:ConfirmButtonExtender>
                                                                                                <EM:ConfirmButtonExtender ID="CBE_RemoveAndDeleteADUser" ConfirmText='<%$ Resources:Content,RemoveAndDeleteADUserConfirmAlert %>'
                                                                                                    TargetControlID="Lbtn_RemoveAndDeleteADUser" runat="server">
                                                                                                </EM:ConfirmButtonExtender>
                                                                                            </ul>
                                                                                        </li>
                                                                                    </ul>
                                                                                    <ul class="option-menu pull-left" style="width: 50% !important;" id="Div_DownloadProfile" runat="server">
                                                                                        <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">file_download</i>
                                                                                            </a>
                                                                                            <ul class="dropdown-menu pull-right">
                                                                                                <li id="divOutlook2007" runat="server">
                                                                                                    <asp:LinkButton ID="LB_Outlook2007" runat="server" CommandName="Outlook2007" Text="<%$ Resources:Content,String384%>" /></li>
                                                                                                <li>
                                                                                                    <asp:LinkButton ID="LB_Outlook2010" runat="server" CommandName="Outlook2010" Text="<%$ Resources:Content,String437%>" /></li>
                                                                                                <li>
                                                                                                    <asp:LinkButton ID="LB_Outlook2013" runat="server" CommandName="Outlook2013" Text="<%$ Resources:Content,Exch009012%>" /></li>
                                                                                            </ul>
                                                                                        </li>
                                                                                    </ul>

                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                        </Columns>
                                                                        <PagerTemplate>
                                                                            <EM:Pager ID="Pager2" runat="server" />
                                                                        </PagerTemplate>
                                                                    </asp:GridView>
                                                                </div>
                                                                <div class="col-xs-12">
                                                                    <asp:Label ID="Lbl_Note" runat="server" ForeColor="Blue" Text="<%$ Resources:Content,SMI769%>"></asp:Label>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                        </asp:Panel>
                                        <%--Add Mailbox--%>
                                        <div id="Pnl_AddMailbox" runat="server" visible="false">
                                            <EM:AddMailbox ID="AddMailbox1" runat="server" />
                                        </div>
                                        <%-- Add Bulk MailBoxes--%>
                                        <div class="row" id="Pnl_AddBulkMailbox" runat="server" visible="false">
                                            <asp:UpdatePanel ID="UP_AddBulkMailbox" runat="server" ChildrenAsTriggers="true">
                                                <ContentTemplate>

                                                    <div class="col-xs-12" id="Pnl_BulkStep1" runat="server">
                                                        <div class="card">
                                                            <div class="header">
                                                                <div class="displayInlineBlock">
                                                                    <h2>
                                                                        <asp:Literal ID="Literal82" runat="server" EnableViewState="false" Text="<%$ Resources:Content,String379%>" /></h2>
                                                                </div>
                                                                <asp:LinkButton ID="lb_BMBGoBack" runat="server" Text="<%$ Resources:Content,DGN1110542 %>" CausesValidation="false"
                                                                    CssClass="btn btn-primary waves-effect pull-right m-t--4px" />
                                                            </div>
                                                            <div class="body">
                                                                <div class="row">
                                                                    <div class="col-xs-12 row-label">
                                                                        <p>
                                                                            <div style='color: #037fa4; font-weight: 600'>
                                                                                <asp:Literal ID="Ltrl_AddBulkMailboxNote1" runat="server" Text="<%$ Resources:Content, AddBulkMailboxNote1 %>"></asp:Literal>
                                                                            </div>
                                                                            <div style='color: #037fa4; font-weight: 600'>
                                                                                <asp:Literal ID="Ltrl_AddBulkMailboxNote2" runat="server" Text="<%$ Resources:Content, AddBulkMailboxNote2 %>"></asp:Literal>
                                                                            </div>
                                                                            <div style='color: #037fa4; font-weight: 600'>
                                                                                <asp:Literal ID="Ltrl_AddBulkMailboxNote3" runat="server" Text="<%$ Resources:Content, AddBulkMailboxNote3 %>"></asp:Literal>
                                                                            </div>
                                                                            <div style='color: #037fa4; font-weight: 600'>
                                                                                <asp:Literal ID="Ltrl_AddBulkMailboxNote4" runat="server" Text="<%$ Resources:Content, AddBulkMailboxNote4 %>"></asp:Literal>
                                                                            </div>
                                                                            <div style='color: #037fa4; font-weight: 600'>
                                                                                <asp:Literal ID="Ltrl_AddBulkMailboxNote5" runat="server" Text="<%$ Resources:Content, AddBulkMailboxNote5 %>"></asp:Literal>
                                                                            </div>
                                                                            <div style='color: #037fa4; font-weight: 600'>
                                                                                <asp:Literal ID="Ltrl_AddBulkMailboxNote6" runat="server" Text="<%$ Resources:Content, AddBulkMailboxNote6 %>"></asp:Literal>
                                                                            </div>
                                                                        </p>
                                                                    </div>
                                                                </div>
                                                                <div id="Div_NewBMB" runat="server">
                                                                    <div class="row" id="TR_SelectUser" runat="server">
                                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                                            <label>*<asp:Literal ID="Literal127" runat="server" Text='<%$ Resources:Content,GN00001322%>' />:</label>
                                                                        </div>
                                                                        <div class="col-sm-4 col-xs-12">
                                                                            <div class="form-group">
                                                                                <asp:RadioButtonList ID="RBL_SelectUser" runat="server" AutoPostBack="true">
                                                                                    <asp:ListItem Enabled="true" Text="<%$ Resources:Content,STR00898%>" Value="0">
                                                                                    </asp:ListItem>
                                                                                    <asp:ListItem Text="<%$ Resources:Content,DEV1102%>" Value="1">
                                                                                    </asp:ListItem>
                                                                                </asp:RadioButtonList>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="row" id="Tr_MBType" runat="server">
                                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                                            <label>
                                                                                *<asp:Literal ID="Literal95" runat="server" EnableViewState="false"
                                                                                    Text="<%$ Resources:Content,DGN1110617%>" />:</label>
                                                                        </div>
                                                                        <div class="col-sm-4 col-xs-12">
                                                                            <div class="form-group">
                                                                                <asp:DropDownList ID="ddl_MBType" runat="server" AutoPostBack="true" />
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="row" id="Tr_MBManager" runat="server" visible="true">
                                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                                            <label>*<asp:Literal ID="Literal103" runat="server" Text="<%$ Resources:Content,DGN1110410%>" EnableViewState="false" />:</label>
                                                                        </div>
                                                                        <div class="col-sm-4 col-xs-12">
                                                                            <div class="form-group">
                                                                                <EM:VirtualDropDownList ID="DDL_MBManager" runat="server" data-label="Managed By" />


                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="row" id="TR_BMbCustomerTemplates" runat="server" visible="false">
                                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                                            <label>*<asp:Literal ID="Ltrl_BMSelectTemplate" runat="server" Text='<%$ Resources:Content,Dev453%>' />:</label>
                                                                        </div>
                                                                        <div class="col-sm-4 col-xs-12">
                                                                            <div class="form-group">
                                                                                <asp:DropDownList ID="Ddl_BMbCustomerTemplates" runat="server"></asp:DropDownList>
                                                                            </div>
                                                                        </div>
                                                                        <div class="col-sm-4 col-xs-12">
                                                                            <asp:LinkButton ID="LB_BMbCustomerTemplates" runat="server" Text="<%$ Resources:Content,Exch805%>" CssClass="btn btn-primary waves-effect" />
                                                                        </div>
                                                                    </div>
                                                                    <div class="row" id="TR_PEmail" runat="server">
                                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                                            <label>*<asp:Literal ID="Literal25" runat="server" Text='<%$ Resources:Content,FAM00135%>' />:</label>
                                                                        </div>
                                                                        <div class="col-sm-4 col-xs-12">
                                                                            <div class="form-group">
                                                                                <asp:DropDownList ID="DDL_BMailboxDomainName" runat="server" Visible="false">
                                                                                </asp:DropDownList>
                                                                                <asp:Literal ID="Ltl_BMailboxDomainName" runat="server" />
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="row">
                                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                                            <label>*<asp:Literal ID="Literal26" runat="server" Text='<%$ Resources:Content,GN00003000%>' />:</label>
                                                                        </div>
                                                                        <div class="col-sm-4 col-xs-12">
                                                                            <div class="form-group">
                                                                                <asp:DropDownList ID="DDL_Lang2" runat="server">
                                                                                </asp:DropDownList>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="row">
                                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                                            <label>*<asp:Literal ID="Literal27" runat="server" Text='<%$ Resources:Content,Lync179%>' />:</label>
                                                                        </div>
                                                                        <div class="col-sm-4 col-xs-12">
                                                                            <div class="form-group">

                                                                                <asp:DropDownList ID="DDL_TimeZone2" runat="server">
                                                                                </asp:DropDownList>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="row" id="Tr_BulkMBDB" runat="server">
                                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                                            <label>*<asp:Literal ID="Literal28" runat="server" Text='<%$ Resources:Content,DGN0011108%>' />:</label>
                                                                        </div>
                                                                        <div class="col-sm-4 col-xs-12">
                                                                            <div class="form-group">
                                                                                <asp:DropDownList ID="DDL_BulkMailBoxDatabase" runat="server">
                                                                                </asp:DropDownList>
                                                                            </div>
                                                                        </div>
                                                                    </div>

                                                                    <div class="row" id="Tr_CSV" runat="server">
                                                                        <div class="col-sm-3 col-xs-12 row-label">

                                                                            <label>
                                                                                <asp:Literal ID="Ltrl_SelectProfilePic" runat="server" Text="<%$Resources:Content,String380 %>"></asp:Literal>:</label>
                                                                        </div>
                                                                        <div class="col-sm-4 col-xs-12">
                                                                            <div class="form-group">
                                                                                <div class="fileupload fileupload-new" data-provides="fileupload">
                                                                                    <span class="btn btn-primary btn-file"><span class="fileupload-new"><%= Resources.Content.strSelectFile%></span>
                                                                                        <span class="fileupload-exists"><%= Resources.Content.GN0000385%></span>
                                                                                        <asp:FileUpload ID="FU_BulkMailBox" runat="server" />
                                                                                    </span>
                                                                                    <span class="fileupload-preview"></span>
                                                                                    <a href="#" class="close fileupload-exists" data-dismiss="fileupload" style="float: none">×</a>
                                                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="FU_BulkMailBox"
                                                                                        Display="None" SetFocusOnError="True" ValidationGroup="AddBMailBoxVGBM"></asp:RequiredFieldValidator>
                                                                                </div>
                                                                            </div>
                                                                            <div>
                                                                                <asp:Literal ID="Ltl_DownLoadCSV" runat="server"></asp:Literal>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-xs-12">
                                                                        <asp:ValidationSummary ID="ValidationSummary3" runat="server" ShowMessageBox="true"
                                                                            ShowSummary="false" ValidationGroup="AddBMailBoxVGBM" HeaderText="<%$ Resources:Content,EM000001%>" />
                                                                        <asp:Button ID="Btn_AddBulkMB" runat="server" ValidationGroup="AddBMailBoxVGBM" CausesValidation="True"
                                                                            CssClass="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN00001242%>" />
                                                                        <asp:Button ID="Btn_BMBCancel" runat="server" CausesValidation="false" CssClass="btn btn-primary waves-effect"
                                                                            Text="<%$ Resources:Content,GN0000572%>" />
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="col-xs-12" id="Pnl_BulkStep2" runat="server" visible="false">
                                                        <div class="card">
                                                            <div class="body">
                                                                <div class="row">
                                                                    <div class="col-xs-12 row-label">
                                                                        <asp:Literal ID="Ltr_Note" runat="server" EnableViewState="false" Text="<%$ Resources:Content,String583%>"></asp:Literal>
                                                                    </div>
                                                                </div>
                                                                <asp:Panel ID="Pnl_SearchBulk" runat="server" DefaultButton="Btn_SearchBulk">
                                                                    <div class="row">
                                                                        <div class="panel-group search-panel" id="AS_BulkStep2" role="tablist" aria-multiselectable="true">
                                                                            <div class="col-xs-12" role="tab" id="SH_BulkStep2">
                                                                                <div class="card">
                                                                                    <div class="header" role="button" data-toggle="collapse" data-parent="#AS_BulkStep2" href="#<%= CSB_BulkStep2.ClientID%>" aria-expanded="true" aria-controls="SH_BulkStep2">
                                                                                        <h3>
                                                                                            <%= Resources.Content.GN0000395%>
                                                                                        </h3>
                                                                                    </div>
                                                                                    <div id="CSB_BulkStep2" runat="server" class="body panel-collapse collapse" role="tabpanel" aria-labelledby="SH_BulkStep2" aria-expanded="false">
                                                                                        <div class="row">
                                                                                            <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_DisplayNameBulk" runat="server" MaxLength="200"></asp:TextBox>
                                                                                                        <asp:Label ID="Label20" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN00001113%>" CssClass="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_UPNBulk" runat="server" MaxLength="100"></asp:TextBox>
                                                                                                        <asp:Label ID="Label21" runat="server" EnableViewState="false" Text="<%$ Resources:Content,String336%>" CssClass="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_SAMBulk" runat="server" MaxLength="100"></asp:TextBox>
                                                                                                        <asp:Label ID="Label22" runat="server" EnableViewState="false" Text="<%$ Resources:Content,strSAMAccountName%>" CssClass="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_LDAPBulk" runat="server" MaxLength="200"></asp:TextBox>
                                                                                                        <asp:Label ID="Label23" runat="server" EnableViewState="false" Text="<%$ Resources:Content,DGN1110437%>" CssClass="form-label"></asp:Label>
                                                                                                    </div>
                                                                                                </div>
                                                                                            </div>
                                                                                            <div class="col-xs-12">
                                                                                                <div class="form-group form-float">
                                                                                                    <asp:Button ID="Btn_SearchBulk" runat="server" CssClass="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN0000391%>" />
                                                                                                    <asp:Button ID="Btn_ClearBulk" Visible="false" CssClass="btn btn-primary waves-effect" runat="server"
                                                                                                        Text="<%$ Resources:Content,String289 %>" />
                                                                                                </div>
                                                                                            </div>
                                                                                        </div>
                                                                                    </div>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </asp:Panel>
                                                                <div class="row">
                                                                    <div class="col-xs-12">
                                                                        <EM:MPGridView ID="GV_BulkUsers" CurrentSortExpression="DisplayName" CurrentSortDirection="Asc"
                                                                            CssClass="table table-bordered table-striped table-hover" runat="server" AllowPaging="false" AllowSorting="false"
                                                                            EmptyDataText='<%$ Resources:Content, GN00001375 %>' AutoGenerateColumns="false">

                                                                            <Columns>
                                                                                <asp:TemplateField HeaderText="<%$ Resources:Content, GN00001113 %>" HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                                                    <ItemTemplate>
                                                                                        <asp:Literal ID="Ltrl_DispName" runat="server" Text='<%#Eval("DisplayName")%>'></asp:Literal>
                                                                                        <asp:HiddenField ID="HF_ADUserId" runat="server" Value='<%#Eval("ADUserID")%>' />
                                                                                        <asp:HiddenField ID="HiddenField1" runat="server" Value='<%#Eval("Password")%>' />
                                                                                        <asp:HiddenField ID="HF_UserLDAPURL" runat="server" Value='<%#Eval("UserLDAPURL")%>' />
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="<%$ Resources:Content, String344 %>" HeaderStyle-CssClass="col-xs-3" ItemStyle-CssClass="col-xs-3">
                                                                                    <ItemTemplate>
                                                                                        <asp:Literal ID="Ltrl_DomainUserName" runat="server" Text='<%#Eval("DomainUserName")%>'></asp:Literal>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="<%$ Resources:Content, String336 %>" HeaderStyle-CssClass="col-xs-3" ItemStyle-CssClass="col-xs-3">
                                                                                    <ItemTemplate>
                                                                                        <div class="col-xs-12">
                                                                                            <div class="form-group">
                                                                                                <div class="form-line">
                                                                                                    <asp:TextBox ID="TxBx_UPN" runat="server"></asp:TextBox>
                                                                                                </div>
                                                                                            </div>
                                                                                            <div class="form-group at-the-rate">
                                                                                                @<asp:DropDownList ID="Ddl_PrimaryDomain" runat="server"></asp:DropDownList>
                                                                                            </div>
                                                                                        </div>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="<%$ Resources:Content, String389 %>" HeaderStyle-CssClass="col-xs-3" ItemStyle-CssClass="col-xs-3">
                                                                                    <ItemTemplate>
                                                                                        <div class="col-xs-12">
                                                                                            <div class="form-group">
                                                                                                <div class="form-line">
                                                                                                    <asp:TextBox ID="TxBx_SetupEmailTo" runat="server" Text='<%#Eval("SendSetupEmailTo")%>'></asp:TextBox>
                                                                                                </div>
                                                                                            </div>
                                                                                        </div>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="<%$ Resources:Content, GN0000360 %>" HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                                                    <ItemTemplate>
                                                                                        <asp:LinkButton CssClass="btn btn-primary waves-effect btnAction" CommandArgument='<%#Eval("RowId") %>'
                                                                                            ID="LB_Remove" CommandName="RemoveUser" runat="server" Text="<%$ Resources:Content,GN0000278%>" />
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                            </Columns>
                                                                        </EM:MPGridView>
                                                                    </div>
                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-xs-12 row-label">
                                                                        <asp:CheckBox Text="<%$ Resources:Content,Lync048%>" ID="CB_SetupEmail" runat="server" Checked="true" />
                                                                    </div>
                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-xs-12">
                                                                        <asp:Button ID="Btn_BulkSave" runat="server" CausesValidation="false" CssClass="btn btn-primary waves-effect btnAction"
                                                                            Text="<%$ Resources:Content,GN0000281%>" />
                                                                        <asp:Button ID="Btn_BulkCancel" runat="server" CausesValidation="false" CssClass="btn btn-primary waves-effect"
                                                                            Text="<%$ Resources:Content,GN0000572%>" />
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>

                                                </ContentTemplate>
                                                <Triggers>
                                                    <asp:PostBackTrigger ControlID="Btn_AddBulkMB" />
                                                </Triggers>
                                            </asp:UpdatePanel>
                                        </div>
                                        <div class="row" id="pnl_BulkMailBoxLog" runat="server" style="display: none">
                                            <div class="col-xs-12">
                                                <div class="card">
                                                    <div class="header">
                                                        <h3>
                                                            <asp:Literal ID="Literal88" runat="server" EnableViewState="false" Text="<%$ Resources:Content,L0036%>" /></h3>
                                                    </div>
                                                    <div class="body">
                                                        <div class="row">
                                                            <div class="col-xs-12 row-label" id="Div_Result" runat="server">
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-xs-12">
                                                                <asp:Button ID="Btn_BMBLogClose" runat="server" CausesValidation="false" CssClass="btn btn-primary waves-effect"
                                                                    Text="<%$ Resources:Content,GN000150%>" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <%-- Add Bulk Linked MailBoxes--%>
                                        <div class="row" id="Pnl_AddBulkLinkedMailbox" runat="server" visible="false">
                                            <asp:UpdatePanel ID="UP_AddBulkLMailbox" runat="server" ChildrenAsTriggers="true">
                                                <ContentTemplate>
                                                    <div class="col-xs-12">
                                                        <div class="card">
                                                            <div class="header">
                                                                <div class="displayInlineBlock">
                                                                    <h2>
                                                                        <asp:Literal ID="Literal29" runat="server" EnableViewState="false" Text="<%$ Resources:Content,String466%>" /></h2>
                                                                </div>
                                                                <asp:LinkButton ID="LB_BLMBGOBack" runat="server" Text="<%$ Resources:Content,DGN1110542 %>" CausesValidation="false"
                                                                    CssClass="btn btn-primary waves-effect pull-right m-t--4px" />
                                                            </div>
                                                            <div class="body">
                                                                <div class="row">
                                                                    <div class="col-xs-12 row-label">
                                                                        Use this interface to create multiple exchange mailboxes. Provide a comma separated
                                                    list (.csv) of mailboxes that you wish to setup for the selected organization.
                                                                    </div>
                                                                </div>
                                                                <div id="Div_NewBLMB" runat="server">
                                                                    <div class="row" id="TR_BLMBCustomerTemplates" runat="server">
                                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                                            <label>*<asp:Literal ID="Literal30" runat="server" Text='<%$ Resources:Content,Dev453%>' />:</label>
                                                                        </div>
                                                                        <div class="col-sm-4 col-xs-12">
                                                                            <div class="form-group">
                                                                                <asp:DropDownList ID="Ddl_BLMBCustomerTemplates" runat="server">
                                                                                </asp:DropDownList>
                                                                            </div>
                                                                        </div>
                                                                        <div class="col-sm-4 col-xs-12">
                                                                            <asp:LinkButton ID="LB_BLMBCustomerTemplates" runat="server" Text="<%$ Resources:Content,Exch805%>" CssClass="btn btn-primary waves-effect" />
                                                                        </div>
                                                                    </div>
                                                                    <div class="row">
                                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                                            <label>*<asp:Literal ID="Literal32" runat="server" Text='<%$ Resources:Content,FAM00135%>' />:</label>
                                                                        </div>
                                                                        <div class="col-sm-4 col-xs-12">
                                                                            <div class="form-group">
                                                                                <asp:DropDownList ID="DDL_BLMailboxDomainName" runat="server" Visible="false">
                                                                                </asp:DropDownList>
                                                                                <asp:Literal ID="Ltl_BLMailboxDomainName" runat="server" />
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="row">
                                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                                            <label>*<asp:Literal ID="Literal34" runat="server" Text='<%$ Resources:Content,GN00003000%>' />:</label>
                                                                        </div>
                                                                        <div class="col-sm-4 col-xs-12">
                                                                            <div class="form-group">
                                                                                <asp:DropDownList ID="DDL_Lang3" runat="server">
                                                                                </asp:DropDownList>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="row">
                                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                                            <label>*<asp:Literal ID="Literal35" runat="server" Text='<%$ Resources:Content,Lync179%>' />:</label>
                                                                        </div>
                                                                        <div class="col-sm-4 col-xs-12">

                                                                            <div class="form-group">
                                                                                <asp:DropDownList ID="DDL_TimeZone3" runat="server">
                                                                                </asp:DropDownList>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="row" id="Tr_BulkLMBDB" runat="server">
                                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                                            <label>*<asp:Literal ID="Literal36" runat="server" Text='<%$ Resources:Content,DGN0011108%>' />:</label>
                                                                        </div>
                                                                        <div class="col-sm-4 col-xs-12">
                                                                            <div class="form-group">
                                                                                <asp:DropDownList ID="DDL_BulkLMailBoxDatabase" runat="server">
                                                                                </asp:DropDownList>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="row">
                                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                                            <label>
                                                                                <asp:Literal ID="Literal37" runat="server" Text="<%$Resources:Content,String380 %>"></asp:Literal>:</label>
                                                                        </div>
                                                                        <div class="col-sm-4 col-xs-12">
                                                                            <div class="form-group">
                                                                                <div class="fileupload fileupload-new" data-provides="fileupload">
                                                                                    <span class="btn btn-primary btn-file"><span class="fileupload-new"><%= Resources.Content.strSelectFile%></span>
                                                                                        <span class="fileupload-exists"><%= Resources.Content.GN0000385%></span>
                                                                                        <asp:FileUpload ID="FU_BulkLMailBox" runat="server" />
                                                                                    </span>
                                                                                    <span class="fileupload-preview"></span>
                                                                                    <a href="#" class="close fileupload-exists" data-dismiss="fileupload" style="float: none">×</a>
                                                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="FU_BulkLMailBox"
                                                                                        Display="None" SetFocusOnError="True" ValidationGroup="AddBLMailBoxVGBM"></asp:RequiredFieldValidator>
                                                                                </div>
                                                                            </div>
                                                                            <div>
                                                                                <asp:Literal ID="Ltl_LDownLoadCSV" runat="server"></asp:Literal>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-xs-12">
                                                                        <asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="true"
                                                                            ShowSummary="false" ValidationGroup="AddBLMailBoxVGBM" HeaderText="<%$ Resources:Content,EM000001%>" />
                                                                        <asp:Button ID="Btn_AddBulkLMB" runat="server" ValidationGroup="AddBLMailBoxVGBM"
                                                                            CausesValidation="True" CssClass="btn btn-primary waves-effect" Text="<%$ Resources:Content,String379%>" />
                                                                        <asp:Button ID="Btn_BLMBCancel" runat="server" CausesValidation="false" CssClass="btn btn-primary waves-effect"
                                                                            Text="<%$ Resources:Content,GN0000572%>" />
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </ContentTemplate>
                                                <Triggers>
                                                    <asp:PostBackTrigger ControlID="Btn_AddBulkLMB" />
                                                </Triggers>
                                            </asp:UpdatePanel>
                                        </div>
                                        <div class="row" id="pnl_BulkLMailBoxLog" runat="server" style="display: none">
                                            <div class="col-xs-12">
                                                <div class="card">
                                                    <div class="header">
                                                        <h3>
                                                            <asp:Literal ID="Literal126" runat="server" EnableViewState="false" Text="<%$ Resources:Content,SMI0206%>" /></h3>
                                                    </div>
                                                </div>
                                                <div class="body">
                                                    <div class="row">
                                                        <div class="col-xs-12" id="Div_LResult" runat="server">
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-xs-12">
                                                            <asp:Button ID="Btn_BLMBLogClose" runat="server" CausesValidation="false" CssClass="btn btn-primary waves-effect"
                                                                Text="<%$ Resources:Content,GN000150%>" />
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <%--Mailbox Detail--%>
                                        <div class="row" id="Pnl_MailBoxDetail" runat="server" visible="false">
                                            <div class="col-xs-12">
                                                <div class="card">
                                                    <div class="header">
                                                        <div class="displayInlineBlock">
                                                            <h2>
                                                                <asp:Literal ID="Literal43" runat="server" EnableViewState="false" Text="<%$ Resources:Content,DGN1110539%>" />
                                                                <asp:Label ID="lbl_MailboxName" runat="server" />
                                                            </h2>
                                                        </div>
                                                        <asp:LinkButton ID="lb_GoBack" runat="server" Text="<%$ Resources:Content,DGN1110542 %>" CausesValidation="false"
                                                            CssClass="btn btn-primary waves-effect pull-right m-t--4px" />
                                                    </div>
                                                    <div class="body">
                                                        <EM:MailBoxDetail ID="MailBox_Detail" runat="server" />
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <%--Group Operations --%>
                                        <div class="row" id="Pnl_GroupOperationMB" runat="server" visible="false">
                                            <div class="col-xs-12">
                                                <div class="card">
                                                    <div class="header">
                                                        <div class="displayInlineBlock">
                                                            <h2><%= Resources.Content.String7772 %></h2>
                                                        </div>
                                                        <asp:LinkButton ID="LB_GoBackGroupOperation" runat="server" Text="<%$ Resources:Content,DGN1110542 %>" CausesValidation="false"
                                                            CssClass="btn btn-primary waves-effect pull-right m-t--4px" />
                                                    </div>
                                                    <div class="body">
                                                        <EM:MBGroupOperation ID="MBGroupOperation1" runat="server" />
                                                    </div>
                                                </div>
                                            </div>
                                        </div>

                                        <div class="row" id="Pnl_LinkedAD" runat="server">
                                            <div class="col-xs-12">
                                                <div class="card">
                                                    <div class="header">
                                                        <div class="displayInlineBlock">
                                                            <h2>
                                                                <asp:Literal ID="Literal44" runat="server" EnableViewState="false" Text="<%$ Resources:Content,LinkedADSettings%>" />

                                                            </h2>
                                                        </div>

                                                    </div>
                                                    <div class="body">
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                <label>
                                                                    <asp:Literal ID="Literal39" runat="server" EnableViewState="false"
                                                                        Text="<%$ Resources:Content,Exch00098%>" />:</label>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_LinkedDC" runat="server" />
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                <label>
                                                                    <asp:Literal ID="Literal40" runat="server" EnableViewState="false"
                                                                        Text="<%$ Resources:Content,Exch00100%>" />:</label>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_LinkedAdminLogin" runat="server" />
                                                                        <asp:RequiredFieldValidator ControlToValidate="TxBx_LinkedAdminLogin" ID="RequiredFieldValidator4"
                                                                            runat="server" Display="None" ValidationGroup="AddMailBoxVG"></asp:RequiredFieldValidator>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                <label>
                                                                    <asp:Literal ID="Literal41" runat="server" EnableViewState="false"
                                                                        Text="<%$ Resources:Content,Exch00101%>" />:</label>

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

                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_CreateUserUnderLDAP" runat="server" MaxLength="500" />

                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <label style="font-size: 12px">
                                                                    <asp:Literal ID="Literal62" runat="server" EnableViewState="false"
                                                                        Text="" /></label>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-xs-12">

                                                                <asp:Button ID="Btn_SaveLinkedAD" runat="server" CausesValidation="false"
                                                                    class="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,GN0000949%>" />
                                                                <asp:Button ID="Btn_CancelLinkedAD" runat="server" CausesValidation="false" class="btn btn-primary waves-effect"
                                                                    Text="<%$ Resources:Content,GN0000572%>" />
                                                            </div>

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

                                        </div>

                                        <%--Add Export PST Job --%>
                                        <div class="row" id="Pnl_ExportPSTJob" runat="server" visible="false">
                                            <div class="col-xs-12">
                                                <div class="card">
                                                    <div class="header">
                                                        <h3>
                                                            <asp:Literal ID="Literal89" runat="server" EnableViewState="false" Text="<%$ Resources:Content,strAddPSTExportjobs%>" /></h3>
                                                    </div>

                                                    <div class="body">
                                                        <div class="row" runat="server" visible="false">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal90" runat="server" EnableViewState="false" Text="<%$ Resources:Content,strOrganization %>"></asp:Literal>:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <asp:DropDownList ID="Ddl_SelectOrganization" runat="server" AutoPostBack="true"></asp:DropDownList>
                                                            </div>
                                                        </div>

                                                        <div class="row">
                                                            <div class="col-xs-12 row-label">
                                                                <label>
                                                                    <asp:Literal ID="Literal91" runat="server" EnableViewState="false" Text="<%$ Resources:Content,strSelectMailboxes%>"></asp:Literal>:</label>
                                                            </div>
                                                            <div class="col-xs-12">
                                                                <EM:AddSelectableSelected ID="UCOrgMailBoxes" runat="server" IsSelectedRequired="true" ClientSideOptimized="true" data-label="Mailboxes" />
                                                            </div>
                                                        </div>

                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal92" runat="server" Text="<%$Resources:Content,EmailaddressforPSTdownloadlink%>" EnableViewState="false"></asp:Literal>:
                                                            </div>
                                                            <div class="col-sm-8 col-xs-12">
                                                                <asp:TextBox ID="Txt_EmailaddressforPST" runat="server" TextMode="MultiLine" Rows="3" CssClass="col-xs-12" MaxLength="250"></asp:TextBox>
                                                                <label>(<%=Resources.Content.String597%>)</label>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12"></div>
                                                            <div class="col-sm-8 col-xs-12">
                                                                <label><b><%=Resources.Content.ExportPSTNote%></b></label>
                                                            </div>
                                                        </div>

                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal93" runat="server" Text="<%$Resources:Content,String599%>" EnableViewState="false"></asp:Literal>:
                                                            </div>
                                                            <div class="col-sm-2 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="Txt_BadLimitExportPST" runat="server" MaxLength="250" onkeyup="numbersOnly(this)"></asp:TextBox>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>

                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal96" runat="server" Text="<%$Resources:Content,GN0001300%>" EnableViewState="false"></asp:Literal>:
                                                            </div>
                                                            <div class="col-sm-2 col-xs-12">
                                                                <asp:DropDownList ID="ddl_Priority" runat="server">
                                                                    <asp:ListItem Text="Lower" Value="Lower"></asp:ListItem>
                                                                    <asp:ListItem Text="Low" Value="Low"></asp:ListItem>
                                                                    <asp:ListItem Text="Normal" Value="Normal"></asp:ListItem>
                                                                    <asp:ListItem Text="High" Value="High"></asp:ListItem>
                                                                    <asp:ListItem Text="Higher" Value="Higher"></asp:ListItem>
                                                                    <asp:ListItem Text="Highest" Value="Highest"></asp:ListItem>
                                                                    <asp:ListItem Text="Emergency" Value="Emergency"></asp:ListItem>
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>

                                                        <div class="row">
                                                            <div class="col-xs-12">
                                                                <asp:Button ID="Btn_SavePSTExportBulk" runat="server" CausesValidation="false" CssClass="btn btn-primary waves-effect"
                                                                    Text="<%$ Resources:Content,strSave%>" />
                                                                <asp:Button ID="btn_ClosePSTExportBulk" runat="server" CausesValidation="false" CssClass="btn btn-primary waves-effect"
                                                                    Text="<%$ Resources:Content,GN000150%>" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>

                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                            <%--Mail Contacts Listing--%>
                            <EM:TabPanel ID="Tab_MailContacts" runat="server" HeaderText="<%$ Resources:Content,DGN1110407%>">
                                <ContentTemplate>
                                    <asp:Button ID="Btn_Tab3" runat="server" Style="display: none;" />
                                    <asp:Panel ID="Pnl_TabContent3" runat="server" Visible="false">
                                        <EM:Contacts ID="Contacts1" runat="server" />
                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                            <%--Distribution List--%>
                            <EM:TabPanel ID="TabDstLst" runat="server" HeaderText="<%$ Resources:Content,DGN1110408%>">
                                <ContentTemplate>
                                    <asp:Button ID="Btn_Tab4" runat="server" Style="display: none;" />
                                    <asp:Panel ID="Pnl_TabContent4" runat="server" Visible="false">
                                        <asp:Panel ID="Pnl_DistList" runat="server">
                                            <div class="row" id="Pnl_DLOperations" runat="server">
                                                <div class="col-xs-12">
                                                    <div class="card">
                                                        <div class="header">
                                                            <h3>
                                                                <asp:Literal ID="Literal94" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN00001320%>" />
                                                            </h3>
                                                        </div>
                                                        <div class="body">
                                                            <asp:Button ID="Btn_AddDL" runat="server" Text="<%$ Resources:Content,ActionTypes024%>" CssClass="btn btn-primary waves-effect btnAction" />
                                                            <asp:Button ID="Btn_AddBulkDL" runat="server" Text="<%$ Resources:Content,E0091%>" CssClass="btn btn-primary waves-effect btnAction" />
                                                            <asp:Button ID="Btn_RemoveAllDLs" runat="server" Custom1="Custom" Style="display: none"
                                                                Text="<%$ Resources:Content,GN0000377%>" CssClass="btn btn-primary waves-effect btnAction" />
                                                            <EM:ConfirmButtonExtender ID="CBE_Btn_RemoveAllDLs" runat="server" TargetControlID="Btn_RemoveAllDLs"></EM:ConfirmButtonExtender>
                                                            <asp:Button ID="Btn_ExportDynamicDistList" runat="server" Text="<%$ Resources:Content,ExportDynamicDistributionList%>" CssClass="btn btn-primary waves-effect" />
                                                            <asp:Button ID="Btn_ExportDistListToExcel" runat="server"
                                                                Text="<%$ Resources:Content,Ex001%>" CssClass="btn btn-primary waves-effect" />
                                                            <asp:Button ID="Btn_DLGroupActions" runat="server" Text="<%$ Resources:Content,String7772%>"
                                                                CssClass="btn btn-primary waves-effect btnAction" />
                                                            <asp:Button ID="Btn_MembersReport" runat="server" Text="<%$ Resources:Content,MembersReport%>"
                                                                CssClass="btn btn-primary waves-effect" />
                                                            <asp:Button ID="btn_ExportDynamicDLMembers" runat="server" Text="<%$ Resources:Content,strDynamicDistributionMembers%>"
                                                                CssClass="btn btn-primary waves-effect" />
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>

                                            <%--Search Option--%>
                                            <asp:Panel ID="Pnl_SrchDistList" runat="server" DefaultButton="Btn_SrchDistList">
                                                <div class="row">
                                                    <div class="panel-group search-panel" id="AS_SrchDistList" role="tablist" aria-multiselectable="true">
                                                        <div class="col-xs-12" role="tab" id="SH_SrchDistList">
                                                            <div class="card">
                                                                <div class="header" role="button" data-toggle="collapse" data-parent="#AS_SrchDistList" href="#<%= CSB_SrchDistList.ClientID%>" aria-expanded="true" aria-controls="SH_SrchDistList">
                                                                    <h3>
                                                                        <%= Resources.Content.GN0000395%>
                                                                    </h3>
                                                                </div>
                                                                <div id="CSB_SrchDistList" runat="server" class="body panel-collapse collapse" role="tabpanel" aria-labelledby="SH_SrchDistList" 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_SrchDListSelect" runat="server">
                                                                                    <asp:ListItem Text="<%$ Resources:Content,GN000170%>" Selected="True" Value="name" />
                                                                                    <asp:ListItem Text="<%$ Resources:Content,GN0000652%>" Value="email" />
                                                                                    <asp:ListItem Text="<%$ Resources:Content,L0070%>" Value="member" />
                                                                                </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_SrchDListValue" runat="server" MaxLength="200"></asp:TextBox>
                                                                                    <asp:Label ID="Label3" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000387%>" class="form-label"></asp:Label>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                        <div class="col-xs-12">
                                                                            <div class="form-group form-float">
                                                                                <asp:Button ID="Btn_SrchDistList" runat="server" CssClass="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN0000391%>" />
                                                                                <asp:Button ID="Btn_ClearSearchDistList" Visible="false" CssClass="btn btn-primary waves-effect" runat="server"
                                                                                    OnClick="Btn_ClearSearchDistList_Click" Text="<%$ Resources:Content,String289 %>" />
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </asp:Panel>
                                            <div class="row" id="Pnl_DLListing" runat="server">
                                                <div class="col-xs-12">
                                                    <%--Listing--%>
                                                    <asp:GridView CssClass="table table-bordered table-striped table-hover" EmptyDataText="<%$ Resources:Content, GN00001375 %>"
                                                        ID="GV_DstLst" AllowPaging="True" AllowSorting="true" runat="server" AutoGenerateColumns="false"
                                                        DataKeyNames='DistListID,DistListName'>

                                                        <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="SetCheckedHeader(this.checked, this, 'All');"
                                                                        Text=" " CssClass="option-menu" />
                                                                </HeaderTemplate>
                                                                <ItemTemplate>
                                                                    <asp:CheckBox Text=" " ID="ChkBx_All" runat="server" onclick="SetCheckedHeader(this.checked, this,'1');" CssClass="option-menu" />
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="<%$ Resources:Content,GN00001113%>" SortExpression="DistListName" HeaderStyle-CssClass="col-xs-3" ItemStyle-CssClass="col-xs-3">
                                                                <ItemTemplate>
                                                                    <asp:LinkButton ID="LB_Name" runat="server" CommandName="Show_DListDetail"></asp:LinkButton>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="<%$ Resources:Content,GN0000652%>" HeaderStyle-CssClass="col-xs-3" ItemStyle-CssClass="col-xs-3">
                                                                <ItemTemplate>
                                                                    <asp:LinkButton ID="LB_Email" runat="server" CommandName="Show_DListDetail"></asp:LinkButton>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="<%$ Resources:Content,GN0000673%>" HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="Lbl_Type" runat="server" Text="" />
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="<%$ Resources:Content,DGN1110518%>" HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="lbl_Members" runat="server" Text=" " />
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="<%$ Resources:Content,String385%>" HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                                <ItemTemplate>
                                                                    <asp:LinkButton ID="LB_Status" CommandName="Status" runat="server"></asp:LinkButton>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="<%$ Resources:Content,GN0000360%>" HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                                <ItemTemplate>
                                                                    <asp:LinkButton ID="LB_Delete" CommandName="Delete_DList" CssClass="btn btn-primary waves-effect btnAction"
                                                                        Text="<%$ Resources:Content,GN0000377%>" runat="server"></asp:LinkButton>
                                                                    <EM:ConfirmButtonExtender ID="CBE_Remove" ConfirmText="<%$ Resources:Content,CBE001%>"
                                                                        TargetControlID="LB_Delete" runat="server">
                                                                    </EM:ConfirmButtonExtender>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                        </Columns>
                                                        <%--PagerTemplate Start--%>
                                                        <PagerTemplate>
                                                            <EM:Pager ID="Pager4" runat="server" />
                                                        </PagerTemplate>
                                                        <%--PagerTemplate End--%>
                                                    </asp:GridView>
                                                </div>
                                            </div>
                                            <%--Add Distribution List--%>
                                            <asp:Panel CssClass="row" ID="Pnl_AddDistbLst" runat="server" DefaultButton="Btn_AddDistbLst" Visible="false">
                                                <div class="col-xs-12">
                                                    <div class="card">
                                                        <div class="header">
                                                            <h3>
                                                                <asp:Literal ID="Literal4" runat="server" EnableViewState="false" Text="<%$ Resources:Content,DGN1110428%>"></asp:Literal>
                                                            </h3>
                                                        </div>
                                                        <div class="body">
                                                            <ajax:UpdatePanel ID="UP_DL" UpdateMode="always" runat="server">
                                                                <ContentTemplate>
                                                                    <div class="row" id="Tr_DistributionListType" runat="server">
                                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                                            <label>
                                                                                *<asp:Literal ID="Literal75" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000673%>"></asp:Literal>:</label>
                                                                        </div>
                                                                        <div class="col-sm-4 col-xs-12">
                                                                            <div class="form-group">
                                                                                <asp:DropDownList ID="DDL_DistributionGroupType" runat="server" AutoPostBack="true" data-label="Distribution Group Type">
                                                                                    <asp:ListItem Text="<%$ Resources:Content,Exch026%>" Value="0" />
                                                                                    <asp:ListItem Text="<%$ Resources:Content,Exch027%>" Value="1" />
                                                                                    <asp:ListItem Text="<%$ Resources:Content,Exch028%>" Value="2" />
                                                                                    <asp:ListItem Text="<%$ Resources:Content,Exch921%>" Value="3" />
                                                                                </asp:DropDownList>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="row">
                                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                                            <label>
                                                                                *<asp:Literal ID="Literal46" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN00001113%>"></asp:Literal>:</label>
                                                                        </div>
                                                                        <div class="col-sm-2 col-xs-12 lbl-serial-num" id="Div_Prefixes" runat="server" visible="false"></div>
                                                                        <div class="col-sm-4 col-xs-12">
                                                                            <div class="form-group">
                                                                                <div class="form-line">
                                                                                    <asp:TextBox ID="TxBx_DistListDisplayName" MaxLength="100" runat="server" data-label="Display Name"></asp:TextBox>
                                                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="TxBx_DistListDisplayName"
                                                                                        Display="None" ValidationGroup="DL" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                        <div class="col-sm-2 col-xs-12 lbl-serial-num" id="Div_Suffixes" runat="server" visible="false"></div>
                                                                    </div>
                                                                    <div class="row">
                                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                                            <label>
                                                                                *<asp:Literal ID="Literal47" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN00001525%>"></asp:Literal>:</label>
                                                                        </div>
                                                                        <div class="col-sm-4 col-xs-12">
                                                                            <div class="form-group">
                                                                                <div class="form-line">
                                                                                    <asp:TextBox ID="TxBx_DistListPrimaryEmail" runat="server" data-label="Primary Email Prefix"></asp:TextBox>
                                                                                    <asp:RequiredFieldValidator ID="RFV_TxBx_Pass" runat="server" ControlToValidate="TxBx_DistListPrimaryEmail"
                                                                                        Display="None" ValidationGroup="DL" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                        <div class="col-sm-4 col-xs-12">
                                                                            <div class="form-group at-the-rate">
                                                                                @<asp:DropDownList ID="DDL_DListDomains" runat="server" data-label="Primary Email Domain">
                                                                                </asp:DropDownList>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="row">
                                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                                            <label>
                                                                                <asp:Literal ID="Literal48" runat="server" EnableViewState="false" Text="<%$ Resources:Content,L0079%>"></asp:Literal>:</label>
                                                                        </div>
                                                                        <div class="col-sm-4 col-xs-12">
                                                                            <div class="form-group">
                                                                                <asp:CheckBox Text=" " ID="ChBx_ReqAuth" Checked="true" runat="server" data-label="All senders authentication required" />
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="row" id="Tr_DynamicDL" runat="server" visible="false">
                                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                                            <label>
                                                                                <asp:Literal ID="Literal49" runat="server" EnableViewState="false" Text="<%$ Resources:Content,Exch922%>"></asp:Literal>:</label>
                                                                        </div>
                                                                        <div class="col-sm-9 col-xs-12">
                                                                            <div class="row">
                                                                                <div class="col-xs-12">
                                                                                    <asp:RadioButton ID="RB_AllRecipients" runat="server" Checked="true" GroupName="DynamicDL" Text="<%$ Resources:Content,Exch923%>" data-label="All Recipients" /><br />
                                                                                    <asp:RadioButton ID="RB_SpecificTypes" runat="server" GroupName="DynamicDL" Text="<%$ Resources:Content,Exch924%>" data-label="Specific Types" /><br />
                                                                                </div>
                                                                            </div>
                                                                            <div class="row">
                                                                                <div class="col-xs-12">
                                                                                    <asp:CheckBox ID="CB_UsersExchangeMBs" runat="server" Text="<%$ Resources:Content,Exch925%>" Enabled="false" data-label="Users with Exchange Mailboxes" />
                                                                                </div>
                                                                                <div class="col-xs-12">
                                                                                    <asp:CheckBox ID="CB_UsersExternalMBs" runat="server" Text="<%$ Resources:Content,Exch926%>" Enabled="false" data-label="Users with External Mailboxes" />
                                                                                </div>
                                                                                <div class="col-xs-12">
                                                                                    <asp:CheckBox ID="CB_ResourceMBs" runat="server" Text="<%$ Resources:Content,Exch927%>" Enabled="false" data-label="Resource Mailboxes" />
                                                                                </div>
                                                                                <div class="col-xs-12">
                                                                                    <asp:CheckBox ID="CB_Contacts" runat="server" Text="<%$ Resources:Content,Exch928%>" Enabled="false" data-label="Contacts" />
                                                                                </div>
                                                                                <div class="col-xs-12">
                                                                                    <asp:CheckBox ID="CB_MailGroups" runat="server" Text="<%$ Resources:Content,Exch929%>" Enabled="false" data-label="Mail Groups" />
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="row" id="Tr_DLStreet" runat="server" visible="false">
                                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                                            <label>
                                                                                <asp:Literal ID="Literal76" runat="server" EnableViewState="false" Text="<%$ Resources:Content,DGN1110530%>"></asp:Literal>:</label>
                                                                        </div>
                                                                        <div class="col-sm-4 col-xs-12">
                                                                            <div class="form-group">
                                                                                <div>
                                                                                    <asp:TextBox ID="TxBx_DDLStreet" runat="server" TextMode="MultiLine" Height="75px" Width="100%" data-label="Street"></asp:TextBox>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                        <div class="col-sm-5 col-xs-12">
                                                                            <asp:Literal ID="Literal77" runat="server" Text="<%$ Resources:Content,ComaSepStreetOrBlank%>"></asp:Literal>
                                                                        </div>
                                                                    </div>
                                                                    <div class="row" id="Tr_DLCity" runat="server" visible="false">
                                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                                            <label>
                                                                                <asp:Literal ID="Literal73" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000880%>"></asp:Literal>:</label>
                                                                        </div>
                                                                        <div class="col-sm-4 col-xs-12">
                                                                            <div class="form-group">
                                                                                <div>
                                                                                    <asp:TextBox ID="TxBx_DDLCity" runat="server" TextMode="MultiLine" Height="75px" Width="100%" data-label="City"></asp:TextBox>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                        <div class="col-sm-5 col-xs-12">
                                                                            <asp:Literal ID="Literal74" runat="server" Text="<%$ Resources:Content,ComaSepCityOrBlank%>"></asp:Literal>
                                                                        </div>
                                                                    </div>
                                                                    <div class="row" id="Tr_DLState" runat="server" visible="false">
                                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                                            <label>
                                                                                <asp:Literal ID="Literal50" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN00001313%>"></asp:Literal>:</label>
                                                                        </div>
                                                                        <div class="col-sm-4 col-xs-12">
                                                                            <div class="form-group">
                                                                                <div>
                                                                                    <asp:TextBox ID="TxBx_DDLState" runat="server" TextMode="MultiLine" Height="75px" Width="100%" data-label="State"></asp:TextBox>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                        <div class="col-sm-5 col-xs-12">
                                                                            <asp:Literal ID="Literal18" runat="server" Text="<%$ Resources:Content,Exch930%>"></asp:Literal>
                                                                        </div>
                                                                    </div>
                                                                    <div class="row" id="Tr_DLDepartment" runat="server" visible="false">
                                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                                            <label>
                                                                                <asp:Literal ID="Literal51" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000374%>"></asp:Literal>:</label>
                                                                        </div>
                                                                        <div class="col-sm-4 col-xs-12">
                                                                            <div class="form-group">
                                                                                <div>
                                                                                    <asp:TextBox ID="TxBx_DDLDepartment" runat="server" TextMode="MultiLine" Height="75px" Width="100%" data-label="Department"></asp:TextBox>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                        <div class="col-sm-5 col-xs-12">
                                                                            <asp:Literal ID="Literal117" runat="server" Text="<%$ Resources:Content,Exch931%>"></asp:Literal>
                                                                        </div>
                                                                    </div>
                                                                    <div class="row" id="Tr_DLCompany" runat="server" visible="false">
                                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                                            <label>
                                                                                <asp:Literal ID="Literal52" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN00001134%>"></asp:Literal>:</label>
                                                                        </div>
                                                                        <div class="col-sm-4 col-xs-12">
                                                                            <div class="form-group">
                                                                                <div>
                                                                                    <asp:TextBox ID="TxBx_DDLCompany" runat="server" TextMode="MultiLine" Height="75px" Width="100%" data-label="Company"></asp:TextBox>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                        <div class="col-sm-5 col-xs-12">
                                                                            <asp:Literal ID="Literal118" runat="server" Text="<%$ Resources:Content,Exch932%>"></asp:Literal>
                                                                        </div>
                                                                    </div>
                                                                    <div class="row" id="Tr_DL_Title" runat="server" visible="false">
                                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                                            <label>
                                                                                <asp:Literal ID="Literal53" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000280%>"></asp:Literal>:</label>
                                                                        </div>
                                                                        <div class="col-sm-4 col-xs-12">
                                                                            <div class="form-group">
                                                                                <div>
                                                                                    <asp:TextBox ID="TxBx_DDLTitle" runat="server" TextMode="MultiLine" Height="75px" Width="100%" data-label="Title"></asp:TextBox>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                        <div class="col-sm-5 col-xs-12">
                                                                            <asp:Literal ID="Literal11" runat="server" Text="<%$ Resources:Content,ExH213%>"></asp:Literal>
                                                                        </div>
                                                                    </div>
                                                                    <div class="row" id="Tr_DLDescription" runat="server" visible="false">
                                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                                            <label>
                                                                                <asp:Literal ID="Literal78" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000597%>"></asp:Literal>:</label>
                                                                        </div>
                                                                        <div class="col-sm-4 col-xs-12">
                                                                            <div class="form-group">
                                                                                <div>
                                                                                    <asp:TextBox ID="TxBx_DDLDescription" runat="server" TextMode="MultiLine" Height="75px" Width="100%" data-label="Description"></asp:TextBox>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                        <div class="col-sm-5 col-xs-12">
                                                                            <asp:Literal ID="Literal79" runat="server" Text="<%$ Resources:Content,ComaSepDescOrBlank%>"></asp:Literal>
                                                                        </div>
                                                                    </div>
                                                                    <div class="row" id="Tr_DL_Office" runat="server" visible="false">
                                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                                            <label>
                                                                                <asp:Literal ID="Literal54" runat="server" EnableViewState="false" Text="<%$ Resources:Content,DGN1110359%>"></asp:Literal>:</label>
                                                                        </div>
                                                                        <div class="col-sm-4 col-xs-12">
                                                                            <div class="form-group">
                                                                                <div>
                                                                                    <asp:TextBox ID="TxBx_DDLOffice" runat="server" TextMode="MultiLine" Height="75px" Width="100%" data-label="Office"></asp:TextBox>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                        <div class="col-sm-5 col-xs-12">
                                                                            <asp:Literal ID="Literal10" runat="server" Text="<%$ Resources:Content,ExH236%>"></asp:Literal>
                                                                        </div>
                                                                    </div>
                                                                    <div class="row" id="Tr_DLManager" runat="server" visible="false">
                                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                                            <label>
                                                                                <asp:Literal ID="Literal80" runat="server" EnableViewState="false" Text="<%$ Resources:Content,DGN1110360%>"></asp:Literal>:</label>
                                                                        </div>
                                                                        <div class="col-sm-4 col-xs-12">
                                                                            <div class="form-group">
                                                                                <div>
                                                                                    <asp:TextBox ID="TxBx_DLManager" runat="server" TextMode="MultiLine" Height="75px" Width="100%" data-label="Manager"></asp:TextBox>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                        <div class="col-sm-5 col-xs-12">
                                                                            <asp:Literal ID="Literal83" runat="server" Text="<%$ Resources:Content,ComaSepManagerOrBlank%>"></asp:Literal>
                                                                        </div>
                                                                    </div>
                                                                    <div class="row" id="Tr_DLDatabase" runat="server" visible="false">
                                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                                            <label>
                                                                                <asp:Literal ID="Literal85" runat="server" EnableViewState="false" Text="<%$ Resources:Content,String18%>"></asp:Literal>:</label>
                                                                        </div>
                                                                        <div class="col-sm-4 col-xs-12">
                                                                            <div class="form-group">
                                                                                <div>
                                                                                    <asp:TextBox ID="TxBx_DLDatabase" runat="server" TextMode="MultiLine" Height="75px" Width="100%" data-label="Database"></asp:TextBox>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                        <div class="col-sm-5 col-xs-12">
                                                                            <asp:Literal ID="Literal86" runat="server" Text="<%$ Resources:Content,ComaSepDatabaseOrBlank%>"></asp:Literal>
                                                                        </div>
                                                                    </div>
                                                                    <div class="row">
                                                                        <div class="col-xs-12 row-label">
                                                                            <label>
                                                                                <asp:Literal ID="Literal55" runat="server" EnableViewState="false" Text="<%$ Resources:Content,DGN1110410%>"></asp:Literal>:</label>
                                                                        </div>
                                                                    </div>
                                                                    <div class="row">
                                                                        <div class="col-xs-12">
                                                                            <EM:VirtualDropDownList ID="DDL_ManagedBy" Visible="false" runat="server" data-label="Managed By" />
                                                                            <EM:AddSelectableSelected ID="UCManagedBy" runat="server" ValidationGroup="DL" IsSelectedRequired="true" ClientSideOptimized="true" data-label="Managed By" />
                                                                        </div>
                                                                    </div>
                                                                    <div id="Tr_Members" runat="server">
                                                                        <div class="row">
                                                                            <div class="col-xs-12 row-label">
                                                                                <label>
                                                                                    <asp:Literal ID="Literal56" runat="server" EnableViewState="false" Text="<%$ Resources:Content,DGN1110100%>"></asp:Literal>:</label>
                                                                            </div>
                                                                        </div>
                                                                        <div class="row">
                                                                            <div class="col-xs-12">
                                                                                <EM:AddSelectableSelected ID="UCListMemebrs" runat="server" ClientSideOptimized="true" data-label="List Members" />
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div id="Div_ExceptDDL" runat="server" visible="false">
                                                                        <div class="row">
                                                                            <div class="col-xs-12 row-label">
                                                                                <label>
                                                                                    <asp:Literal ID="Literal2" runat="server" EnableViewState="false" Text="<%$ Resources:Content,ExceptIfRecipientIs%>"></asp:Literal>:</label>
                                                                            </div>
                                                                        </div>
                                                                        <div class="row">
                                                                            <div class="col-xs-12">
                                                                                <EM:AddSelectableSelected ID="UC_ExceptIfDDL" runat="server" ClientSideOptimized="true" data-label="Except If" />
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </ContentTemplate>
                                                            </ajax:UpdatePanel>
                                                            <div class="row">
                                                                <div class="col-xs-12">
                                                                    <asp:Button ID="Btn_AddDistbLst" ValidationGroup="DL" runat="server" CssClass="btn btn-primary waves-effect btnAction"
                                                                        Text="<%$ Resources:Content,GN0000281%>" />
                                                                    <asp:Button ID="Btn_CancelDLAdd" CausesValidation="false" runat="server" CssClass="btn btn-primary waves-effect"
                                                                        Text="<%$ Resources:Content,GN0000572%>" />
                                                                    <asp:ValidationSummary ID="VS_DL" runat="server" ValidationGroup="DL" HeaderText='<%$ Resources:Content, EM000001 %>'
                                                                        ShowMessageBox="true" ShowSummary="false" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </asp:Panel>
                                        </asp:Panel>
                                        <%--Distribution List Detail--%>
                                        <asp:Panel CssClass="row" ID="Pnl_DistListDetail" runat="server" Visible="false">
                                            <div class="col-xs-12">
                                                <div class="card">
                                                    <div class="header">
                                                        <div class="displayInlineBlock">
                                                            <h2>
                                                                <asp:Literal ID="Literal72" runat="server" EnableViewState="false" Text="<%$ Resources:Content,DGN1110543%>" />
                                                                <asp:Label ID="lbl_DistListName" runat="server" /></h2>
                                                        </div>
                                                        <asp:LinkButton ID="lb_DistListGoBack" runat="server" Text="<%$ Resources:Content,DGN1110542 %>" CausesValidation="false"
                                                            CssClass="btn btn-primary waves-effect pull-right m-t--4px" />
                                                    </div>
                                                    <div class="body">
                                                        <EM:DistributionListDetail ID="DistributionListDetail" runat="server" />
                                                    </div>
                                                </div>
                                            </div>
                                        </asp:Panel>
                                        <EM:BulkDistributionList ID="BulkDistributionList1" Visible="false" runat="server" />

                                        <%--Group Operations --%>
                                        <div class="row" id="Div_DLGroupActions" runat="server" visible="false">
                                            <div class="col-xs-12">
                                                <div class="card">
                                                    <div class="header">
                                                        <div class="displayInlineBlock">
                                                            <h2><%= Resources.Content.String7772 %></h2>
                                                        </div>
                                                        <asp:Button ID="LB_GOBackDLGroupActions" runat="server" Text="<%$ Resources:Content,DGN1110542 %>" CausesValidation="false"
                                                            CssClass="btn btn-primary waves-effect pull-right m-t--4px" />
                                                    </div>
                                                    <div class="body">
                                                        <EM:DLGroupActions ID="DLGroupActions1" Visible="false" runat="server" />
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                            <EM:TabPanel Enabled="false" ID="Tab_PublicFolder" runat="server" HeaderText="<%$ Resources:Content,DGN1110416%>">
                                <ContentTemplate>
                                    <asp:Button ID="Btn_Tab5" runat="server" Style="display: none;" />
                                    <asp:Panel ID="Pnl_TabContent5" runat="server" Visible="false">
                                        <EM:PublicFolder ID="PublicFolder1" runat="server" />
                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                            <%--Wireless Service--%>
                            <EM:TabPanel ID="Tab_Wireless" runat="server" HeaderText="<%$ Resources:Content,SM025 %>">
                                <ContentTemplate>
                                    <asp:Button ID="Btn_Tab6" runat="server" Style="display: none;" />
                                    <asp:Panel ID="Pnl_TabContent6" runat="server" Visible="false">
                                        <div class="row">
                                            <div class="col-xs-12 row-label" id="Div_ServicenotAvailable" runat="server" visible="false">
                                                <asp:Label ID="Label18" runat="server" Text="<%$ Resources:Content,L0037%>" EnableViewState="false"
                                                    ForeColor="red"></asp:Label>
                                            </div>
                                        </div>
                                        <div id="Div_WirelessSettings" runat="server">
                                            <asp:Panel ID="Pnl_Btn_Search" runat="server" CssClass="row" DefaultButton="Btn_Search">
                                                <div class="panel-group search-panel" id="AS_Wireless" role="tablist" aria-multiselectable="true">
                                                    <div class="col-xs-12" role="tab" id="SH_Wireless">
                                                        <div class="card">
                                                            <div class="header" role="button" data-toggle="collapse" data-parent="#AS_Wireless" href="#<%= CSB_Wireless.ClientID%>" aria-expanded="true" aria-controls="SH_Wireless">
                                                                <h3>
                                                                    <%= Resources.Content.GN0000395%>
                                                                </h3>
                                                            </div>
                                                            <div id="CSB_Wireless" runat="server" class="body panel-collapse collapse" role="tabpanel" aria-labelledby="SH_Wireless" aria-expanded="false">
                                                                <div class="row">
                                                                    <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_Name" runat="server"></asp:TextBox>
                                                                                <asp:Label ID="Label8" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN00001113%>" CssClass="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_EmailAddress" runat="server"></asp:TextBox>
                                                                                <asp:Label ID="Label9" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000491%>" CssClass="form-label"></asp:Label>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="col-md-3 col-sm-6 col-xs-12">
                                                                        <div class="form-group form-float">
                                                                            <asp:DropDownList ID="DDL_Provider" runat="server">
                                                                            </asp:DropDownList>
                                                                        </div>
                                                                    </div>
                                                                    <div class="col-md-3 col-sm-6 col-xs-12">
                                                                        <div class="form-group form-float">
                                                                            <asp:DropDownList ID="DDL_Status" runat="server">
                                                                                <asp:ListItem Text="<%$ Resources:Content, SelectStatus %>" Selected="True" Value="-1"></asp:ListItem>
                                                                                <asp:ListItem Text="<%$ Resources:Content, SPT002207 %>" Value="1"></asp:ListItem>
                                                                                <asp:ListItem Text="<%$ Resources:Content, SPT002209 %>" Value="2"></asp:ListItem>
                                                                                <asp:ListItem Text="<%$ Resources:Content,String445%>" Value="3"></asp:ListItem>
                                                                            </asp:DropDownList>
                                                                        </div>
                                                                    </div>
                                                                    <div class="col-xs-12">
                                                                        <div class="form-group form-float">
                                                                            <asp:Button ID="Btn_Search" runat="server" CssClass="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN0000391%>" />
                                                                            <asp:Button ID="Btn_Clear" Visible="false" CssClass="btn btn-primary waves-effect" runat="server"
                                                                                Text="<%$ Resources:Content,String289 %>" />
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </asp:Panel>
                                            <div class="row">
                                                <div class="col-xs-12">
                                                    <asp:GridView CssClass="table table-bordered table-striped table-hover" EmptyDataText="<%$ Resources:Content, GN00001375 %>"
                                                        ID="GV_List" AllowPaging="True" runat="server" AutoGenerateColumns="False">

                                                        <Columns>
                                                            <asp:TemplateField HeaderText="<%$ Resources:Content,GN00001113%>" HeaderStyle-CssClass="col-xs-3" ItemStyle-CssClass="col-xs-3">
                                                                <ItemTemplate>
                                                                    <asp:LinkButton ID="Lbl_Name" CommandName="ShowMailbox" Text='<%#DataBinder.Eval(Container, "DataItem.MailBoxDisplayName")%>'
                                                                        runat="server"></asp:LinkButton>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="<%$ Resources:Content,GN0000491 %>" HeaderStyle-CssClass="col-xs-4" ItemStyle-CssClass="col-xs-4">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="Lbl_EmailAddress" Text='<%#DataBinder.Eval(Container, "DataItem.EmailAddress")%>'
                                                                        runat="server"></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="<%$ Resources:Content,DGN1110096%>" HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="Lbl_Provider" runat="server"></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="<%$ Resources:Content, SPT002206%>" HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                                <ItemTemplate>

                                                                    <asp:Label ID="Lbl_DeviceStatus" runat="server" Text="<%$ Resources:Content,String445%>" />
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="<%$ Resources:Content, GN0000360 %>" HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                                <ItemTemplate>
                                                                    <asp:LinkButton ID="Lb_Manage" CssClass="btn btn-primary waves-effect btnAction"
                                                                        runat="server" CommandName="Manage" />
                                                                    <EM:ConfirmButtonExtender ID="CBE_Remove" runat="server" ConfirmText="<%$ Resources:Content,String446%>"
                                                                        TargetControlID="Lb_Manage">
                                                                    </EM:ConfirmButtonExtender>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                        </Columns>
                                                        <%--PagerTemplate Start--%>
                                                        <PagerTemplate>
                                                            <EM:Pager ID="Pager5" runat="server" />
                                                        </PagerTemplate>
                                                        <%--PagerTemplate End--%>
                                                    </asp:GridView>
                                                </div>
                                            </div>
                                        </div>

                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                            <EM:TabPanel ID="Tab_Rules" runat="server" HeaderText="<%$ Resources:Content,GN0000573%>">
                                <ContentTemplate>
                                    <asp:Button ID="Btn_Tab7" runat="server" Style="display: none;" />
                                    <asp:Panel ID="Pnl_TabContent7" runat="server" Visible="false">
                                        <div class="row">
                                            <div class="col-xs-12">
                                                <div class="products-step">
                                                    <span id="div_Disclaimer" runat="server" nowrap="true" class="label label-success">
                                                        <asp:LinkButton ID="LB_Disclaimer" runat="server" Text='<%$ Resources:Content, EX0909 %>' />
                                                    </span>
                                                    <span id="div_Signatures" runat="server" nowrap="true" class="label label-default">
                                                        <asp:LinkButton ID="LB_Signatures" runat="server" Text='<%$ Resources:Content, Signatures %>' />
                                                    </span>
                                                    <span id="div_TransportRules" runat="server" nowrap="true" class="label label-default">
                                                        <asp:LinkButton ID="LB_TransportRules" runat="server" Text='<%$ Resources:Content, TransportRules %>' />
                                                    </span>
                                                    <span id="Span7" runat="server" nowrap="true" class="label label-default">
                                                        <asp:LinkButton ID="LinkButton7" runat="server" Text='' />
                                                    </span>
                                                </div>
                                            </div>
                                        </div>

                                        <EM:Disclaimer ID="Disclaimer1" runat="server" Visible="false" />
                                        <EM:Signatures ID="Signatures1" runat="server" Visible="false" />
                                        <EM:TransportRules ID="TransportRules1" runat="server" Visible="false" />
                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                            <EM:TabPanel ID="Tab_GroupActions" runat="server" HeaderText="<%$ Resources:Content,strGroupActionsLog%>">
                                <ContentTemplate>
                                    <asp:Button ID="Btn_Tab8" runat="server" Style="display: none;" />
                                    <asp:Panel ID="Pnl_TabContent8" runat="server" Visible="false">
                                        <EM:GroupActions ID="GroupActions1" runat="server" />
                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                            <EM:TabPanel ID="Tab_ComplianceManagement" runat="server" HeaderText="<%$ Resources:Content,ComplianceManagement%>">
                                <ContentTemplate>
                                    <asp:Button ID="Btn_Tab9" runat="server" Style="display: none;" />
                                    <asp:Panel ID="Pnl_TabContent9" runat="server" Visible="false">
                                        <div class="row">
                                            <div class="col-xs-12">
                                                <div class="products-step">
                                                    <span id="div_Tag" runat="server" nowrap="true" class="label label-success">
                                                        <asp:LinkButton ID="lb_Tag" runat="server" Text='<%$ Resources:Content, Exch048 %>' />
                                                    </span>
                                                    <span id="div_Policy" runat="server" nowrap="true" class="label label-default">
                                                        <asp:LinkButton ID="lb_Policy" runat="server" Text='<%$ Resources:Content, Exch049 %>' />
                                                    </span>
                                                    <span id="div_LitigationHold" runat="server" nowrap="true" class="label label-default" visible="false">
                                                        <asp:LinkButton ID="lb_LitigationHold" runat="server" Text='<%$ Resources:Content, FAM0092 %>' />
                                                    </span>
                                                    <span id="div_InPlaceHold" runat="server" nowrap="true" class="label label-default" visible="false">
                                                        <asp:LinkButton ID="lb_InPlaceHold" runat="server" Text='<%$ Resources:Content, InPlaceHold %>' />
                                                    </span>
                                                    <span id="div_Auditing" runat="server" nowrap="true" class="label label-default" visible="false">
                                                        <asp:LinkButton ID="lb_Auditing" runat="server" Text='<%$ Resources:Content, Auditing %>' />
                                                    </span>
                                                    <span id="div_Journaling" runat="server" nowrap="true" class="label label-default" visible="false">
                                                        <asp:LinkButton ID="LB_Journaling" runat="server" Text='<%$ Resources:Content, JournalRules %>' />
                                                    </span>
                                                    <span id="div1" runat="server" nowrap="true" class="label label-default">
                                                        <asp:LinkButton ID="lb_Advanced1" runat="server" Text='' />
                                                    </span>
                                                </div>
                                            </div>
                                        </div>
                                        <EM:Retention ID="Retention1" runat="server" Visible="false" />
                                        <EM:Journaling ID="Journaling1" runat="server" Visible="false" />
                                        <EM:InPlaceHold ID="InPlaceHold1" runat="server" Visible="false" />
                                        <EM:LH ID="LH1" runat="server" Visible="false" />
                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                            <EM:TabPanel ID="Tab_SPAMFilters" runat="server" HeaderText="<%$ Resources:Content,Exch0005%>">
                                <ContentTemplate>
                                    <asp:Button ID="Btn_Tab10" runat="server" Style="display: none;" />
                                    <asp:Panel ID="Pnl_TabContent10" runat="server" Visible="false">
                                        <EM:SPAMFilters ID="SPAMFilters1" runat="server" />
                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                            <EM:TabPanel ID="Tab_MobileDevicePolicy" runat="server" HeaderText="<%$ Resources:Content,MPo014%>">
                                <ContentTemplate>
                                    <asp:Button ID="Btn_Tab11" runat="server" Style="display: none;" />
                                    <asp:Panel ID="Pnl_TabContent11" runat="server" Visible="false">
                                        <EM:MobilePolicy ID="MobilePolicy1" runat="server" />
                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                            <EM:TabPanel ID="Tab_Impersonation" runat="server" HeaderText="<%$ Resources:Content,AppImpersonation%>" Enabled="false">
                                <ContentTemplate>
                                    <asp:Button ID="Btn_Tab12" runat="server" Style="display: none;" />
                                    <asp:Panel ID="Pnl_TabContent12" runat="server" Visible="false">
                                        <UC:Impersonation ID="Impersonation1" runat="server" />
                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                            <EM:TabPanel ID="Tab_WhiteBlackList" runat="server" HeaderText="<%$ Resources:Content,WhiteNBlackLists%>" Enabled="false">
                                <ContentTemplate>
                                    <asp:Button ID="Btn_Tab13" runat="server" Style="display: none;" />
                                    <asp:Panel ID="Pnl_TabContent13" runat="server" Visible="false">
                                        <div class="row">
                                            <div class="col-xs-12">
                                                <div class="card">
                                                    <div class="header">
                                                        <h2>
                                                            <asp:Label ID="Label2" runat="server" Text='<%$ Resources:Content,WhiteList%>' EnableViewState="false"></asp:Label></h2>
                                                    </div>
                                                    <div class="body">
                                                        <div class="row">
                                                            <div class="col-xs-12 row-label">
                                                                <label>
                                                                    <asp:Literal ID="Literal45" runat="server" EnableViewState="false" Text='<%$ Resources:Content,String288%>'></asp:Literal>:</label>
                                                            </div>
                                                            <div class="col-xs-12">
                                                                <asp:TextBox ID="TxBx_WhiteListDomains" runat="server" Height="150px" TextMode="MultiLine" />
                                                            </div>
                                                            <div class="col-xs-12 row-label">
                                                                <asp:Label ID="Label6" runat="server" Text="<%$ Resources:Content,SpecifyCommaSeparatedDomains %>" />
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-xs-12 row-label">
                                                                <label>
                                                                    <asp:Literal ID="Literal58" runat="server" EnableViewState="false" Text='<%$ Resources:Content,FAM0074%>'></asp:Literal>:</label>
                                                            </div>
                                                            <div class="col-xs-12">
                                                                <asp:TextBox ID="TxBx_WhiteListEmails" runat="server" Height="150px" TextMode="MultiLine" />
                                                            </div>
                                                            <div class="col-xs-12 row-label">
                                                                <asp:Label ID="Label11" runat="server" Text="<%$ Resources:Content,SpecifyCommaSeparatedEmails %>" />
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-xs-12 row-label">
                                                                <label>
                                                                    <asp:Literal ID="Literal59" runat="server" EnableViewState="false" Text='<%$ Resources:Content,Networks%>'></asp:Literal>:</label>
                                                            </div>
                                                            <div class="col-xs-12">
                                                                <asp:TextBox ID="TxBx_WhiteListNetworks" runat="server" Height="150px" TextMode="MultiLine" />
                                                            </div>
                                                            <div class="col-xs-12 row-label">
                                                                <asp:Label ID="Label12" runat="server" Text="<%$ Resources:Content,SpecifyCommaSeparatedNetworks %>" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="col-xs-12">
                                                <div class="card">
                                                    <div class="header">
                                                        <h2>
                                                            <asp:Label ID="Label4" runat="server" Text='<%$ Resources:Content,BlackList%>' EnableViewState="false"></asp:Label></h2>
                                                    </div>
                                                    <div class="body">
                                                        <div class="row">
                                                            <div class="col-xs-12 row-label">
                                                                <label>
                                                                    <asp:Literal ID="Literal57" runat="server" EnableViewState="false" Text='<%$ Resources:Content,String288%>'></asp:Literal>:</label>
                                                            </div>
                                                            <div class="col-xs-12">
                                                                <asp:TextBox ID="TxBx_BlackListDomains" runat="server" Height="150px" TextMode="MultiLine" />
                                                            </div>
                                                            <div class="col-xs-12 row-label">
                                                                <asp:Label ID="Label10" runat="server" Text="<%$ Resources:Content,SpecifyCommaSeparatedDomains %>" />
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-xs-12 row-label">
                                                                <label>
                                                                    <asp:Literal ID="Literal60" runat="server" EnableViewState="false" Text='<%$ Resources:Content,FAM0074%>'></asp:Literal>:</label>
                                                            </div>
                                                            <div class="col-xs-12">
                                                                <asp:TextBox ID="TxBx_BlackListEmails" runat="server" Height="150px" TextMode="MultiLine" />
                                                            </div>
                                                            <div class="col-xs-12 row-label">
                                                                <asp:Label ID="Label13" runat="server" Text="<%$ Resources:Content,SpecifyCommaSeparatedEmails %>" />
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-xs-12 row-label">
                                                                <label>
                                                                    <asp:Literal ID="Literal61" runat="server" EnableViewState="false" Text='<%$ Resources:Content,Networks%>'></asp:Literal>:</label>
                                                            </div>
                                                            <div class="col-xs-12">
                                                                <asp:TextBox ID="TxBx_BlackListNetworks" runat="server" Height="150px" TextMode="MultiLine" />
                                                            </div>
                                                            <div class="col-xs-12 row-label">
                                                                <asp:Label ID="Label14" runat="server" Text="<%$ Resources:Content,SpecifyCommaSeparatedNetworks %>" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="col-xs-12">
                                                <asp:Button ID="Btn_SaveWhiteNBlackList" runat="server" Text="<%$ Resources:Content,DGN1110422%>" CausesValidation="false"
                                                    CssClass="btn btn-primary waves-effect" />
                                                <asp:Button ID="Btn_ClearWhiteNBlackList" runat="server" Text="<%$ Resources:Content,ClearWhiteNBlackList%>" CausesValidation="false"
                                                    CssClass="btn btn-primary waves-effect" />
                                            </div>
                                        </div>
                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>

                            <EM:TabPanel ID="Tab_OrganizationSpecificPermissions" runat="server" HeaderText="<%$ Resources:Content,CalendarPermissions %>">
                                <ContentTemplate>
                                    <asp:Button ID="Btn_Tab14" runat="server" Style="display: none;" />
                                    <asp:Panel ID="Pnl_TabContent14" runat="server" Visible="false">

                                        <asp:Panel ID="Pnl_Add" runat="server" Visible="false">
                                            <div class="row">
                                                <div class="col-xs-12">
                                                    <div class="card">
                                                        <div class="header">
                                                            <h3>
                                                                <%= Resources.Content.M0027%>
                                                            </h3>
                                                        </div>
                                                        <div class="body">
                                                            <%--<div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal62" runat="server" EnableViewState="false" Text="<%$ Resources:Content,strOrganization %>"></asp:Literal>:
                                                        </div>
                                                        <div class="col-sm-4 col-xs-12">
                                                            <asp:DropDownList ID="Ddl_SelectOrganization" runat="server" AutoPostBack="true"></asp:DropDownList>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-xs-12 row-label">
                                                            <asp:Literal ID="Literal63" runat="server" EnableViewState="false" Text="<%$ Resources:Content,strPermissions %>"></asp:Literal>:
                                                        </div>
                                                    </div>--%>

                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal64" runat="server" EnableViewState="false" Text="<%$ Resources:Content,strAnonymous %>"></asp:Literal>:
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <asp:DropDownList ID="DDL_OrgAnonymous" runat="server" data-label="Anonymous">
                                                                            <asp:ListItem Text="<%$ Resources:Content,GN0000918 %>" Value="none" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,AvailabilityOnly %>" Value="availabilityonly" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,LimitedDetails %>" Value="limiteddetails" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,Exh501 %>" Value="author" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,Exh502 %>" Value="contributor" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,Exh503 %>" Value="editor" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,Exh504 %>" Value="noneditingauthor" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,Exh505 %>" Value="owner" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,Exh507 %>" Value="publishingauthor" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,Exh508 %>" Value="publishingeditor" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,Exh506 %>" Value="reviewer" />
                                                                        </asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal65" runat="server" EnableViewState="false" Text="<%$ Resources:Content,strDefault %>"></asp:Literal>:
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <asp:DropDownList ID="DDL_OrgDefault" runat="server" data-label="Default">
                                                                            <asp:ListItem Text="<%$ Resources:Content,GN0000918 %>" Value="none" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,AvailabilityOnly %>" Value="availabilityonly" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,LimitedDetails %>" Value="limiteddetails" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,Exh501 %>" Value="author" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,Exh502 %>" Value="contributor" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,Exh503 %>" Value="editor" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,Exh504 %>" Value="noneditingauthor" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,Exh505 %>" Value="owner" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,Exh507 %>" Value="publishingauthor" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,Exh508 %>" Value="publishingeditor" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,Exh506 %>" Value="reviewer" />
                                                                        </asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Ltl_DefaultExchangeSGofOrg" runat="server" EnableViewState="false" Text="<%$ Resources:Content,strDefaultExchangeSGofOrg %>"></asp:Literal>:
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <asp:DropDownList ID="DDL_OrgDefaultExchangeSGofOrg" runat="server" data-label="Default Exchange Security Group">
                                                                            <asp:ListItem Text="<%$ Resources:Content,GN0000918 %>" Value="none" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,AvailabilityOnly %>" Value="availabilityonly" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,LimitedDetails %>" Value="limiteddetails" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,Exh501 %>" Value="author" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,Exh502 %>" Value="contributor" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,Exh503 %>" Value="editor" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,Exh504 %>" Value="noneditingauthor" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,Exh505 %>" Value="owner" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,Exh507 %>" Value="publishingauthor" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,Exh508 %>" Value="publishingeditor" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,Exh506 %>" Value="reviewer" />
                                                                        </asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal67" runat="server" EnableViewState="false" Text="<%$ Resources:Content,strCustomPermissions %>"></asp:Literal>:
                                                                </div>
                                                                <div class="col-xs-12">
                                                                    <asp:GridView CssClass="table table-bordered table-striped table-hover" EmptyDataText="<%$ Resources:Content, GN00001375 %>"
                                                                        ID="GV_CustomOrgPermission" AllowPaging="False" runat="server" AutoGenerateColumns="false">

                                                                        <Columns>
                                                                            <asp:TemplateField HeaderText='<%$ Resources:Content, strGroups %>' HeaderStyle-CssClass="col-xs-4" ItemStyle-CssClass="col-xs-4">
                                                                                <ItemTemplate>
                                                                                    <asp:Label ID="LB_Group" runat="server" />
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="<%$ Resources:Content,strPermissions%>" HeaderStyle-CssClass="col-xs-4" ItemStyle-CssClass="col-xs-4">
                                                                                <ItemTemplate>
                                                                                    <asp:Label ID="LB_Permission" runat="server"></asp:Label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText='<%$ Resources:Content, GN0000360 %>' HeaderStyle-CssClass="col-xs-3">
                                                                                <ItemTemplate>
                                                                                    <asp:LinkButton ID="LB_Remove" runat="server" Text="<%$ Resources:Content,strRemove %>"
                                                                                        CssClass="btn btn-primary waves-effect btnAction" CommandName="RemovePermission" />
                                                                                    <EM:ConfirmButtonExtender ID="CBE_Remove" runat="server" ConfirmText="<%$Resources:Content,strRemovePermissionConfirm%>"
                                                                                        TargetControlID="LB_Remove">
                                                                                    </EM:ConfirmButtonExtender>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                        </Columns>
                                                                    </asp:GridView>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="card">
                                                        <div class="header">
                                                            <h3>
                                                                <%= Resources.Content.strAddCustomPermission%>
                                                            </h3>
                                                        </div>
                                                        <div class="body">
                                                            <div class="row">
                                                                <div class="col-sm-2 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal68" runat="server" EnableViewState="false" Text="<%$ Resources:Content,strSelectGroup %>"></asp:Literal>:
                                                                </div>
                                                                <div class="col-sm-3 col-xs-12">
                                                                    <asp:DropDownList ID="DDL_GroupDistributionList" runat="server" data-label="Group"></asp:DropDownList>
                                                                </div>
                                                                <div class="col-sm-2 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal69" runat="server" EnableViewState="false" Text="<%$ Resources:Content,strPermission %>"></asp:Literal>:
                                                                </div>
                                                                <div class="col-sm-3 col-xs-12">
                                                                    <asp:DropDownList ID="DDL_OrgCusPermission" runat="server" data-label="Permission">
                                                                        <asp:ListItem Text="<%$ Resources:Content,GN0000918 %>" Value="none" />
                                                                        <asp:ListItem Text="<%$ Resources:Content,AvailabilityOnly %>" Value="availabilityonly" />
                                                                        <asp:ListItem Text="<%$ Resources:Content,LimitedDetails %>" Value="limiteddetails" />
                                                                        <asp:ListItem Text="<%$ Resources:Content,Exh501 %>" Value="author" />
                                                                        <asp:ListItem Text="<%$ Resources:Content,Exh502 %>" Value="contributor" />
                                                                        <asp:ListItem Text="<%$ Resources:Content,Exh503 %>" Value="editor" />
                                                                        <asp:ListItem Text="<%$ Resources:Content,Exh504 %>" Value="noneditingauthor" />
                                                                        <asp:ListItem Text="<%$ Resources:Content,Exh505 %>" Value="owner" />
                                                                        <asp:ListItem Text="<%$ Resources:Content,Exh507 %>" Value="publishingauthor" />
                                                                        <asp:ListItem Text="<%$ Resources:Content,Exh508 %>" Value="publishingeditor" />
                                                                        <asp:ListItem Text="<%$ Resources:Content,Exh506 %>" Value="reviewer" />
                                                                    </asp:DropDownList>
                                                                </div>
                                                                <div class="col-sm-2 col-xs-12">
                                                                    <asp:Button ID="Btn_AddOrgCusPermission" runat="server" Text="<%$ Resources:Content,strAdd%>" CssClass="btn btn-primary btnAction" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row">
                                                <div class="col-xs-12">
                                                    <asp:Button ID="Btn_SavePer" runat="server" Text="<%$ Resources:Content,strSave%>" CssClass="btn btn-primary btnAction" />
                                                    <asp:Button ID="Btn_SaveAndApply" runat="server" Text="<%$ Resources:Content,strSaveAndApply%>" CssClass="btn btn-primary btnAction" />
                                                </div>
                                            </div>
                                        </asp:Panel>
                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                            <EM:TabPanel ID="Tab_ImportRecipientSettings" runat="server" HeaderText="<%$ Resources:Content,StrUpdateRecipientSettings %>" Enabled="false">
                                <ContentTemplate>
                                    <asp:Button ID="Btn_Tab15" runat="server" Style="display: none;" />
                                    <asp:Panel ID="Pnl_TabContent15" runat="server" Visible="false">
                                        <UC:ImportRecipientSettings ID="ImportRecipientSettings1" runat="server" />
                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                            <EM:TabPanel ID="Tab_MailboxTemplates" runat="server" HeaderText="<%$ Resources:Content,Ex101 %>" Enabled="false">
                                <ContentTemplate>
                                    <asp:Button ID="Btn_Tab16" runat="server" Style="display: none;" />
                                    <asp:Panel ID="Pnl_TabContent16" runat="server" Visible="false">
                                        <UC:MailboxTemplates ID="UC_MailboxTemplates" runat="server" />
                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                            <EM:TabPanel ID="Tab_MailUsers" runat="server" HeaderText="<%$ Resources:Content,MailUsers %>">
                                <ContentTemplate>
                                    <asp:Button ID="Btn_Tab17" runat="server" Style="display: none;" />
                                    <asp:Panel ID="Pnl_TabContent17" runat="server" Visible="false">
                                        <UC:MailUsers ID="UC_MailUsers" runat="server" />
                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                            <EM:TabPanel ID="Tab_OWAPolicies" runat="server" Enabled="true" HeaderText="<%$ Resources:Content,OWAMailboxPolicies %>">
                                <ContentTemplate>
                                    <asp:Button ID="Btn_Tab18" runat="server" Style="display: none;" />
                                    <asp:Panel ID="Pnl_TabContent18" Visible="False" runat="server">

                                        <div id="Div_OWAPoliciesListing" runat="server">
                                            <%--Start Search box--%>
                                            <asp:Panel ID="Pnl_OWAPoliciesFilter" runat="server" DefaultButton="Btn_FilterOWAPolicies">
                                                <div class="row">
                                                    <div class="panel-group search-panel" id="AS_OWAPolicies" role="tablist" aria-multiselectable="true">
                                                        <div class="col-xs-12" role="tab" id="SH_OWAPolicies">
                                                            <div class="card">
                                                                <div class="header" role="button" data-toggle="collapse" data-parent="#AS_OWAPolicies" href="#<%= CSB_OWAPolicies.ClientID%>" aria-expanded="true" aria-controls="SH_OWAPolicies">
                                                                    <h3>
                                                                        <%= Resources.Content.GN0000395%>
                                                                    </h3>
                                                                </div>
                                                                <div id="CSB_OWAPolicies" runat="server" class="body panel-collapse collapse" role="tabpanel" aria-labelledby="SH_OWAPolicies" 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_ServerGroupFilter" 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_PolicyNameFilter" runat="server"></asp:TextBox>
                                                                                    <asp:Label ID="Label15" runat="server" EnableViewState="false" Text="<%$ Resources:Content,L00189%>" class="form-label"></asp:Label>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                        <div class="col-xs-12">
                                                                            <div class="form-group form-float">
                                                                                <asp:Button ID="Btn_FilterOWAPolicies" runat="server" class="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN0000395%>" />
                                                                                <asp:Button ID="Btn_ClearOWAPolicies" 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 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_AddOWAPolicies" class="btn btn-primary waves-effect btnAction" runat="server"
                                                                Text='<%$ Resources:Content,AddNewPolicy %>' />
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="col-xs-12">
                                                    <asp:GridView ID="GV_OWAPolicies" CssClass="table table-bordered table-striped table-hover" AllowSorting="true" AllowPaging="false"
                                                        EmptyDataText='<%$ Resources:Content, GN00001375 %>' runat="server" AutoGenerateColumns="False">

                                                        <Columns>
                                                            <%--<asp:TemplateField HeaderText='<%$ Resources:Content, GN0000971 %>' HeaderStyle-CssClass="col-xs-3" ItemStyle-CssClass="col-xs-3">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="Lbl_ServerGroupName" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.ServerGroupName") %>' />
                                                                </ItemTemplate>
                                                            </asp:TemplateField>--%>
                                                            <asp:TemplateField HeaderText='<%$ Resources:Content, L00189 %>' HeaderStyle-CssClass="col-xs-7" ItemStyle-CssClass="col-xs-7">
                                                                <ItemTemplate>
                                                                    <asp:Literal ID="Ltl_Name" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.PolicyName") %>' />
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText='<%$ Resources:Content, IsDefault %>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="Lbl_Default" runat="server" Text='<%# IIf(DataBinder.Eval(Container, "DataItem.IsDefault"), Resources.Content.strYes, Resources.Content.strNo) %>' />
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText='<%$ Resources:Content, SMI666 %>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="Lbl_InUse" runat="server" Text='<%# IIf(DataBinder.Eval(Container, "DataItem.InUse"), Resources.Content.strYes, Resources.Content.strNo) %>' />
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText='<%$ Resources:Content, GN0000360 %>' HeaderStyle-CssClass="col-xs-3" ItemStyle-CssClass="col-xs-3">
                                                                <ItemTemplate>
                                                                    <asp:LinkButton ID="LB_Edit" runat="server" CommandName="EditPolicy" class="btn btn-primary waves-effect"
                                                                        CommandArgument='<%# DataBinder.Eval(Container, "DataItem.OrgOWAPolicyId") %>' Text="<%$ Resources:Content,GN0000276%>" />
                                                                    <asp:LinkButton ID="LB_Remove" CommandName="RemovePolicy" class="btn btn-primary waves-effect btnAction"
                                                                        runat="server" Text="<%$ Resources:Content,GN0000278%>" CommandArgument='<%# DataBinder.Eval(Container, "DataItem.OrgOWAPolicyId") & "↝" & DataBinder.Eval(Container, "DataItem.PolicyName") %>' />
                                                                    <EM:ConfirmButtonExtender ID="CBE_Remove" ConfirmText="<%$ Resources:Content,GN000200%>"
                                                                        TargetControlID="LB_Remove" runat="server">
                                                                    </EM:ConfirmButtonExtender>

                                                                    <%--<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>
                                                                                    </li>

                                                                                <li>
                                                                                    </li>

                                                                            </ul>
                                                                        </li>
                                                                    </ul>--%>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                        </Columns>
                                                        <%--PagerTemplate Start--%>
                                                        <PagerTemplate>
                                                            <EM:Pager ID="Pager1" runat="server" />
                                                        </PagerTemplate>
                                                        <%--PagerTemplate End--%>
                                                    </asp:GridView>
                                                </div>
                                            </div>
                                        </div>

                                        <div class="row" id="Div_OWAPoliciesAddEdit" runat="server" visible="false">
                                            <UC:AddEditOWAPolicy ID="AddEditOWAPolicy1" runat="server" />
                                        </div>

                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                        </EM:TabContainer>
                    </div>
                </div>
            </div>

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

            <asp:Button ID="Btn_Display2" runat="server" Style="display: none;" />
            <asp:Panel ID="Pnl_ValidateDNS" runat="server" CssClass="width-modal-popup-auto" Style="display: none">
                <div class="card">
                    <div class="body">
                        <div class="row">
                            <div class="col-xs-12" id="Div_DNSValidateReport" runat="server" style="padding: 20px;">
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-xs-12" style="padding-left: 20px;">
                                <asp:Button ID="Btn_CloseDNSValidate" runat="server" Text="<%$ Resources:Content,GN000150 %>"
                                    CssClass="btn btn-primary waves-effect" />
                            </div>
                        </div>
                    </div>
                </div>

            </asp:Panel>
            <EM:ModalPopupExtender runat="server" ID="MPE_ValidateDNS" BackgroundCssClass="modalBackground"
                DropShadow="false" PopupControlID="Pnl_ValidateDNS" TargetControlID="Btn_Display2"
                OkControlID="Btn_CloseDNSValidate">
            </EM:ModalPopupExtender>

            <asp:Button ID="Button1" runat="server" CssClass="btn-dummy" />
            <asp:Button ID="Button2" runat="server" CssClass="btn-dummy" />
            <EM:ModalPopupExtender runat="server" ID="MPE_ExportPST" BackgroundCssClass="modalBackground"
                DropShadow="false" CancelControlID="Btn_Close" PopupControlID="Pnl_ExportPST" TargetControlID="Button1"
                OkControlID="Button2">
            </EM:ModalPopupExtender>

            <asp:Panel ID="Pnl_ExportPST" runat="server" CssClass="width-modal-popup-auto" Style="display: none">
                <div class="col-xs-12">
                    <div class="card">
                        <div class="header container-fluid">
                            <h3 class="pull-left"><%= Resources.Content.ExportPST%></h3>
                            <span>
                                <button type="button" class="close" onclick="$find('<%=MPE_ExportPST.ClientID%>').hide();">&times;</button>
                            </span>
                        </div>
                        <div class="body">
                            <asp:HiddenField ID="HF_JobID" runat="server" />
                            <asp:HiddenField ID="HF_MailboxID" runat="server" />

                            <div id="Div_AddPST" runat="server">
                                <div class="row">
                                    <div class="col-sm-4 col-xs-12 row-label">
                                        <asp:Literal ID="Literal3" runat="server" Text="<%$Resources:Content,DGN1110339%>" EnableViewState="false"></asp:Literal>:
                                    </div>
                                    <div class="col-sm-8 col-xs-12">
                                        <label>
                                            <asp:Literal ID="Lbl_Mailbox" runat="server" /></label>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-4 col-xs-12 row-label">
                                        <asp:Literal ID="Literal8" runat="server" Text="<%$Resources:Content,EmailaddressforPSTdownloadlink%>" EnableViewState="false"></asp:Literal>:
                                    </div>
                                    <div class="col-sm-8 col-xs-12">
                                        <asp:TextBox ID="TxBx_EmailaddressforPSTdownloadlink" runat="server" TextMode="MultiLine" Rows="3" CssClass="col-xs-12" MaxLength="250"></asp:TextBox>
                                        <label>(<%=Resources.Content.String597%>)</label>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-4 col-xs-12"></div>
                                    <div class="col-sm-8 col-xs-12">
                                        <label><b><%=Resources.Content.ExportPSTNote%></b></label>
                                    </div>
                                </div>

                                <div class="row">
                                    <div class="col-sm-4 col-xs-12 row-label">
                                        <asp:Literal ID="Literal38" runat="server" Text="<%$Resources:Content,String599%>" EnableViewState="false"></asp:Literal>:
                                    </div>
                                    <div class="col-sm-2 col-xs-12">
                                        <div class="form-group">
                                            <div class="form-line">
                                                <asp:TextBox ID="TxBx_BadItemLimit" runat="server" MaxLength="250" onkeyup="numbersOnly(this)"></asp:TextBox>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>

                            <div id="Div_UpdatePST" runat="server" style="display: none;">
                                <div class="row">
                                    <div class="col-sm-4 col-xs-12 row-label">
                                        <asp:Literal ID="Literal12" runat="server" Text="<%$Resources:Content,DGN1110339%>" EnableViewState="false"></asp:Literal>:
                                    </div>
                                    <div class="col-sm-8 col-xs-12">
                                        <asp:Literal ID="Literal33" runat="server" />
                                    </div>
                                </div>

                                <div class="row">
                                    <div class="col-sm-4 col-xs-12 row-label">
                                        <asp:Literal ID="Literal13" runat="server" Text="<%$Resources:Content,EmailaddressforPSTdownloadlink%>" EnableViewState="false"></asp:Literal>:
                                    </div>

                                    <div class="col-sm-8 col-xs-12">
                                        <p class="break-word-all">
                                            <asp:Literal ID="Lbl_EmailaddressforPSTdownloadlink" runat="server" />
                                        </p>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-4 col-xs-12 row-label">
                                        <asp:Literal ID="Literal31" runat="server" Text="<%$Resources:Content,String385%>" EnableViewState="false"></asp:Literal>:
                                    </div>
                                    <div class="col-sm-8 col-xs-12">
                                        <asp:Literal ID="Lbl_PSTJobStatus" runat="server" />&nbsp;
                                    <asp:LinkButton runat="server" ID="Btn_CancelPSTJob"
                                        Text='<%$ Resources:Content,CancelJob %>'>
                                    </asp:LinkButton>&nbsp;
                                    <asp:LinkButton runat="server" ID="Btn_ResumePSTJob"
                                        Text='<%$ Resources:Content,String602 %>'>
                                    </asp:LinkButton>&nbsp;
                                    <asp:LinkButton runat="server" ID="Btn_SuspendPSTJob"
                                        Text='<%$ Resources:Content,String601 %>'>
                                    </asp:LinkButton>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-4 col-xs-12 row-label">
                                        <asp:Literal ID="Literal17" runat="server" Text="<%$Resources:Content,String600%>" EnableViewState="false"></asp:Literal>:
                                    </div>
                                    <div class="col-sm-8 col-xs-12">
                                        <label>
                                            <asp:Literal ID="Lbl_StatusDetail" runat="server" /></label>
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-xs-12">
                                    <asp:Button ID="Btn_SavePST" runat="server" class="btn btn-primary waves-effect btnAction" Text='<%$ Resources:Content,GN0000281%>' />
                                    <asp:Button ID="Btn_Close" CausesValidation="false" runat="server" Text='<%$ Resources:Content,GN000150 %>'
                                        class="btn btn-primary waves-effect" />
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </asp:Panel>

            <asp:Panel ID="Pnl_ShowMBTemplate" runat="server" Style="display: none" CssClass="width-modal-popup-auto">
                <!-- The purpose of below 'Div_MBTemplateDetail' id is to hide this div from server side, as it cause an double validation issue in Mailbox Template tab -> Edit-->
                <div class="col-xs-12" id="Div_MBTemplateDetail" runat="server">
                    <div class="card">
                        <div class="header container-fluid">
                            <h3 class="pull-left"></h3>
                            <span>
                                <button type="button" class="close" onclick="$find('<%=MP_ShowMBTemplate.ClientID%>').hide();">&times;</button>
                            </span>
                        </div>
                        <div class="body">
                            <UC:AddEditMBTemplate ID="AddEditMBTemplate1" runat="server" />
                        </div>
                    </div>
                </div>
            </asp:Panel>
            <asp:Button ID="Btn_DummyMBTemp" runat="server" Text="<%$ Resources:Content,SMI0006%>"
                Style="display: none;" />
            <asp:Button ID="Btn_DummyMBTemp2" runat="server" Text="<%$ Resources:Content,SMI0007%>"
                Style="display: none;" />
            <EM:ModalPopupExtender runat="server" ID="MP_ShowMBTemplate" BackgroundCssClass="modalBackground"
                DropShadow="false" PopupControlID="Pnl_ShowMBTemplate" TargetControlID="Btn_DummyMBTemp"
                OkControlID="Btn_DummyMBTemp2">
            </EM:ModalPopupExtender>

            <asp:Button ID="Btn_DummySetDomainAsDefault" runat="server" Text="<%$ Resources:Content,SMI0006%>"
                Style="display: none;" />
            <asp:Button ID="Btn_DummySetDomainAsDefaultOK" runat="server" Text="<%$ Resources:Content,SMI0007%>"
                Style="display: none;" />
            <EM:ModalPopupExtender runat="server" ID="MPE_SetDomainAsDefault" BackgroundCssClass="modalBackground"
                DropShadow="false" PopupControlID="Pnl_SetDomainAsDefault" TargetControlID="Btn_DummySetDomainAsDefault"
                OkControlID="Btn_DummySetDomainAsDefaultOK" CancelControlID="Btn_CancelDefaultDomain">
            </EM:ModalPopupExtender>

            <asp:Panel ID="Pnl_SetDomainAsDefault" runat="server" Style="display: none" CssClass="width-modal-popup-auto">
                <div class="col-xs-12" id="Div2" runat="server">
                    <div class="card">
                        <div class="header container-fluid">
                            <h3 class="pull-left"></h3>
                            <span>
                                <button type="button" class="close" onclick="$find('<%=MPE_SetDomainAsDefault.ClientID%>').hide();">&times;</button>
                            </span>
                        </div>
                        <div class="body">
                            <div class="row">
                                <div class="col-xs-12 domain-options">
                                    <asp:RadioButtonList ID="RBL_SetDefaultOptions" runat="server">
                                        <asp:ListItem Text="<%$Resources:Content,JustMarkAsPrimary%>" Value="0" Selected="True"></asp:ListItem>
                                        <asp:ListItem Text="<%$Resources:Content,ReplacePrimaryDomain%>" Value="1"></asp:ListItem>
                                        <asp:ListItem Text="<%$Resources:Content,ReplacePrimaryDomainKeepAlias%>" Value="2"></asp:ListItem>
                                    </asp:RadioButtonList>
                                    <asp:HiddenField ID="HF_DomainId" runat="server" />
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-xs-12">
                                    <asp:Button ID="Btn_SaveDefaultDomain" runat="server" Text="<%$ Resources:Content,GN0000858%>" CssClass="btn btn-primary waves-effect"
                                        CausesValidation="false" />
                                    <asp:Button ID="Btn_CancelDefaultDomain" runat="server" Text="<%$ Resources:Content,GN0000572%>" CssClass="btn btn-primary waves-effect" />
                                </div>
                            </div>
                        </div>

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



            <asp:Panel ID="Pnl_SendPWD" DefaultButton="Btn_OK" CssClass="width-modal-popup-auto" runat="server" Style="display: none">
                <div class="col-xs-12">
                    <asp:HiddenField ID="HF_UserLogin" runat="server" />
                    <asp:HiddenField ID="HF_Password" runat="server" />
                    <div class="card">
                        <div class="header container-fluid">
                            <h3 class="pull-left">Send Password</h3>
                            <span>
                                <button type="button" class="close" onclick="$find('<%=MPE_SendPWD.ClientID%>').hide();">&times;</button>
                            </span>
                        </div>
                        <div class="body">
                            <div class="row">
                                <div class="col-sm-3 col-xs-12 row-label">
                                    <asp:Literal ID="Ltrl_DisplayName" runat="server" Text="<%$ Resources:Content,GN00001113%>" EnableViewState="false"></asp:Literal>
                                </div>
                                <div class="col-sm-9 col-xs-12">
                                    <asp:Label ID="Lbl_DisplayName" runat="server"></asp:Label>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-sm-3 col-xs-12 row-label">
                                    <label>
                                        *<asp:Literal ID="Ltrl_EAddress" runat="server" Text="<%$ Resources:Content,GN0000491%>"
                                            EnableViewState="false"></asp:Literal>:</label>
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <div class="form-line">
                                            <asp:TextBox ID="TxBx_SendEmail" runat="server"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RFV_SendEmail" runat="server" ControlToValidate="TxBx_SendEmail"
                                                Display="none" ValidationGroup="UPChange" SetFocusOnError="true">
                                            </asp:RequiredFieldValidator>
                                            <%-- <asp:RegularExpressionValidator ID="REV_SendEmail" runat="server" ValidationExpression="<%$ Resources:MPRegex,EmailAddress%>"
                                                ControlToValidate="TxBx_SendEmail" Display="none" ValidationGroup="UPChange"
                                                SetFocusOnError="true">
                                            </asp:RegularExpressionValidator>--%>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-xs-12">
                                    <asp:Button ID="Btn_OK" runat="server" Text="<%$ Resources:Content,GN0000858%>" CssClass="btn btn-primary waves-effect"
                                        ValidationGroup="UPChange" CausesValidation="true" />
                                    <asp:Button ID="Btn_Cancel" runat="server" Text="<%$ Resources:Content,GN0000572%>" CssClass="btn btn-primary waves-effect" />
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </asp:Panel>
            <asp:Button ID="Btn_Dummy" runat="server" Style="display: none" />
            <EM:ModalPopupExtender ID="MPE_SendPWD" runat="server" TargetControlID="Btn_Dummy"
                BackgroundCssClass="modalBackground" DropShadow="true" PopupControlID="Pnl_SendPWD"
                CancelControlID="Btn_Cancel">
            </EM:ModalPopupExtender>

            <asp:Panel ID="Pnl_GroupActionsStatus" CssClass="width-modal-popup-auto" runat="server" Style="display: none">
                <div class="col-xs-12">
                    <div class="card">
                        <div class="header container-fluid">
                            <h3 class="pull-left"></h3>
                            <span>
                                <button type="button" class="close" onclick="$find('<%=MPE_GroupActionsStatus.ClientID%>').hide();">&times;</button>
                            </span>
                        </div>
                        <div class="body">
                            <EM:AccountGroupActions ID="GA_GroupActionsStatus" runat="server" />
                        </div>
                    </div>
                </div>
            </asp:Panel>
            <asp:Button ID="Btn_TargetGroupActionsStatus" runat="server" Text="<%$ Resources:Content,SMI0007%>"
                Style="display: none;" />
            <asp:Button ID="Btn_OkGroupActionsStatus" runat="server" Text="<%$ Resources:Content,SMI0007%>"
                Style="display: none;" />
            <EM:ModalPopupExtender runat="server" ID="MPE_GroupActionsStatus" BackgroundCssClass="modalBackground"
                DropShadow="false" PopupControlID="Pnl_GroupActionsStatus" TargetControlID="Btn_TargetGroupActionsStatus"
                OkControlID="Btn_OkGroupActionsStatus">
            </EM:ModalPopupExtender>

            <asp:Panel ID="Pnl_OutlookDownload" CssClass="width-modal-popup-auto" runat="server" Style="display: none">
                <div class="col-xs-12">
                    <div class="card">
                        <div class="header container-fluid">
                            <span>
                                <button type="button" class="close" onclick="$find('<%=MPE_OutlookDownload.ClientID%>').hide();">&times;</button>
                            </span>
                            <button data-toggle="dropdown" class="btn btn-primary dropdown-toggle width-full pull-left" role="button">
                                <asp:Label ID="Lbl_outlookdownload" runat="server" Text="<%$ Resources:Content,USM0044%>" />&nbsp;&nbsp;
                                                            
                            </button>



                        </div>
                        <div class="body">
                            <div class="width-full">

                                <ul class="width-full">
                                    <asp:Repeater ID="Rep_OutlookDownload" runat="server">
                                        <ItemTemplate>
                                            <li style="padding: 5px">
                                                <asp:LinkButton ID="lbtn_outlookdownload" Style="cursor: hand" runat="server" CausesValidation="false"
                                                    Text='<%# Eval("DisplayName")%>' CommandName="outlookdownload" CommandArgument='<%# MachSol.MachPanel.Utility.Utility.Encrypt(Eval("URL"))%>'></asp:LinkButton>
                                            </li>
                                        </ItemTemplate>
                                    </asp:Repeater>

                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
            </asp:Panel>
            <asp:Button ID="Btn_TargetDownloadOutlook" runat="server" Text="<%$ Resources:Content,SMI0007%>"
                Style="display: none;" />
            <asp:Button ID="Btn_OkDownloadOutlook" runat="server" Text="<%$ Resources:Content,SMI0007%>"
                Style="display: none;" />
            <EM:ModalPopupExtender runat="server" ID="MPE_OutlookDownload" BackgroundCssClass="modalBackground"
                DropShadow="false" PopupControlID="Pnl_OutlookDownload" TargetControlID="Btn_TargetDownloadOutlook"
                OkControlID="Btn_OkDownloadOutlook">
            </EM:ModalPopupExtender>

        </ContentTemplate>
    </asp:UpdatePanel>
    <script type="text/javascript">

        function numbersOnly(e) {
            if (e.value != e.value.replace(/[^0-9]/g, '')) {
                e.value = e.value.replace(/[^0-9]/g, '');
            }
        }

    </script>
</asp:Content>
