<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="SelectSecurityPrincipalPopup.ascx.cs" Inherits="Zap.BI.Portal.Controls.UserControls.ModalPopups.SelectSecurityPrincipalPopup" %>

<%@ Register Src="~/Controls/UserControls/UserGroupSelector/UserGroupSearch.ascx" TagName="UserGroupSearch" TagPrefix="zap" %>

<zapWeb:ZapUpdatePanel ID="selectSecurityPrincipalUpdatePanel" runat="server" UpdateMode="Conditional">
    <ContentTemplate>
        <table cellspacing="10" cellpadding="0" border="0">
            <tr>
                <td>
                    <div style="width: 350px; height: 380px; overflow: hidden;">
                        <zapWeb:ZapUpdatePanel runat="server" UpdateMode="Conditional">
                            <ContentTemplate>
                                <zap:UserGroupSearch runat="server" ID="UserGroupSearcher" AllowMultiSelection="false" VerticalScrollableHeight="280" />
                            </ContentTemplate>
                        </zapWeb:ZapUpdatePanel>
                    </div>
                </td>
            </tr>
            <tr>
                <td align="right">
                    <asp:Button CssClass="button standardButton" ID="Ok" runat="server" Text="<%$ Resources: Controls.ControlText, Label_Ok %>" OnClick="OnOkButton_Click" />
                    <asp:Button CssClass="button standardButton" ID="Cancel" runat="server" Text="<%$ Resources: Controls.ControlText, Label_Cancel %>" OnClick="OnCancelButton_Click" />
                </td>
            </tr>
        </table>
    </ContentTemplate>
</zapWeb:ZapUpdatePanel>
