<%@ control language="VB" autoeventwireup="false" inherits="RCC_Exchange_CC_AddMailbox, MachSol.MachPanel.Web" %>
<%@ Register Src="~/RCC/Exchange/CC/AddUM.ascx" TagName="AddUM" TagPrefix="EM" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>
<%@ Register Src="~/Template/CC/Selectable_Selected_LBX.ascx" TagName="AddSelectableSelected" TagPrefix="EM" %>
<%@ Register Assembly="MachSol.MachPanel.Utility" Namespace="MachSol.MachPanel.Utility" TagPrefix="CC" %>
<CC:UpdatePanelInlineScriptControl ID="UpdatePanelInlineScriptControl1" runat="server">

    <script type="text/javascript" language="javascript">
        function clearSavedProfilePic() {
            var clearProfilePicBtnId = '<%= Lbtn_ClearProfilePic.ClientID %>';
            if ($('#' + clearProfilePicBtnId).length > 0) {
                //WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions(clearProfilePicBtnId, "", true, "", "", false, true))
                __doPostBack(clearProfilePicBtnId, '');
            }
        }

        function CopyToMobilePhone() {
            $get('<%= TxBx_MBMobile.ClientID%>').value = $get('<%=TxBx_CustomMobile.ClientID%>').value;
        }

        function CopyToCompany() {
            $get('<%= TxBx_MBCompany.ClientID%>').value = $get('<%=TxBx_ReqCompany.ClientID%>').value;
        }

        function CopyToDisplayNameAndUPN() {
            $get('<%= TxBx_MBDisplayName.ClientID%>').value = $get('<%=TxBx_MBGivenName.ClientID%>').value + ' ' + $get('<%=TxBx_MBLastName.ClientID%>').value;
            //$get('<%= TxBx_UPN.ClientID%>').value = ($get('<%=TxBx_MBDisplayName.ClientID%>').value).replace(/ /g, '');
        }

        function CopyToUPN() {
            //$get('<%= TxBx_UPN.ClientID%>').value = ($get('<%=TxBx_MBDisplayName.ClientID%>').value).replace(/ /g, '');
        }

    </script>
</CC:UpdatePanelInlineScriptControl>

