<%@ control language="VB" autoeventwireup="false" inherits="RCC_O365_CC_SPSiteGroupAction, 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="~/Template/GVPager.ascx" TagName="Pager" TagPrefix="UC" %>
<%@ Register Src="~/Template/CC/Selectable_Selected_LBX.ascx" TagName="AddSelectableSelected" TagPrefix="EM" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="AjaxToolkit" %>

<%--Edit SP Site--%>
<div class="col-xs-12">
    <div class="card">
        <div class="header">
            <div class="displayInlineBlock">
                <h2>
                    <asp:Literal ID="Literal44" runat="server" Text="<%$ Resources:Content,GroupOperations%>" /></h2>
            </div>
            <asp:LinkButton ID="lb_SPGoBack" 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">
                    <label>
                        *<asp:Literal ID="Literal15" runat="server" Text="<%$ Resources:Content,SelectSites%>"></asp:Literal>:
                    </label>
                </div>
                <div class="col-xs-12">
                    <div class="form-group">
                        <div class="form-line">
                            <EM:AddSelectableSelected ID="UCSites" runat="server" SortByValue="false" />
                        </div>
                    </div>
                </div>
            </div>
            <asp:Panel ID="Pnl_OperationButtons" runat="server">
                <div class="row">
                    <div class="col-xs-12">
                        <asp:LinkButton ID="Lbtn_DeleteSites" Text="<%$ Resources:Content,RemoveSelectedSites%>" CssClass="btn btn-primary"
                            CommandName="RemoveSPSite" runat="server" />
                        <EM:ConfirmButtonExtender ID="CBE_RemoveSites" runat="server" TargetControlID="Lbtn_DeleteSites"
                            ConfirmText="<%$ Resources:Content,RemoveSitesConfirmText%>">
                        </EM:ConfirmButtonExtender>
                    </div>
                </div>
                <div class="row">
                    <div class="col-xs-12">
                        <asp:LinkButton CssClass="btn btn-primary" ID="lb_GeneralInformation" runat="server" Text='<%$ Resources:Content, GeneralInformation %>' />
                        <asp:LinkButton CssClass="btn btn-primary" ID="lb_AddInternalUsers" runat="server" Text='<%$ Resources:Content, AddInternalUsers %>' />
                        <asp:LinkButton CssClass="btn btn-primary" ID="lb_AddExternalUsers" runat="server" Text='<%$ Resources:Content, AddExternalUsers %>' />
                        <asp:LinkButton CssClass="btn btn-primary" ID="lb_AddGroups" runat="server" Text='<%$ Resources:Content, AddGroups %>' />
                        <asp:LinkButton CssClass="btn btn-primary" ID="lb_UpdateInternalUsers" runat="server" Text='<%$ Resources:Content, UpdateInternalUsers %>' />
                        <asp:LinkButton CssClass="btn btn-primary" ID="lb_UpdateExternalUsers" runat="server" Text='<%$ Resources:Content, UpdateExternalUsers %>' />
                        <asp:LinkButton CssClass="btn btn-primary" ID="lb_UpdateGroups" runat="server" Text='<%$ Resources:Content, UpdateGroups %>' />
                        <asp:LinkButton CssClass="btn btn-primary" ID="lb_RemoveInternalUsers" runat="server" Text='<%$ Resources:Content, RemoveInternalUsers %>' />
                        <asp:LinkButton CssClass="btn btn-primary" ID="lb_RemoveExternalUsers" runat="server" Text='<%$ Resources:Content, RemoveExternalUsers %>' />
                        <asp:LinkButton CssClass="btn btn-primary" ID="lb_RemoveGroups" runat="server" Text='<%$ Resources:Content, RemoveGroups %>' />
                    </div>
                </div>
            </asp:Panel>
            <asp:Panel ID="Pnl_GeneralInformation" runat="server" Visible="false">
                <div class="card">
                    <div class="header">
                        <div class="displayInlineBlock">
                            <h2>
                                <asp:Literal ID="Literal35" runat="server" Text="<%$ Resources:Content,GeneralInformation%>" /></h2>
                        </div>
                        <asp:LinkButton ID="lb_CloseGeneralInformation" runat="server" Text="<%$ Resources:Content,GN000150 %>" CausesValidation="false"
                            CssClass="btn btn-primary waves-effect pull-right m-t--4px" />
                    </div>
                    <div class="body">
                        <div class="row">
                            <div class="col-sm-3 col-xs-12 row-label">
                                <label>
                                    <asp:Literal ID="Literal3" runat="server" Text="<%$ Resources:Content,RequestAccessEmail%>"></asp:Literal>:</label>
                            </div>
                            <div class="col-sm-7 col-xs-12">
                                <div class="form-group">
                                    <div class="form-line">
                                        <asp:TextBox ID="TxBx_RequestAccessEmail" runat="server" Enabled="false"></asp:TextBox>
                                    </div>
                                    <%--<asp:RegularExpressionValidator
                                        ID="RegularExpressionValidator1" runat="server" ControlToValidate="TxBx_RequestAccessEmail"
                                        Display="None" ValidationExpression="^[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?\.)+[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?$"
                                        ValidationGroup="GeneralInformation"></asp:RegularExpressionValidator>--%>
                                </div>

                                <asp:ValidationSummary ID="ValidationSummary2" runat="server" ShowMessageBox="false"
                                    ShowSummary="true" ValidationGroup="GeneralInformation" HeaderText="<%$ Resources:Content,SMI00940%>" />
                            </div>
                            <div class="col-sm-2 col-xs-12">
                                <div class="checkbox">
                                    <label>
                                        <asp:CheckBox Text="<%$ Resources:Content,Update%>" ID="ChBx_UpdateRequestAccessEmail" runat="server" AutoPostBack="True" />
                                    </label>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-3 col-xs-12 row-label">
                                <label>
                                    <asp:Literal ID="Literal40" runat="server" Text="<%$ Resources:Content,AllowDesigner%>"></asp:Literal>:</label>
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <div class="form-group">

                                    <asp:RadioButtonList ID="RBL_AllowDesigner" runat="server">
                                        <asp:ListItem Text="<%$ Resources: Content, NoChange %>" Value="NoChange" Selected="True"></asp:ListItem>
                                        <asp:ListItem Text="<%$ Resources: Content, Yes %>" Value="Yes"></asp:ListItem>
                                        <asp:ListItem Text="<%$ Resources: Content, No %>" Value="No"></asp:ListItem>
                                    </asp:RadioButtonList>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-3 col-xs-12 row-label">
                                <label>
                                    <asp:Literal ID="Literal5" runat="server" Text="<%$ Resources:Content,ShareByEmail%>"></asp:Literal>:</label>
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <div class="form-group">

                                    <asp:RadioButtonList ID="RBL_ShareByEmail" runat="server">
                                        <asp:ListItem Text="<%$ Resources: Content, NoChange %>" Value="NoChange" Selected="True"></asp:ListItem>
                                        <asp:ListItem Text="<%$ Resources: Content, Yes %>" Value="Yes"></asp:ListItem>
                                        <asp:ListItem Text="<%$ Resources: Content, No %>" Value="No"></asp:ListItem>
                                    </asp:RadioButtonList>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-3 col-xs-12 row-label">
                                <label>
                                    <asp:Literal ID="Literal6" runat="server" Text="<%$ Resources:Content,AllowRssFeeds%>"></asp:Literal>:</label>
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <div class="form-group">

                                    <asp:RadioButtonList ID="RBL_AllowRssFeeds" runat="server">
                                        <asp:ListItem Text="<%$ Resources: Content, NoChange %>" Value="NoChange" Selected="True"></asp:ListItem>
                                        <asp:ListItem Text="<%$ Resources: Content, Yes %>" Value="Yes"></asp:ListItem>
                                        <asp:ListItem Text="<%$ Resources: Content, No %>" Value="No"></asp:ListItem>
                                    </asp:RadioButtonList>
                                </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,SharingCapability%>"></asp:Literal>:</label>
                            </div>
                            <div class="col-sm-7 col-xs-12">
                                <div class="form-group">
                                    <asp:DropDownList ID="DDL_SharingCapability" runat="server" Enabled="false">
                                    </asp:DropDownList>
                                </div>
                            </div>
                            <div class="col-sm-2 col-xs-12">
                                <div class="checkbox">
                                    <label>
                                        <asp:CheckBox Text="<%$ Resources:Content,Update%>" ID="ChBx_UpdateSharingCapability" runat="server" AutoPostBack="true" />
                                    </label>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-xs-12">
                                <asp:Button ID="Btn_SaveGeneralInformation" runat="server" CssClass="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,Save%>"
                                    ValidationGroup="GeneralInformation" />
                                <asp:Button ID="Btn_SaveGeneralInformationClose" runat="server" CssClass="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN0000572%>" />
                            </div>
                        </div>
                    </div>
                </div>
            </asp:Panel>

            <asp:Panel ID="Pnl_AddInternalUsers" runat="server" Visible="false">
                <div class="card">
                    <div class="header">
                        <div class="displayInlineBlock">
                            <h2>
                                <asp:Literal ID="Literal36" runat="server" Text="<%$ Resources:Content,AddInternalUsers%>" /></h2>
                        </div>
                        <asp:LinkButton ID="lb_CloseAddInternalUsers" runat="server" Text="<%$ Resources:Content,GN000150 %>" 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">
                                <label>
                                    *<asp:Literal ID="Literal23" runat="server" Text="<%$ Resources:Content,Users%>"></asp:Literal>:
                                </label>
                            </div>
                            <div class="col-xs-12">
                                <div class="form-group">
                                    <div class="form-line">
                                        <EM:AddSelectableSelected ID="UCInternalUsersForAdd" runat="server" SortByValue="false" />
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="row">
                            <div class="col-xs-12 row-label">
                                <label>
                                    <asp:Literal ID="Literal24" runat="server" Text="<%$ Resources:Content,PermissionLevels%>"></asp:Literal>:
                                </label>
                            </div>
                            <div class="col-xs-12">
                                <div class="form-group">
                                    <div class="form-line">
                                        <EM:AddSelectableSelected ID="UCPermissionLevelsForAddInternalUsers" runat="server" SortByValue="false" />
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="row">
                            <div class="col-xs-12 row-label">
                                <label>
                                    *<asp:Literal ID="Literal25" runat="server" Text="<%$ Resources:Content,Groups%>"></asp:Literal>:
                                </label>
                            </div>
                            <div class="col-xs-12">
                                <div class="form-group">
                                    <div class="form-line">
                                        <EM:AddSelectableSelected ID="UCGroupsForAddInternalUsers" runat="server" SortByValue="false" />
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="row">
                            <div class="col-xs-12">
                                <label class="row-label">
                                    <asp:Literal ID="Literal26" runat="server" Text="<%$ Resources:Content,IsAdmin%>"></asp:Literal>:
                                        <asp:CheckBox ID="ChBx_IsAdmin" runat="server" Text=" " />
                                </label>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-xs-12">
                                <asp:Button ID="Btn_AddInternalUsers" runat="server" CssClass="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,Save%>"
                                    ValidationGroup="AddInternalUsers" />
                                <asp:Button ID="Btn_AddInternalUsersClose" runat="server" CssClass="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN0000572%>" />
                            </div>
                        </div>
                    </div>
                </div>
            </asp:Panel>

            <asp:Panel ID="Pnl_AddExternalUsers" runat="server" Visible="false">
                <div class="card">
                    <div class="header">
                        <div class="displayInlineBlock">
                            <h2>
                                <asp:Literal ID="Literal37" runat="server" Text="<%$ Resources:Content,AddExternalUsers%>" /></h2>
                        </div>
                        <asp:LinkButton ID="lb_CloseAddExternalUsers" runat="server" Text="<%$ Resources:Content,GN000150 %>" 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">
                                <label>
                                    *<asp:Literal ID="Literal11" runat="server" EnableViewState="false" Text='<%$ Resources:Content,Users %>' />:
                                </label>
                            </div>

                            <div class="col-xs-12">
                                <div class="form-group">
                                    <asp:TextBox runat="server" ID="TxBx_ExternalUsersForAdd" TextMode="MultiLine" Width="100%" Height="150px"></asp:TextBox>
                                </div>
                                <b class="small">
                                    <asp:Literal ID="Lbl_EnterCommaSeperatedEmailAddresses" runat="server" Text="<%$ Resources:Content,EnterCommaSeperatedEmailAddresses %>"></asp:Literal></b>
                                    <asp:RequiredFieldValidator ControlToValidate="TxBx_ExternalUsersForAdd" ID="RequiredFieldValidator2" Display="None"
                                        runat="server" ValidationGroup="AddExternalUsers" ErrorMessage="<%$ Resources:Content,UserMandatory%>"></asp:RequiredFieldValidator>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-xs-12 row-label">
                                <label>
                                    *<asp:Literal ID="Literal2" runat="server" Text="<%$ Resources:Content,PermissionLevels%>"></asp:Literal>:
                                </label>
                            </div>
                            <div class="col-xs-12">
                                <div class="form-group">
                                    <div class="form-line">
                                        <EM:AddSelectableSelected ID="UCPermissionLevelsForAddExternalUsers" runat="server" SortByValue="false" />
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="row">
                            <div class="col-xs-12">
                                <asp:ValidationSummary ID="VS_AddExternalUsers" runat="server" ValidationGroup="AddExternalUsers" ShowMessageBox="true" ShowSummary="false" />
                                <asp:Button ID="Btn_AddExternalUsers" runat="server" CssClass="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,Save%>"
                                    ValidationGroup="AddExternalUsers" CausesValidation="true"/>
                                <asp:Button ID="Btn_AddExternalUsersClose" CausesValidation="false" runat="server" CssClass="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN0000572%>" />
                            </div>
                        </div>
                    </div>
                </div>
            </asp:Panel>

            <asp:Panel ID="Pnl_AddGroups" runat="server" Visible="false">
                <div class="card">
                    <div class="header">
                        <div class="displayInlineBlock">
                            <h2>
                                <asp:Literal ID="Literal38" runat="server" Text="<%$ Resources:Content,AddGroups%>" /></h2>
                        </div>
                        <asp:LinkButton ID="lb_CloseAddGroups" runat="server" Text="<%$ Resources:Content,GN000150 %>" CausesValidation="false"
                            CssClass="btn btn-primary waves-effect pull-right m-t--4px" />
                    </div>
                    <div class="body">
                        <div class="row">
                            <div class="col-sm-2 col-xs-12 row-label">
                                <label>
                                    *<asp:Literal ID="Literal8" runat="server" EnableViewState="false" Text='<%$ Resources:Content,Name %>' />:
                                </label>
                            </div>

                            <div class="col-sm-4 col-xs-12">
                                <div class="form-group">
                                    <div class="form-line">
                                        <asp:TextBox runat="server" ID="TxBx_GroupForAdd"></asp:TextBox>
                                    </div>
                                </div>
                                <b class="small">
                                    <asp:Literal ID="Literal47" runat="server" Text="<%$ Resources:Content,GroupNameSeparatedByComma %>"></asp:Literal></b>
                                <div>
                                    <asp:RequiredFieldValidator ControlToValidate="TxBx_GroupForAdd" ID="RequiredFieldValidator1"
                                        Display="None" runat="server" ValidationGroup="AddGroup" ErrorMessage="<%$ Resources:Content,GroupNameRequired%>"></asp:RequiredFieldValidator>
                                </div>
                            </div>
                        </div>

                        <div class="row">
                            <div class="col-xs-2 row-label">
                                <label>
                                    *<asp:Literal ID="Literal18" runat="server" EnableViewState="false" Text='<%$ Resources:Content,Owner %>' />:
                                </label>
                            </div>

                            <div class="col-xs-4">
                                <div class="form-group">
                                    <div class="form-line">
                                        <asp:DropDownList ID="DDl_GroupOwner" runat="server"></asp:DropDownList>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-xs-12 row-label">
                                <label>
                                    *<asp:Literal ID="Literal4" runat="server" Text="<%$ Resources:Content,PermissionLevels%>"></asp:Literal>:
                                </label>
                            </div>
                            <div class="col-xs-12">
                                <div class="form-group">
                                    <div class="form-line">
                                        <EM:AddSelectableSelected ID="UCPermissionLevelsForAddGroups" runat="server" SortByValue="false" />
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-xs-12">
                                <asp:ValidationSummary ID="VS_AddGroup" runat="server" ValidationGroup="AddGroup" ShowMessageBox="true" ShowSummary="false" />
                                <asp:Button ID="Btn_AddGroup" runat="server" CssClass="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,Save%>"
                                    ValidationGroup="AddGroup" CausesValidation="true"/>
                                <asp:Button ID="Btn_AddGroupClose" runat="server" CssClass="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN0000572%>" />
                            </div>
                        </div>
                    </div>
                </div>
            </asp:Panel>

            <asp:Panel ID="Pnl_UpdateInternalUsers" runat="server" Visible="false">
                <div class="card">
                    <div class="header">
                        <div class="displayInlineBlock">
                            <h2>
                                <asp:Literal ID="Literal39" runat="server" Text="<%$ Resources:Content,UpdateInternalUsers%>" /></h2>
                        </div>
                        <asp:LinkButton ID="lb_CloseUpdateInternalUsers" runat="server" Text="<%$ Resources:Content,GN000150 %>" 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">
                                <label>
                                    *<asp:Literal ID="Literal9" runat="server" Text="<%$ Resources:Content,Users%>"></asp:Literal>:
                                </label>
                            </div>
                            <div class="col-xs-12">
                                <div class="form-group">
                                    <div class="form-line">
                                        <EM:AddSelectableSelected ID="UCInternalUsersForUpdate" runat="server" SortByValue="false" />
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="row">
                            <div class="col-sm-3 ol-xs-12 row-label">
                                <label>
                                    <asp:Literal ID="Literal10" runat="server" Text="<%$ Resources:Content,PermissionLevelsToAdd%>"></asp:Literal>:
                                </label>
                            </div>
                            <div class="col-sm-9 col-xs-12">
                                <div class="checkbox">
                                    <asp:CheckBox Text="<%$ Resources:Content,Update%>" ID="ChBx_UpdateUCPermissionLevelsToAddFoUpdateInternalUsers" runat="server" AutoPostBack="True" />
                                </div>
                            </div>
                            <div id="Div_UCPermissionLevelsToAddFoUpdateInternalUsers" runat="server" visible="false">
                                <div class="col-xs-12">
                                    <div class="form-group">
                                        <div class="form-line">
                                            <EM:AddSelectableSelected ID="UCPermissionLevelsToAddFoUpdateInternalUsers" runat="server" SortByValue="false" />
                                        </div>
                                    </div>
                                </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,PermissionLevelsToRemove%>"></asp:Literal>:
                                </label>
                            </div>
                            <div class="col-sm-9 col-xs-12">
                                <div class="checkbox">
                                    <asp:CheckBox Text="<%$ Resources:Content,Update%>" ID="ChBx_UpdateUCPermissionLevelsToRemoveFoUpdateInternalUsers" runat="server" AutoPostBack="True" />
                                </div>
                            </div>
                            <div id="Div_UCPermissionLevelsToRemoveFoUpdateInternalUsers" runat="server" visible="false">
                                <div class="col-xs-12">
                                    <div class="form-group">
                                        <div class="form-line">
                                            <EM:AddSelectableSelected ID="UCPermissionLevelsToRemoveFoUpdateInternalUsers" runat="server" SortByValue="false" />
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-3 col-xs-12 row-label">
                                <label>
                                    <asp:Literal ID="Literal28" runat="server" Text="<%$ Resources:Content,GroupsToAdd%>"></asp:Literal>:
                                </label>
                            </div>
                            <div class="col-sm-9 col-xs-12">
                                <div class="checkbox">
                                    <asp:CheckBox Text="<%$ Resources:Content,Update%>" ID="ChBx_UpdateUCGroupsToAddForUpdateInternalUsers" runat="server" AutoPostBack="True" />
                                </div>
                            </div>
                            <div id="Div_UCGroupsToAddForUpdateInternalUsers" runat="server" visible="false">
                                <div class="col-xs-12">
                                    <div class="form-group">
                                        <div class="form-line">
                                            <EM:AddSelectableSelected ID="UCGroupsToAddForUpdateInternalUsers" runat="server" SortByValue="false" />
                                        </div>
                                    </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,GroupsToRemove%>"></asp:Literal>:
                                </label>
                            </div>
                            <div class="col-sm-9 col-xs-12">
                                <div class="checkbox">
                                    <asp:CheckBox Text="<%$ Resources:Content,Update%>" ID="ChBx_UpdateUCGroupsToRemoveForUpdateInternalUsers" runat="server" AutoPostBack="True" />
                                </div>
                            </div>
                            <div id="Div_UCGroupsToRemoveForUpdateInternalUsers" runat="server" visible="false">
                                <div class="col-xs-12">
                                    <div class="form-group">
                                        <div class="form-line">
                                            <EM:AddSelectableSelected ID="UCGroupsToRemoveForUpdateInternalUsers" runat="server" SortByValue="false" />
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-3 col-xs-12 row-label">
                                <asp:Literal ID="Literal30" runat="server" Text="<%$ Resources:Content,IsAdmin%>"></asp:Literal>:
                            </div>
                            <div class="col-sm-9 col-xs-12">
                                <div class="form-group">
                                    <asp:RadioButtonList ID="Rbtn_IsAdminForUpdateInternalUsers" runat="server">
                                        <asp:ListItem Text="<%$ Resources: Content, NoChange %>" Value="NoChange" Selected="True"></asp:ListItem>
                                        <asp:ListItem Text="<%$ Resources: Content, Yes %>" Value="Yes"></asp:ListItem>
                                        <asp:ListItem Text="<%$ Resources: Content, No %>" Value="No"></asp:ListItem>
                                    </asp:RadioButtonList>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-xs-12">
                                <asp:Button ID="Btn_UpdateInternalUsers" runat="server" CssClass="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,Save%>"
                                    ValidationGroup="UpdateInternalUsers" />
                                <asp:Button ID="Btn_UpdateInternalUsersClose" runat="server" CssClass="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN0000572%>" />
                            </div>
                        </div>
                    </div>
                </div>
            </asp:Panel>

            <asp:Panel ID="Pnl_UpdateExternalUsers" runat="server" Visible="false">
                <div class="card">
                    <div class="header">
                        <div class="displayInlineBlock">
                            <h2>
                                <asp:Literal ID="Literal41" runat="server" Text="<%$ Resources:Content,UpdateExternalUsers%>" /></h2>
                        </div>
                        <asp:LinkButton ID="lb_CloseUpdateExternalUsers" runat="server" Text="<%$ Resources:Content,GN000150 %>" 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">
                                <label>
                                    *<asp:Literal ID="Literal12" runat="server" Text="<%$ Resources:Content,Users%>"></asp:Literal>:
                                </label>
                            </div>
                            <div class="col-xs-12">
                                <div class="form-group">
                                    <asp:TextBox runat="server" ID="TxBx_ExternalUsersForUpdate" TextMode="MultiLine" Width="100%" Height="150px"></asp:TextBox>
                                </div>
                                <b class="small">
                                    <asp:Literal ID="Literal48" runat="server" Text="<%$ Resources:Content,EnterCommaSeperatedEmailAddresses %>"></asp:Literal></b>
                                    <asp:RequiredFieldValidator ID="RFV_ExternalUsersForUpdate" runat="server" ControlToValidate="TxBx_ExternalUsersForUpdate"
                                        Display="None" ValidationGroup="UpdateExternalUsers" ErrorMessage="<%$ Resources:Content,UserMandatory%>"></asp:RequiredFieldValidator>
                            </div>
                        </div>

                        <div class="row">
                            <div class="col-sm-3 ol-xs-12 row-label">
                                <label>
                                    <asp:Literal ID="Literal13" runat="server" Text="<%$ Resources:Content,PermissionLevelsToAdd%>"></asp:Literal>:
                                </label>
                            </div>
                            <div class="col-sm-9 col-xs-12">
                                <div class="checkbox">
                                    <asp:CheckBox Text="<%$ Resources:Content,Update%>" ID="ChBx_UpdateUCPermissionLevelsToAddFoUpdateExternalUsers" runat="server" AutoPostBack="True" />
                                </div>
                            </div>
                            <div id="Div_UCPermissionLevelsToAddFoUpdateExternalUsers" runat="server" visible="false">
                                <div class="col-xs-12">
                                    <div class="form-group">
                                        <div class="form-line">
                                            <EM:AddSelectableSelected ID="UCPermissionLevelsToAddFoUpdateExternalUsers" runat="server" SortByValue="false" />
                                        </div>
                                    </div>
                                </div>

                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-3 col-xs-12 row-label">
                                <label>
                                    <asp:Literal ID="Literal14" runat="server" Text="<%$ Resources:Content,PermissionLevelsToRemove%>"></asp:Literal>:
                                </label>
                            </div>
                            <div class="col-sm-9 col-xs-12">
                                <div class="checkbox">
                                    <asp:CheckBox Text="<%$ Resources:Content,Update%>" ID="ChBx_UpdateUCPermissionLevelsToRemoveFoUpdateExternalUsers" runat="server" AutoPostBack="True" />
                                </div>
                            </div>
                            <div id="Div_UCPermissionLevelsToRemoveFoUpdateExternalUsers" runat="server" visible="false">
                                <div class="col-xs-12">
                                    <div class="form-group">
                                        <div class="form-line">
                                            <EM:AddSelectableSelected ID="UCPermissionLevelsToRemoveFoUpdateExternalUsers" runat="server" SortByValue="false" />
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-3 col-xs-12 row-label">
                                <label>
                                    <asp:Literal ID="Literal19" runat="server" Text="<%$ Resources:Content,GroupsToAdd%>"></asp:Literal>:
                                </label>
                            </div>
                            <div class="col-sm-9 col-xs-12">
                                <div class="checkbox">
                                    <asp:CheckBox Text="<%$ Resources:Content,Update%>" ID="ChBx_UpdateUCGroupsToAddForUpdateExternalUsers" runat="server" AutoPostBack="True" />
                                </div>
                            </div>
                            <div id="Div_UCGroupsToAddForUpdateExternalUsers" runat="server" visible="false">
                                <div class="col-xs-12">
                                    <div class="form-group">
                                        <div class="form-line">
                                            <EM:AddSelectableSelected ID="UCGroupsToAddForUpdateExternalUsers" runat="server" SortByValue="false" />
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-3 col-xs-12 row-label">
                                <label>
                                    <asp:Literal ID="Literal31" runat="server" Text="<%$ Resources:Content,GroupsToRemove%>"></asp:Literal>:
                                </label>
                            </div>
                            <div class="col-sm-9 col-xs-12">
                                <div class="checkbox">
                                    <asp:CheckBox Text="<%$ Resources:Content,Update%>" ID="ChBx_UpdateUCGroupsToRemoveForUpdateExternalUsers" runat="server" AutoPostBack="True" />
                                </div>
                            </div>
                            <div id="Div_UCGroupsToRemoveForUpdateExternalUsers" runat="server" visible="false">
                                <div class="col-xs-12">
                                    <div class="form-group">
                                        <div class="form-line">
                                            <EM:AddSelectableSelected ID="UCGroupsToRemoveForUpdateExternalUsers" runat="server" SortByValue="false" />
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="row">
                            <div class="col-xs-12">
                                <asp:ValidationSummary ID="VS_UpdateExternalUsers" runat="server" ValidationGroup="UpdateExternalUsers" ShowMessageBox="true" ShowSummary="false" />
                                <asp:Button ID="Btn_UpdateExternalUsers" runat="server" CssClass="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,Save%>"
                                    ValidationGroup="UpdateExternalUsers" />
                                <asp:Button ID="Btn_UpdateExternalUsersClose" runat="server" CssClass="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN0000572%>" />
                            </div>
                        </div>
                    </div>
                </div>
            </asp:Panel>

            <asp:Panel ID="Pnl_UpdateGroups" runat="server" Visible="false">
                <div class="card">
                    <div class="header">
                        <div class="displayInlineBlock">
                            <h2>
                                <asp:Literal ID="Literal42" runat="server" Text="<%$ Resources:Content,UpdateGroups%>" /></h2>
                        </div>
                        <asp:LinkButton ID="lb_CloseUpdateGroups" runat="server" Text="<%$ Resources:Content,GN000150 %>" 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">
                                <label>
                                    *<asp:Literal ID="Literal32" runat="server" Text="<%$ Resources:Content,Groups%>"></asp:Literal>:
                                </label>
                            </div>
                            <div class="col-xs-12">
                                <div class="form-group">
                                    <asp:TextBox runat="server" ID="TxBx_GroupsForUpdate" TextMode="MultiLine" Width="100%" Height="150px"></asp:TextBox>
                                </div>
                                <b class="small">
                                    <asp:Literal ID="Literal49" runat="server" Text="<%$ Resources:Content,GroupNameSeparatedByComma %>"></asp:Literal></b>
                                <div>
                                    <asp:RequiredFieldValidator ID="RFV_GroupsForUpdate" runat="server" ControlToValidate="TxBx_GroupsForUpdate"
                                        Display="None" ValidationGroup="UpdateGroups"  ErrorMessage="<%$ Resources:Content,GroupMandatory%>"></asp:RequiredFieldValidator></div>

                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-3 col-xs-2 row-label">
                                <label>
                                    *<asp:Literal ID="Literal34" runat="server" EnableViewState="false" Text='<%$ Resources:Content,Owner %>' />:
                                </label>
                            </div>

                            <div class="col-xs-4">
                                <div class="form-group">
                                    <div class="form-line">
                                        <asp:DropDownList ID="DDl_GroupOwnerForUpdateGroups" runat="server" Enabled="false"></asp:DropDownList>
                                    </div>
                                </div>
                            </div>
                            <div class="col-sm-5 col-xs-12">
                                <div class="checkbox">
                                    <asp:CheckBox Text="<%$ Resources:Content,Update%>" ID="ChBx_UpdateDDl_GroupOwnerForUpdateGroups" runat="server" AutoPostBack="True" />
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-3 ol-xs-12 row-label">
                                <label>
                                    <asp:Literal ID="Literal33" runat="server" Text="<%$ Resources:Content,PermissionLevelsToAdd%>"></asp:Literal>:
                                </label>
                            </div>
                            <div class="col-sm-9 col-xs-12">
                                <div class="checkbox">
                                    <asp:CheckBox Text="<%$ Resources:Content,Update%>" ID="ChBx_UpdateUCPermissionLevelsForUpdateGroups" runat="server" AutoPostBack="True" />
                                </div>
                            </div>
                            <div id="Div_UCPermissionLevelsForUpdateGroups" runat="server" visible="false">
                                <div class="col-xs-12">
                                    <div class="form-group">
                                        <div class="form-line">
                                            <EM:AddSelectableSelected ID="UCPermissionLevelsForUpdateGroups" runat="server" SortByValue="false" />
                                        </div>
                                    </div>
                                </div>

                            </div>
                        </div>
                        
                        <div class="row">
                            <div class="col-sm-3 ol-xs-12 row-label">
                                <label>
                                    <asp:Literal ID="Literal52" runat="server" Text="<%$ Resources:Content,PermissionLevelsToRemove%>"></asp:Literal>:
                                </label>
                            </div>
                            <div class="col-sm-9 col-xs-12">
                                <div class="checkbox">
                                    <asp:CheckBox Text="<%$ Resources:Content,Update%>" ID="ChBx_UpdateUCPermissionLevelsToRemoveForUpdateGroups" runat="server" AutoPostBack="True" />
                                </div>
                            </div>
                            <div id="Div_UCPermissionLevelsToRemoveForUpdateGroups" runat="server" visible="false">
                                <div class="col-xs-12">
                                    <div class="form-group">
                                        <div class="form-line">
                                            <EM:AddSelectableSelected ID="UCPermissionLevelsToRemoveForUpdateGroups" runat="server" SortByValue="false" />
                                        </div>
                                    </div>
                                </div>

                            </div>
                        </div>
                        <div class="row">
                            <div class="col-xs-12">
                                <asp:ValidationSummary ID="VS_UpdateGroups" runat="server" ValidationGroup="UpdateGroups" ShowMessageBox="true" ShowSummary="false" />
                                <asp:Button ID="Btn_UpdateGroups" runat="server" CssClass="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,Save%>"
                                    ValidationGroup="UpdateGroups" />
                                <asp:Button ID="Btn_UpdateGroupsClose" runat="server" CssClass="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN0000572%>" />
                            </div>
                        </div>
                    </div>
                </div>
            </asp:Panel>

            <asp:Panel ID="Pnl_RemoveInternalUsers" runat="server" Visible="false">
                <div class="card">
                    <div class="header">
                        <div class="displayInlineBlock">
                            <h2>
                                <asp:Literal ID="Literal43" runat="server" Text="<%$ Resources:Content,RemoveInternalUsers%>" /></h2>
                        </div>
                        <asp:LinkButton ID="lb_CloseRemoveInternalUsers" runat="server" Text="<%$ Resources:Content,GN000150 %>" 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">
                                <label>
                                    *<asp:Literal ID="Literal16" runat="server" Text="<%$ Resources:Content,Users%>"></asp:Literal>:
                                </label>
                            </div>
                            <div class="col-xs-12">
                                <div class="form-group">
                                    <div class="form-line">
                                        <EM:AddSelectableSelected ID="UCInternalUsersForRemove" runat="server" SortByValue="false" />
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-xs-12 row-label">
                                <label>
                                    *<asp:Literal ID="Literal1" runat="server" EnableViewState="false" Text='<%$ Resources:Content,RemoveReason %>' />:
                                </label>
                            </div>

                            <div class="col-xs-12">
                                <div class="form-group">
                                    <asp:TextBox runat="server" ID="TxBx_RemoveReasonForMembers" TextMode="MultiLine" Width="100%" Height="150px"></asp:TextBox>
                                </div>
                                <asp:RequiredFieldValidator ID="RFV_RemoveReasonForMemers" runat="server" ControlToValidate="TxBx_RemoveReasonForMembers"
                                    Display="None" ErrorMessage="<%$ Resources:Content, RemoveReasonRequired %>" ValidationGroup="RemoveInternalUsers"></asp:RequiredFieldValidator>
                            </div>
                        </div>

                        <div class="row">
                            <div class="col-xs-12">
                                <asp:ValidationSummary ID="VS_RemoveInternalUsers" runat="server" ValidationGroup="RemoveInternalUsers" ShowMessageBox="true" ShowSummary="false" />
                                <asp:Button ID="Btn_RemoveInternalUsers" runat="server" CssClass="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,Save%>"
                                    ValidationGroup="RemoveInternalUsers" />
                                <asp:Button ID="Btn_RemoveInternalUsersClose" runat="server" CssClass="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN0000572%>" />
                            </div>
                        </div>
                    </div>
                </div>
            </asp:Panel>

            <asp:Panel ID="Pnl_RemoveExternalUsers" runat="server" Visible="false">
                <div class="card">
                    <div class="header">
                        <div class="displayInlineBlock">
                            <h2>
                                <asp:Literal ID="Literal45" runat="server" Text="<%$ Resources:Content,RemoveExternalUsers%>" /></h2>
                        </div>
                        <asp:LinkButton ID="lb_CloseRemoveExternalUsers" runat="server" Text="<%$ Resources:Content,GN000150 %>" 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">
                                <label>
                                    *<asp:Literal ID="Literal17" runat="server" EnableViewState="false" Text='<%$ Resources:Content,Users %>' />:
                                </label>
                            </div>

                            <div class="col-xs-12">
                                <div class="form-group">
                                    <asp:TextBox runat="server" ID="TxBx_ExternalUsersForRemove" TextMode="MultiLine" Width="100%" Height="150px"></asp:TextBox>
                                </div>
                                <b class="small">
                                    <asp:Literal ID="Literal50" runat="server" Text="<%$ Resources:Content,EnterCommaSeperatedEmailAddresses %>"></asp:Literal></b>
                                <div>
                                    <asp:RequiredFieldValidator ID="RFV_ExternalUsersForRemove" runat="server" ControlToValidate="TxBx_ExternalUsersForRemove"
                                        Display="None" ValidationGroup="RemoveExternalUsers" ErrorMessage="<%$ Resources:Content,UserMandatory%>"></asp:RequiredFieldValidator>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-xs-12 row-label">
                                <label>
                                    *<asp:Literal ID="Literal20" runat="server" EnableViewState="false" Text='<%$ Resources:Content,RemoveReason %>' />:
                                </label>
                            </div>

                            <div class="col-xs-12">
                                <div class="form-group">
                                    <asp:TextBox runat="server" ID="TxBx_RemoveReasonForGuests" TextMode="MultiLine" Width="100%" Height="150px"></asp:TextBox>
                                </div>
                                <asp:RequiredFieldValidator ID="RFV_RemoveReasonForGuests" runat="server" ControlToValidate="TxBx_RemoveReasonForGuests"
                                    Display="none" ErrorMessage="<%$ Resources:Content, RemoveReasonRequired %>" ValidationGroup="RemoveExternalUsers"></asp:RequiredFieldValidator>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-xs-12">
                                <asp:ValidationSummary ID="VS_RemoveExternalUsers" runat="server" ValidationGroup="RemoveExternalUsers" ShowMessageBox="true" ShowSummary="false" />
                                <asp:Button ID="Btn_RemoveExternalUsers" runat="server" CssClass="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,Save%>"
                                    ValidationGroup="RemoveExternalUsers" />
                                <asp:Button ID="Btn_RemoveExternalUsersClose" runat="server" CssClass="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN0000572%>" />
                            </div>
                        </div>
                    </div>
                </div>
            </asp:Panel>

            <asp:Panel ID="Pnl_RemoveGroups" runat="server" Visible="false">
                <div class="card">
                    <div class="header">
                        <div class="displayInlineBlock">
                            <h2>
                                <asp:Literal ID="Literal46" runat="server" Text="<%$ Resources:Content,RemoveGroups%>" /></h2>
                        </div>
                        <asp:LinkButton ID="lb_CloseRemoveGroups" runat="server" Text="<%$ Resources:Content,GN000150 %>" 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">
                                <label>
                                    *<asp:Literal ID="Literal21" runat="server" EnableViewState="false" Text='<%$ Resources:Content,Groups %>' />:
                                </label>
                            </div>

                            <div class="col-xs-12">
                                <div class="form-group">
                                    <asp:TextBox runat="server" ID="TxBx_GroupsForRemove" TextMode="MultiLine" Width="100%" Height="150px"></asp:TextBox>
                                </div>
                                <b class="small">
                                    <asp:Literal ID="Literal51" runat="server" Text="<%$ Resources:Content,GroupNameSeparatedByComma %>"></asp:Literal></b>
                                <div>
                                    <asp:RequiredFieldValidator ID="RFV_GroupsForRemove" runat="server" ControlToValidate="TxBx_GroupsForRemove"
                                      Display="none"  ValidationGroup="RemoveGroups" ErrorMessage="<%$ Resources:Content,GroupMandatory%>"></asp:RequiredFieldValidator></div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-xs-12 row-label">
                                <label>
                                    *<asp:Literal ID="Literal22" runat="server" EnableViewState="false" Text='<%$ Resources:Content,RemoveReason %>' />:
                                </label>
                            </div>

                            <div class="col-xs-12">
                                <div class="form-group">
                                    <asp:TextBox runat="server" ID="TxBx_RemoveReasonForGroups" TextMode="MultiLine" Width="100%" Height="150px"></asp:TextBox>
                                </div>
                                <asp:RequiredFieldValidator ID="RFV_RemoveReasonForGroups" runat="server" ControlToValidate="TxBx_RemoveReasonForGroups"
                                    Display="None" ErrorMessage="<%$ Resources:Content, RemoveReasonRequired %>" ValidationGroup="RemoveGroups"></asp:RequiredFieldValidator>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-xs-12">
                                <asp:ValidationSummary ID="VS_RemoveGroups" runat="server" ValidationGroup="RemoveGroups" ShowMessageBox="true" ShowSummary="false" />
                                <asp:Button ID="Btn_RemoveGroups" runat="server" CssClass="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,Save%>"
                                    ValidationGroup="RemoveGroups" />
                                <asp:Button ID="Btn_RemoveGroupsClose" runat="server" CssClass="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN0000572%>" />
                            </div>
                        </div>
                    </div>
                </div>
            </asp:Panel>

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