<div class="row">
    <div class="col-xs-12">
        <asp:Panel ID="Pnl_AddMB" runat="server" DefaultButton="Btn_MailboxAdd">
            <div class="card">
                <div class="header" id="Div_GoBack" runat="server">
                    <div id="Tr_MBAdd" runat="server" class="displayInlineBlock">
                        <h2>
                            <asp:Literal ID="Literal11" runat="server" EnableViewState="false" Text="<%$ Resources:Content,DGN1110533%>" /></h2>
                    </div>
                    <asp:LinkButton ID="lb_MBGoBack" runat="server" Text="<%$ Resources:Content,DGN1110542 %>" CausesValidation="false"
                        class="btn btn-primary waves-effect pull-right m-t--4px" />
                </div>
                <div class="body">
                    <div class="row" id="TR_CustomerMBTemplates" runat="server">
                        <div class="col-sm-3 col-xs-12 row-label">
                            <label>
                                *<asp:Literal ID="Literal129" runat="server" EnableViewState="false" Text="<%$ Resources:Content,Dev453%>" />:</label>
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <div class="form-group">
                                <asp:DropDownList ID="Ddl_MBTemplate" AutoPostBack="true" runat="server">
                                </asp:DropDownList>
                            </div>
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <asp:LinkButton ID="LB_MBTemplate" runat="server" Text="<%$ Resources:Content,Exch805%>" class="btn btn-primary waves-effect" />
                        </div>
                    </div>
                    <div class="row" id="Tr_ADUsers" runat="server">
                        <div class="col-sm-3 col-xs-12 row-label">
                            <label>
                                *<asp:Literal ID="Literal2" runat="server" EnableViewState="false" Text="<%$ Resources:Content,String444%>" />:</label>
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <div class="form-group">
                                <asp:DropDownList ID="DDL_ADUsers" AutoPostBack="true" runat="server">
                                    <asp:ListItem Text="<%$ Resources:Content,L0028%>" Value="0" Selected="True"></asp:ListItem>
                                </asp:DropDownList>
                                </asp:DropDownList>
                            </div>
                        </div>
                    </div>
                    <div class="row" id="Tr_MBUPNExisting" runat="server">
                        <div class="col-sm-3 col-xs-12 row-label">
                            <label>
                                *<asp:Literal ID="Literal3" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN00001525%>" />:</label>
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <div class="form-group">
                                <div class="form-line">
                                    <asp:TextBox ID="TxBx_UPNExisting" runat="server" />
                                    <%--<asp:RegularExpressionValidator ID="REV_TxBx_UPNExisting"
                                        runat="server" ValidationExpression="<%$ Resources:MPRegex,Alias %>"
                                        ValidationGroup="AddMailBoxVG" ErrorMessage='<%$Resources:Content, DGN1110036%>'
                                        ControlToValidate="TxBx_UPNExisting" Display="None" SetFocusOnError="true"></asp:RegularExpressionValidator>--%>
                                    <asp:RequiredFieldValidator ControlToValidate="TxBx_UPNExisting" ID="RFV_TxBx_UPNExisting" runat="server"
                                        Display="None" ValidationGroup="AddMailBoxVG"></asp:RequiredFieldValidator>
                                </div>
                            </div>
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <div class="form-group at-the-rate">
                                @<asp:DropDownList ID="DDL_MailboxDomainNameExisting" runat="server">
                                </asp:DropDownList>
                            </div>
                        </div>
                    </div>
                    <div class="row" id="Tr_MBTypeExisting" runat="server">
                        <div class="col-sm-3 col-xs-12 row-label">
                            <label>
                                *                                   
                                        <asp:Literal ID="Literal4" 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_MBTypeExisting" runat="server" />
                            </div>
                        </div>
                    </div>

                    <div id="Div_NewMB" runat="server">
                        <div id="Tr_MBFirstLastName" runat="server">
                            <div class="row">
                                <div class="col-sm-3 col-xs-12 row-label">
                                    <label>
                                        <asp:Literal ID="LtlStarFName" runat="server" Text='*' />
                                        <asp:Literal ID="Literal54" runat="server" Text='<%$ Resources:Content,GN00001132 %>'
                                            EnableViewState="false" />:</label>
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <div class="form-line">
                                            <asp:TextBox ID="TxBx_MBGivenName" runat="server" OnKeyUp="CopyToDisplayNameAndUPN();" MaxLength="28" onblur='Trim(this.id);'></asp:TextBox>
                                        </div>

                                        <asp:RequiredFieldValidator ControlToValidate="TxBx_MBGivenName" ID="RFV_TxBx_MBGivenName" runat="server"
                                            Display="None" ValidationGroup="AddMailBoxVG"></asp:RequiredFieldValidator>
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-sm-3 col-xs-12 row-label">
                                    <label>
                                        <asp:Literal ID="LtlStarLName" runat="server" Text='*' /><asp:Literal ID="Literal56" runat="server" Text='<%$ Resources:Content,GN00001133 %>'
                                            EnableViewState="false" />:</label>
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <div class="form-line">
                                            <asp:TextBox ID="TxBx_MBLastName" OnKeyUp="CopyToDisplayNameAndUPN();" runat="server" MaxLength="28" onblur='Trim(this.id);'></asp:TextBox>
                                        </div>

                                        <asp:RequiredFieldValidator ControlToValidate="TxBx_MBLastName" ID="RFV_TxBx_MBLastName" runat="server"
                                            Display="None" ValidationGroup="AddMailBoxVG"></asp:RequiredFieldValidator>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div id="Tr_MBDisplayName" runat="server">
                            <div class="row">
                                <div class="col-sm-3 col-xs-12 row-label">
                                    <label>
                                        *<asp:Literal ID="Literal12" runat="server" EnableViewState="false"
                                            Text="<%$ Resources:Content,DGN1110534%>" />:</label>
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <div class="form-line">
                                            <asp:TextBox ID="TxBx_MBDisplayName" OnKeyup="CopyToUPN()" runat="server" MaxLength="64" onblur='Trim(this.id);'></asp:TextBox>
                                        </div>

                                        <asp:RequiredFieldValidator ControlToValidate="TxBx_MBDisplayName" ID="RFV_TxBx_MBDisplayName" runat="server"
                                            Display="None" ValidationGroup="AddMailBoxVG"></asp:RequiredFieldValidator>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="row">
                            <div class="col-sm-3 col-xs-12 row-label">
                                <label>
                                    *<asp:Literal ID="Literal5" runat="server" EnableViewState="false"
                                        Text="<%$ Resources:Content,GN00001525%>" />:</label>
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <div class="form-group">
                                    <div class="form-line">
                                        <asp:TextBox ID="TxBx_UPN" runat="server" />
                                        <%--<asp:RegularExpressionValidator ID="REV_UPN" runat="server" ValidationExpression="<%$ Resources:MPRegex,Alias %>"
                                            ValidationGroup="AddMailBoxVG" ErrorMessage='<%$Resources:Content, DGN1110036%>'
                                            ControlToValidate="TxBx_UPN" Display="None" SetFocusOnError="true"></asp:RegularExpressionValidator>--%>
                                        <asp:RequiredFieldValidator ControlToValidate="TxBx_UPN" ID="REQ_UPN" runat="server"
                                            Display="None" ValidationGroup="AddMailBoxVG"></asp:RequiredFieldValidator>
                                    </div>
                                </div>
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <div class="form-group at-the-rate">
                                    @<asp:DropDownList ID="DDL_MailboxDomainName" runat="server">
                                    </asp:DropDownList>
                                </div>
                            </div>
                        </div>
                        <div class="row" id="Tr_MBType" runat="server" visible="false">
                            <div class="col-sm-3 col-xs-12 row-label">
                                <label>
                                    *<asp:Literal ID="Literal6" 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 id="Div_CustomMailboxInputs" runat="server" visible="false">
                            <div class="row" id="Div_ReqCompany" runat="server">
                                <div class="col-sm-3 col-xs-12 row-label">
                                    <label>
                                        *
                                        <asp:Literal ID="Literal10" runat="server" Text='<%$ Resources:Content,GN00001134 %>'
                                            EnableViewState="false" />:</label>
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <div class="form-line">
                                            <asp:TextBox ID="TxBx_ReqCompany" onKeyup="CopyToCompany()" onChange="CopyToCompany()" runat="server" MaxLength="64"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RFV_ReqCompany" EnableClientScript="true"
                                                runat="server" ControlToValidate="TxBx_ReqCompany" Display="None" SetFocusOnError="True"
                                                ValidationGroup="AddMailBoxVG" Enabled="false"></asp:RequiredFieldValidator>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-sm-3 col-xs-12 row-label">
                                    <label>
                                        *
                                        <asp:Literal ID="Literal7" runat="server" Text='<%$ Resources:Content,GN00001524 %>'
                                            EnableViewState="false" />:</label>
                                </div>
                                <div class="col-lg-2 col-md-2 col-sm-4 col-xs-5" id="Div_MobilePhoneCountryCode" runat="server" visible="false">
                                    <asp:DropDownList ID="Ddl_MobilePhoneCountryCode" runat="server">
                                    </asp:DropDownList>
                                </div>
                                <div class="col-sm-4 col-xs-12" id="Div_CustomMobile" runat="server">
                                    <div class="form-group">
                                        <div class="form-line">
                                            <asp:TextBox ID="TxBx_CustomMobile" runat="server" MaxLength="64" onKeyup="CopyToMobilePhone()"
                                                onChange="CopyToMobilePhone()"></asp:TextBox>
                                            <asp:RegularExpressionValidator ErrorMessage="<%$ Resources:Content,DGN1110070%>"
                                                ID="REV_ReqMobile" Enabled="false" runat="server" ControlToValidate="TxBx_CustomMobile"
                                                Display="None" SetFocusOnError="True" ValidationExpression="^([+]?[\s0-9()-]{5,20})$"
                                                ValidationGroup="AddMailBoxVG"></asp:RegularExpressionValidator>
                                            <asp:RequiredFieldValidator ID="RFV_TxBx_CustomMobile" EnableClientScript="true"
                                                runat="server" ControlToValidate="TxBx_CustomMobile" Display="None" SetFocusOnError="True"
                                                ValidationGroup="AddMailBoxVG" Enabled="false"></asp:RequiredFieldValidator>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="row" id="Div_NationalId" runat="server">
                                <div class="col-sm-3 col-xs-12 row-label">
                                    <label>
                                        <%--*--%>
                                        <asp:Literal ID="Literal13" runat="server" Text='<%$ Resources:Content,NatIdOrIqama%>' EnableViewState="false" />:</label>
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <div class="form-line">
                                            <asp:TextBox ID="TxBx_NationalId" runat="server" MaxLength="250"></asp:TextBox>
                                            <%--<asp:RequiredFieldValidator ID="RFV_NationalId" EnableClientScript="true"
                                                runat="server" ControlToValidate="TxBx_NationalId" Display="None" SetFocusOnError="True"
                                                ValidationGroup="AddMailBoxVG" Enabled="false"></asp:RequiredFieldValidator>--%>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-sm-3 col-xs-12 row-label">
                                    <label>
                                        <asp:Literal ID="Ltl_EmployeeId" runat="server" Text='<%$ Resources:Content,EmployeeId%>' EnableViewState="false" />:</label>
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <div class="form-line">
                                            <asp:TextBox ID="TxBx_EmployeeID" runat="server" MaxLength="250"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RFV_TxBx_EmployeeID" EnableClientScript="true"
                                                runat="server" ControlToValidate="TxBx_EmployeeID" Display="None" SetFocusOnError="True"
                                                ValidationGroup="AddMailBoxVG" Enabled="false"></asp:RequiredFieldValidator>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="row" id="Tr_LinkedMasterAccount" runat="server" visible="false">
                            <div class="col-sm-3 col-xs-12 row-label">
                                <label>
                                    *<asp:Literal ID="Literal9" runat="server" EnableViewState="false"
                                        Text="<%$ Resources:Content,Exch00099%>" />:</label>
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <div class="form-group">
                                    <asp:DropDownList ID="DDL_LinkedMasterAccount" AutoPostBack="true" runat="server" />
                                </div>
                            </div>
                            <div class="col-sm-4 col-xs-12" id="Div_SpecifyMasterAccount" runat="server">
                                <div class="form-group">
                                    <div class="form-line">
                                        <asp:TextBox ID="TxBx_LinkedMasterAccount" runat="server" />
                                        <asp:RequiredFieldValidator ControlToValidate="TxBx_LinkedMasterAccount" ID="RFV_MasterAccount"
                                            runat="server" Display="None" ValidationGroup="AddMailBoxVG"></asp:RequiredFieldValidator>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="row" id="Tr_MBManager" runat="server" visible="false">
                            <div class="col-sm-3 col-xs-12 row-label">
                                <label>
                                    *<asp:Literal ID="Literal18" runat="server" EnableViewState="false"
                                        Text="<%$ Resources:Content,DGN1110410%>" />:</label>
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <div class="form-group">
                                    <asp:DropDownList ID="DDL_MBManager" runat="server" />
                                </div>
                            </div>
                        </div>
                        <div class="row" id="Tr_MBPass" runat="server">
                            <div class="col-sm-3 col-xs-12 row-label">
                                <label>
                                    *<asp:Literal ID="Literal43" runat="server" EnableViewState="false"
                                        Text="<%$ Resources:Content,GN0000569%>" />:</label>
                                <br />
                                <small>
                                    <asp:Literal ID="Literal15" runat="server" EnableViewState="false" Text="<%$ Resources:Content,DGN1110536%>" /></small>
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <div class="form-group">
                                    <div class="form-line">
                                        <asp:TextBox ID="TxBx_MBPassword" runat="server" TextMode="Password" MaxLength="30"
                                            ValidationGroup="AddMailBoxVG" />
                                    </div>
                                </div>
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <div class="form-group">
                                    <asp:LinkButton ID="lb_Generate" runat="server" Text="<%$ Resources:Content,SMI0195%>" class="btn btn-primary waves-effect"
                                        CausesValidation="false"></asp:LinkButton>
                                </div>
                                <div id="Div_PasswordPolicy" runat="server" class="help-text sm"></div>
                            </div>
                        </div>
                        <div class="row" id="Tr_MBCPass" runat="server">
                            <div class="col-sm-3 col-xs-12 row-label">
                                <label>
                                    *<asp:Literal ID="Literal44" runat="server" EnableViewState="false"
                                        Text="<%$ Resources:Content,GN0001196%>" />:</label>
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <div class="form-group">
                                    <div class="form-line">
                                        <asp:TextBox ID="TxBx_MBConfirmPassword" TextMode="Password" runat="server" MaxLength="30"
                                            ValidationGroup="AddMailBoxVG"></asp:TextBox>
                                        <asp:CompareValidator ID="CV_TxBx_MBConfirmPassword" runat="server" ErrorMessage='<%$ Resources:Content,SPT002699%>'
                                            ControlToCompare="TxBx_MBPassword" ControlToValidate="TxBx_MBConfirmPassword"
                                            Display="None" ValidationGroup="AddMailBoxVG"></asp:CompareValidator>
                                    </div>
                                </div>
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <asp:CheckBox ID="CB_Show" runat="server" Text="<%$ Resources:Content,FAM0049 %>" />
                            </div>
                        </div>
                        <%-- Password Change Options --%>
                        <asp:Panel ID="Pnl_PasswordSettings" runat="server">
                            <div class="panel-group" id="AS_PasswordOptions" runat="server" role="tablist" aria-multiselectable="true">
                                <div class="panel panel-primary">
                                    <div class="panel-heading collapsed" role="tab" id="HS_PasswordOptions">
                                        <h2 class="panel-title">
                                            <a role="button" id="A_PasswordOptions" data-toggle="collapse" data-parent="#AS_PasswordOptions" href="#CSB_PasswordOptions" aria-expanded="false" aria-controls="CSB_PasswordOptions">
                                                <%= Resources.Content.PasswordSettings%>
                                            </a>
                                        </h2>
                                    </div>
                                    <div id="CSB_PasswordOptions" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="HS_PasswordOptions" aria-expanded="true">
                                        <div class="panel-body">
                                            <div class="row">
                                                <div class="col-sm-3 col-xs-12 row-label">
                                                    <asp:Literal ID="Literal8" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000360%>"></asp:Literal>:
                                                </div>
                                                <div class="col-sm-9 col-xs-12">
                                                    <div class="col-xs-12">
                                                        <div class="form-group">
                                                            <asp:CheckBox ID="CB_MustChange" Text="<%$ Resources:Content,UserMustChangePassword%>" runat="server" />
                                                        </div>
                                                    </div>
                                                    <div class="col-xs-12">
                                                        <div class="form-group">
                                                            <asp:CheckBox ID="CB_CantChange" Text="<%$ Resources:Content,UserCantChangePassword%>" runat="server" />
                                                        </div>
                                                    </div>
                                                    <div class="col-xs-12">
                                                        <div class="form-group">
                                                            <asp:CheckBox ID="CB_NeverExpires" Text="<%$ Resources:Content,PasswordNeverExpires%>" Checked="true" runat="server" />
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </asp:Panel>
                    </div>
                    <div class="row" id="Tr_MBDB" runat="server">
                        <div class="col-sm-3 col-xs-12 row-label">
                            <label>
                                *<asp:Literal ID="Literal113" runat="server"
                                    EnableViewState="false" Text="<%$ Resources:Content,DGN0011108%>" />:</label>
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <div class="form-group">
                                <asp:DropDownList ID="DDL_MailBoxDatabase" runat="server" />
                            </div>
                        </div>
                    </div>
                    <div class="row" id="TR_MBSize" runat="server">
                        <div class="col-sm-3 col-xs-12 row-label">
                            <label>
                                *<asp:Literal ID="Literal14" runat="server"
                                    EnableViewState="false" Text="<%$ Resources:Content,L00113%>" />:</label>
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <div class="form-group">
                                <asp:DropDownList ID="DDL_MBSize" AutoPostBack="true" runat="server" />
                            </div>
                        </div>
                    </div>
                    <div id="Tbl_Quota" runat="server" visible="false">
                        <div class="row">
                            <div class="col-sm-3 col-xs-12 row-label">
                                <label>
                                    *<asp:Literal ID="Literal16" runat="server"
                                        EnableViewState="false" Text="<%$ Resources:Content,DGN1110373%>" />:</label>
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <div class="form-group">
                                    <div class="form-line">
                                        <asp:TextBox ID="Txt_IssueWarning" Enabled="true" runat="server" MaxLength="7"></asp:TextBox>
                                        <asp:RegularExpressionValidator ID="REV_Txt_IssueWarning" runat="server" ControlToValidate="Txt_IssueWarning"
                                            ValidationExpression="([0-9])*" ErrorMessage="<%$ Resources:Content,L00143%>"
                                            Display="None" SetFocusOnError="true" ValidationGroup="AdvanceSettings"></asp:RegularExpressionValidator>
                                    </div>
                                </div>
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <asp:CheckBox ID="ChBx_IssueWarningAt" Checked="false" runat="server" Text="<%$ Resources:Content,GN0000908%>" />
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-3 col-xs-12 row-label">
                                <label>
                                    *<asp:Literal ID="Literal45" runat="server"
                                        EnableViewState="false" Text="<%$ Resources:Content,DGN1110374%>" />:</label>
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <div class="form-group">
                                    <div class="form-line">
                                        <asp:TextBox ID="Txt_ProhibitedSend" Enabled="true" runat="server" MaxLength="7"></asp:TextBox>
                                        <asp:RegularExpressionValidator ID="REV_Txt_ProhibitedSend" runat="server" ControlToValidate="Txt_ProhibitedSend"
                                            ValidationExpression="([0-9])*" ErrorMessage="<%$ Resources:Content,L00144%>"
                                            Display="None" SetFocusOnError="true" ValidationGroup="AdvanceSettings"></asp:RegularExpressionValidator>
                                    </div>
                                </div>
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <asp:CheckBox ID="ChBx_ProhibitSend" Checked="false" runat="server" Text="<%$ Resources:Content,GN0000908%>" />
                            </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,DGN1110375%>" />:</label>
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <div class="form-group">
                                    <div class="form-line">
                                        <asp:TextBox ID="Txt_ProhibitedSend_Receive" Enabled="true" runat="server" MaxLength="7"></asp:TextBox>
                                        <asp:RegularExpressionValidator ID="REV_Txt_ProhibitedSend_Receive" runat="server"
                                            ControlToValidate="Txt_ProhibitedSend_Receive" ValidationExpression="([0-9])*"
                                            ErrorMessage="<%$ Resources:Content,L00145%>" Display="None" SetFocusOnError="true"
                                            ValidationGroup="AdvanceSettings"></asp:RegularExpressionValidator>
                                    </div>
                                </div>
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <asp:CheckBox ID="ChBx_ProhibitSendrec" Checked="false" runat="server" Text="<%$ Resources:Content,GN0000908%>" />
                            </div>
                        </div>
                    </div>
                    <div class="row" id="Tr_Language" runat="server">
                        <div class="col-sm-3 col-xs-12 row-label">
                            <label>
                                *<asp:Literal ID="Literal47" runat="server"
                                    EnableViewState="false" Text="<%$ Resources:Content,GN00003000%>" />:</label>
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <div class="form-group">
                                <asp:DropDownList ID="DDL_Lang" runat="server" />
                            </div>
                        </div>
                    </div>
                    <div class="row" id="Tr_TimeZone" runat="server">
                        <div class="col-sm-3 col-xs-12 row-label">
                            <label>
                                *<asp:Literal ID="Literal48" runat="server"
                                    EnableViewState="false" Text="<%$ Resources:Content,Lync179%>" />:</label>
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <div class="form-group">
                                <asp:DropDownList ID="DDL_TimeZone" runat="server">
                                </asp:DropDownList>
                            </div>
                        </div>
                    </div>
                    <div class="row" id="Tr_AltEmail" runat="server">
                        <div class="col-sm-3 col-xs-12 row-label">
                            <label>
                                <asp:Literal ID="Literal49" runat="server"
                                    EnableViewState="false" Text="<%$ Resources:Content,GN00001526%>" />:</label>
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <div class="form-group">
                                <div class="form-line">
                                    <asp:TextBox ID="TxBx_MBSecondaryUPN" runat="server" />
                                    <%-- <asp:RegularExpressionValidator ID="REV_AltUPN" runat="server" ValidationExpression="<%$Resources:MPRegex,Alias %>"
                                        ValidationGroup="AddMailBoxVG" ErrorMessage='<%$Resources:Content, String1037%>'
                                        ControlToValidate="TxBx_MBSecondaryUPN" Display="None" SetFocusOnError="true"></asp:RegularExpressionValidator>--%>
                                </div>
                            </div>
                        </div>
                        <div class="col-sm-5 col-xs-12">
                            <div class="form-group at-the-rate">
                                @<asp:ListBox Width="100%" Height="150px" SelectionMode="Multiple" ID="DDL_MBSecondaryDomain"
                                    runat="server"></asp:ListBox>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-3 col-xs-12 row-label">
                            <label>
                                <asp:Literal ID="Literal21" runat="server"
                                    EnableViewState="false" Text="<%$ Resources:Content,DGN1110527%>" />:</label>
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <div class="form-group">
                                <asp:CheckBox ID="ChBx_MBHideFromALs" runat="server" Text=" " />
                            </div>
                        </div>
                    </div>

                    <%--<div class="row" id="divProcessExternalMeetingMessages" runat="server" visible="false">
                        <div class="col-sm-3 col-xs-12 row-label">
                            <label>
                                <asp:Literal ID="Literal68" runat="server" Text="<%$ Resources:Content,strProcessExternalMeetingMessages%>" EnableViewState="false" />:</label>
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <asp:CheckBox ID="CB_ProcessExternalMeetingMessages" runat="server" Text=" " />
                        </div>
                    </div>--%>
                    <div class="row" id="Tr_SetupEmail" runat="server">
                        <div class="col-sm-3 col-xs-12 row-label">
                            <label>
                                *<asp:Literal ID="Literal19" runat="server"
                                    EnableViewState="false" Text="<%$ Resources:Content,GN0000752%>" />:</label>
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <div class="form-group">
                                <asp:CheckBox ID="ChBx_SendSetupEmail" Checked="true" runat="server" Text=" " />
                            </div>
                        </div>
                    </div>
                    <div class="row" id="Tr_SendSetupEmail" runat="server">
                        <div class="col-sm-3 col-xs-12 row-label">
                            <label>
                                *<asp:Literal ID="Literal50" runat="server"
                                    EnableViewState="false" Text="<%$ Resources:Content,GN0000491%>" />:</label>
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <div class="form-group">
                                <div class="form-line">
                                    <asp:TextBox ID="TxBx_SendSetupEmail" runat="server"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="RFV_TxBx_SendSetupEmail" EnableClientScript="true"
                                        runat="server" ControlToValidate="TxBx_SendSetupEmail" Display="None" SetFocusOnError="True"
                                        ValidationGroup="AddMailBoxVG"></asp:RequiredFieldValidator>
                                    <%--<asp:RegularExpressionValidator ID="REV_SendSetupEmail" runat="server" ErrorMessage='<%$ Resources:Content,DGN1110038%>'
                                        ControlToValidate="TxBx_SendSetupEmail" Display="None" SetFocusOnError="True"
                                        ValidationExpression="<%$ Resources:MPRegex,EmailAddress %>" ValidationGroup="AddMailBoxVG"></asp:RegularExpressionValidator>--%>
                                </div>
                            </div>
                        </div>
                    </div>

                    <div id="Tbl_Optional" runat="server">
                        <div class="panel-group" id="AS_OptionalFields" role="tablist" aria-multiselectable="true">
                            <div class="panel panel-primary">
                                <div class="panel-heading" role="tab" id="heading_OptionalFields">
                                    <h2 class="panel-title">
                                        <a role="button" id="A_OptionalFields" data-toggle="collapse" data-parent="#AS_OptionalFields" href="#CSB_OptionalFields" aria-expanded="false" aria-controls="CSB_OptionalFields" class="collapsed">
                                            <%= Resources.Content.DGN1110535%>
                                        </a>
                                    </h2>
                                </div>
                                <div id="CSB_OptionalFields" class="panel-collapse collapse" role="tabpanel" aria-labelledby="heading_OptionalFields" aria-expanded="false" style="height: 0px;">
                                    <div class="panel-body">
                                        <div class="row">
                                            <div class="col-sm-3 col-xs-12 row-label">
                                                <label>
                                                    <asp:Literal ID="Literal53" runat="server" Text='<%$ Resources:Content,DGN1110336 %>'
                                                        EnableViewState="false" />:</label>
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                                <div class="form-group">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_MBInitials" runat="server" MaxLength="6"></asp:TextBox>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>

                                        <div class="row">
                                            <div class="col-sm-3 col-xs-12 row-label">
                                                <label>
                                                    <asp:Literal ID="Literal55" runat="server" Text='<%$ Resources:Content,DGN1110529 %>'
                                                        EnableViewState="false" />:</label>
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                                <div class="form-group">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_MBMiddleName" runat="server" MaxLength="64"></asp:TextBox>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>

                                        <div class="row">
                                            <div class="col-sm-3 col-xs-12 row-label">
                                                <label>
                                                    <asp:Literal ID="Literal57" runat="server" Text='<%$ Resources:Content,DGN1110530 %>'
                                                        EnableViewState="false" />:</label>
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                                <div class="form-group">
                                                    <div class="form-line">
                                                        <asp:TextBox runat="server" ID="TxBx_MBAddress" MaxLength="2048"></asp:TextBox>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="row">
                                            <div class="col-sm-3 col-xs-12 row-label">
                                                <label>
                                                    <asp:Literal ID="Literal58" runat="server" Text='<%$ Resources:Content,GN0000880 %>'
                                                        EnableViewState="false" />:</label>
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                                <div class="form-group">
                                                    <div class="form-line">
                                                        <asp:TextBox runat="server" ID="TxBx_MBCity" MaxLength="128"></asp:TextBox>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="row">
                                            <div class="col-sm-3 col-xs-12 row-label">
                                                <label>
                                                    <asp:Literal ID="Literal59" runat="server" Text='<%$ Resources:Content,GN00001313 %>'
                                                        EnableViewState="false" />:</label>
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                                <div class="form-group">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_MBState" runat="server" MaxLength="128"></asp:TextBox>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="row">
                                            <div class="col-sm-3 col-xs-12 row-label">
                                                <label>
                                                    <asp:Literal ID="Literal60" runat="server" Text='<%$ Resources:Content,GN00001522 %>'
                                                        EnableViewState="false" />:</label>
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                                <div class="form-group">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_MBZip" runat="server" MaxLength="40"></asp:TextBox>
                                                        <EM:FilteredTextBoxExtender ID="FilteredTextBoxExtender1" runat="server" TargetControlID="TxBx_MBZip"
                                                            FilterType="Numbers,UppercaseLetters,LowercaseLetters,Custom" ValidChars="-_ ">
                                                        </EM:FilteredTextBoxExtender>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="row">
                                            <div class="col-sm-3 col-xs-12 row-label">
                                                <label>
                                                    <asp:Literal ID="Literal61" runat="server" Text='<%$ Resources:Content,GN0000882 %>'
                                                        EnableViewState="false" />:</label>
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                                <div class="form-group">
                                                    <asp:DropDownList ID="DDL_MBCountries" runat="server">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="row" id="TR_MBMobile" runat="server">
                                            <div class="col-sm-3 col-xs-12 row-label">
                                                <label>
                                                    <asp:Literal ID="Literal62" runat="server" Text='<%$ Resources:Content,GN00001524 %>'
                                                        EnableViewState="false" />:</label>
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                                <div class="form-group">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_MBMobile" runat="server" MaxLength="64"></asp:TextBox>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="row">
                                            <div class="col-sm-3 col-xs-12 row-label">
                                                <label>
                                                    <asp:Literal ID="Literal63" runat="server" Text='<%$ Resources:Content,GN0000886 %>'
                                                        EnableViewState="false" />:</label>
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                                <div class="form-group">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_MBFax" runat="server" MaxLength="64"></asp:TextBox>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="row">
                                            <div class="col-sm-3 col-xs-12 row-label">
                                                <label>
                                                    <asp:Literal ID="Literal20" runat="server" Text='<%$ Resources:Content,DGN1110537 %>'
                                                        EnableViewState="false" />:</label>
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                                <div class="form-group">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_MBBusinessPhone" runat="server" MaxLength="64"></asp:TextBox>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="row">
                                            <div class="col-sm-3 col-xs-12 row-label">
                                                <label>
                                                    <asp:Literal ID="Literal22" runat="server" Text='<%$ Resources:Content,DGN1110538 %>'
                                                        EnableViewState="false" />:</label>
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                                <div class="form-group">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_MBHomePhone" runat="server" MaxLength="64"></asp:TextBox>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="row">
                                            <div class="col-sm-3 col-xs-12 row-label">
                                                <label>
                                                    <asp:Literal ID="Literal23" runat="server" Text='<%$ Resources:Content,DGN1110383 %>'
                                                        EnableViewState="false" />:</label>
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                                <div class="form-group">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_MBPager" runat="server" MaxLength="64"></asp:TextBox>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="row">
                                            <div class="col-sm-3 col-xs-12 row-label">
                                                <label>
                                                    <asp:Literal ID="Literal24" runat="server" Text='<%$ Resources:Content,GN0001120 %>'
                                                        EnableViewState="false" />:</label>
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                                <div class="form-group">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_MBWebPage" runat="server" MaxLength="2048"></asp:TextBox>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="row">
                                            <div class="col-sm-3 col-xs-12 row-label">
                                                <label>
                                                    <asp:Literal ID="Literal25" runat="server" Text='<%$ Resources:Content,InternalNotes %>'
                                                        EnableViewState="false" />:</label>
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                                <div class="form-group">
                                                    <asp:TextBox ID="TxBx_MBDescription" runat="server" MaxLength="2000" TextMode="MultiLine" Width="100%" Height="150px"></asp:TextBox>
                                                </div>
                                            </div>
                                        </div>
                                        <br />
                                        <div class="header">
                                            <h3>
                                                <asp:Literal ID="Literal38" runat="server" EnableViewState="false" Text="<%$ Resources:Content,DGN1110357%>" />
                                            </h3>
                                        </div>
                                        <br />
                                        <div class="row">
                                            <div class="col-sm-3 col-xs-12 row-label">
                                                <label>
                                                    <asp:Literal ID="Ltrl_SelectProfilePic" runat="server" Text="<%$Resources:Content,USM0144 %>"></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.USM0144%></span>
                                                            <span class="fileupload-exists"><%= Resources.Content.GN0000385%></span>
                                                            <asp:FileUpload ID="Img_Upload" runat="server" onchange="clearSavedProfilePic()" />
                                                        </span>
                                                        <span class="thumbnail hide"></span><%--for preview of image type files hide class to not show on view--%>
                                                        <span class="fileupload-preview pull-right"></span>
                                                        <a href="#" class="close fileupload-exists pull-right font-40 col-deep-purple" data-dismiss="fileupload" style="float: none">×</a>
                                                    </div>
                                                    <asp:Image ID="Image_profilepic" runat="server" Width="96" Height="96" src="../../ImageDisplayHandler.ashx"
                                                        Visible="false" />
                                                    &nbsp;&nbsp;<asp:LinkButton ID="Lbtn_ClearProfilePic" runat="server" Text="<%$Resources:Content,String289 %>"
                                                        Visible="false"></asp:LinkButton>
                                                </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,DGN1110358 %>'
                                                        EnableViewState="false" />:</label>
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                                <div class="form-group">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_MBJobTitle" runat="server" MaxLength="128"></asp:TextBox>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="row" id="Div_OptionalCompany" runat="server">
                                            <div class="col-sm-3 col-xs-12 row-label">
                                                <label>
                                                    <asp:Literal ID="Literal27" runat="server" Text='<%$ Resources:Content,GN00001134 %>'
                                                        EnableViewState="false" />:</label>
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                                <div class="form-group">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_MBCompany" runat="server" MaxLength="64"></asp:TextBox>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="row">
                                            <div class="col-sm-3 col-xs-12 row-label">
                                                <label>
                                                    <asp:Literal ID="Literal29" runat="server" Text='<%$ Resources:Content,GN0000374 %>'
                                                        EnableViewState="false" />:</label>
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                                <div class="form-group">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_MBDepartment" runat="server" MaxLength="64"></asp:TextBox>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="row">
                                            <div class="col-sm-3 col-xs-12 row-label">
                                                <label>
                                                    <asp:Literal ID="Literal30" runat="server" Text='<%$ Resources:Content,DGN1110359 %>'
                                                        EnableViewState="false" />:</label>
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                                <div class="form-group">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_MBOffice" runat="server" MaxLength="128"></asp:TextBox>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <EM:AddUM ID="AddUM1" runat="server" />
                    <div class="row" id="Tbl_ManagePermissions" runat="server">
                        <div class="col-xs-12">
                            <asp:LinkButton ID="LB_ManagePermissions" runat="server" Text="<%$ Resources:Content,ExH051%>" CausesValidation="false"
                        class="btn btn-primary waves-effect m-t--4px"></asp:LinkButton>
                        </div>
                    </div>
                    <div class="row" id="Tbl_Permissions" runat="server">
                        <div class="col-xs-12">
                            <div class="card">
                                <div class="header">
                                    <h3>
                                        <asp:Literal ID="Dev5" runat="server" Text="<%$ Resources:Content,strFullAccessAMAPON%>" EnableViewState="false" /></h3>
                                </div>
                                <div class="body">
                                    <div class="row">
                                        <div class="col-xs-12">
                                            <EM:AddSelectableSelected ID="UCFullAccessAMAPON" runat="server" />
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <br />
                            <div class="card">
                                <div class="header">
                                    <h3>
                                        <asp:Literal ID="Literal51" runat="server" Text="<%$ Resources:Content,strFullAccessAMAPOFF%>" EnableViewState="false" /></h3>
                                </div>
                                <div class="body">
                                    <div class="row">
                                        <div class="col-xs-12 ">
                                            <EM:AddSelectableSelected ID="UCFullAccessAMAPOFF" runat="server" />
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <br />
                            <div class="card">
                                <div class="header">
                                    <h3>
                                        <asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:Content,L00146%>" EnableViewState="false" /></h3>
                                </div>
                                <div class="body" id="Tbl_AllSendOns" runat="server">
                                    <div class="row">
                                        <div class="col-xs-12 ">
                                            <EM:AddSelectableSelected ID="UCSendOn" runat="server" />
                                        </div>
                                    </div>
                                    <div class="row" id="TR_MessageCopyForSOB" runat="server" visible="false">
                                        <div class="col-xs-12 row-label">
                                            <asp:CheckBox ID="ChBx_MessageCopyForSOB" runat="server" Text="<%$ Resources:Content,FAM00142%>" />
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <br />
                            <div class="card" id="FS_SendAs" runat="server">
                                <div class="header">
                                    <h3>
                                        <asp:Literal ID="Literal52" runat="server" Text="<%$ Resources:Content,L00147%>" EnableViewState="false" /></h3>
                                </div>
                                <div class="body" id="Tbl_AllSendAss" runat="server">
                                    <div class="row">
                                        <div class="col-xs-12 ">
                                            <EM:AddSelectableSelected ID="UCSendAs" runat="server" />
                                        </div>
                                    </div>
                                    <div class="row" id="TR_MessageCopyForSA" runat="server" visible="false">
                                        <div class="col-xs-12 row-label">
                                            <asp:CheckBox ID="ChBx_MessageCopyForSA" runat="server" Text="<%$ Resources:Content,FAM00143%>" />
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div id="TR_DLMemberShip" runat="server">
                        <div class="panel-group" id="AS_AddDLMS" role="tablist" aria-multiselectable="true">
                            <div class="panel panel-primary">
                                <div class="panel-heading" role="tab" id="SH_AddDLMS">
                                    <h2 class="panel-title">
                                        <a role="button" data-toggle="collapse" data-parent="#AS_AddDLMS" href="#CSB_AddDLMS" aria-expanded="true" aria-controls="CSB_AddDLMS" class="collapsed">
                                            <%= Resources.Content.EX0010%>
                                        </a>
                                    </h2>
                                </div>
                                <div id="CSB_AddDLMS" class="panel-collapse collapse" role="tabpanel" aria-labelledby="SH_AddDLMS" aria-expanded="false" style="height: 0px;">
                                    <div class="panel-body">
                                        <div class="row">
                                            <div class="col-xs-12">
                                                <EM:AddSelectableSelected ID="UCDlist" runat="server" />
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                    <div id="Tbl_PFPermission" runat="server">
                        <div class="panel-group" id="AS_AddPFPerm" role="tablist" aria-multiselectable="true">
                            <div class="panel panel-primary">
                                <div class="panel-heading" role="tab" id="SH_AddPFPerm">
                                    <h2 class="panel-title">
                                        <a role="button" data-toggle="collapse" data-parent="#AS_AddPFPerm" href="#CSB_AddPFPerm" aria-expanded="true" aria-controls="CSB_AddPFPerm" class="collapsed">
                                            <%= Resources.Content.Exh519%>
                                        </a>
                                    </h2>
                                </div>
                                <div id="CSB_AddPFPerm" class="panel-collapse collapse" role="tabpanel" aria-labelledby="SH_AddPFPerm" aria-expanded="false" style="height: 0px;">
                                    <div class="panel-body">
                                        <EM:AddSelectableSelected ID="UCPublicFolder" runat="server" />
                                        <div class="row">
                                            <div class="col-sm-2 col-xs-12 row-label">
                                                <label>
                                                    <asp:Literal ID="Ltl_PLevel" runat="server" Text="<%$ Resources:Content,Exh500 %>"
                                                        EnableViewState="false" />:</label>
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                                <div class="form-group">
                                                    <asp:DropDownList ID="DDL_PermissionLevel" runat="server">
                                                        <asp:ListItem Text="<%$ Resources:Content,String456 %>" Value="custom" />
                                                        <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-4 col-xs-12">
                                                <asp:CheckBox ID="ChBx_CreateItems" runat="server" Text="<%$ Resources:Content,Exh509 %>" />
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                                <asp:CheckBox ID="ChBx_FolderOwner" runat="server" Text="<%$ Resources:Content,Exh510 %>" />
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                                <asp:CheckBox ID="ChBx_ReadItems" runat="server" Text="<%$ Resources:Content,Exh511 %>" />
                                            </div>
                                        </div>
                                        <div class="row">
                                            <div class="col-sm-4 col-xs-12">
                                                <asp:CheckBox ID="ChBx_FolderContact" runat="server" Text="<%$ Resources:Content,Exh512 %>" />
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                                <asp:CheckBox ID="ChBx_CreateSubFolders" runat="server" Text="<%$ Resources:Content,Exh513 %>" />
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                                <asp:CheckBox ID="ChBx_FolderVisible" runat="server" Text="<%$ Resources:Content,Exh514 %>" />
                                            </div>
                                        </div>
                                        <div class="row">
                                            <div class="col-sm-4 col-xs-12">
                                                <asp:CheckBox ID="ChBx_EditOwn" runat="server" Text="<%$ Resources:Content,Exh515 %>" />
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                                <asp:CheckBox ID="ChBx_DeleteOwn" runat="server" Text="<%$ Resources:Content,Exh516 %>" />
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                                <asp:CheckBox ID="ChBx_EditAll" runat="server" Text="<%$ Resources:Content,Exh517 %>" />
                                            </div>
                                        </div>
                                        <div class="row">
                                            <div class="col-sm-4 col-xs-12">
                                                <asp:CheckBox ID="ChBx_DeleteAll" runat="server" Text="<%$ Resources:Content,Exh518 %>" />
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="row" id="Tbl_MBActions" runat="server">
                        <div class="col-xs-12">
                            <asp:ValidationSummary ID="VS" runat="server" ShowMessageBox="true" ShowSummary="false"
                                ValidationGroup="AddMailBoxVG" HeaderText="<%$ Resources:Content,EM000001%>" />
                            <asp:Button ID="Btn_MailboxAdd" runat="server" ValidationGroup="AddMailBoxVG" CausesValidation="True"
                                class="btn btn-primary waves-effect" Text="<%$ Resources:Content,DGN1110533%>" />
                            <asp:Button ID="Btn_MailboxAddClose" runat="server" CausesValidation="false" class="btn btn-primary waves-effect"
                                Text="<%$ Resources:Content,GN0000572%>" />
                        </div>
                    </div>

                </div>
            </div>
        </asp:Panel>
    </div>
</div>
<CC:UpdatePanelInlineScriptControl ID="UpdatePanelInlineScriptControl2" runat="server">
    <script lang="javascript">
        AllowArrowKeysInFilteredTextBoxExtender('<%=FilteredTextBoxExtender1.ClientID%>');
    </script>
</CC:UpdatePanelInlineScriptControl>
