<%@ Page Language="C#" MasterPageFile="~/masterpages/eDashboard.master" AutoEventWireup="true" Theme ="eMain" Inherits="site_AccessManagement_Groups_Delete" Title="eSecuritel Group Delete" Culture="auto" UICulture="auto" Codebehind="Delete.aspx.cs" %>
<%@ Register Src="../../../Controls/GroupSubNav.ascx" TagName="SubNav" TagPrefix="uc1" %>
<%@ Register Assembly="eSecuritel.HITS.UI.Components" Namespace="eSecuritel.HITS.UI.Components" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="eContent" Runat="Server">
		<uc1:SubNav ID="eSubNav" runat="server" />
        <h2><asp:Literal ID="m_litHeader" runat="server" Text="<%$ Resources: SecurityManagement, LabelDeleteanExistingGroup %>" /></h2>
		<strong class="required"><asp:Label ID="m_lblMessage" runat="server" Visible="False" Text="<%$ Resources: SecurityManagement, LabelUserdoesnothaverighttodeletegroup %>"></asp:Label></strong>

        <div>	
            <div class="subpanelheader">
                <img src="~/images/Collapse_13x13.jpg" class="showstate" onclick="expandcontent(this, 'm_pnlHelpTip')"
                    alt="contract" />
                    <asp:Literal ID="m_litHelpTipHeader" runat="server" Text="<%$ Resources: SecurityManagement, LabelItalicHelpTip %>" /></div>
            <div id="m_pnlHelpTip" class="switchcontent">
                    <asp:Literal ID="m_litHelpTip1" runat="server" Text="<%$ Resources: SecurityManagement, LabelItalicSelectAnOrganizationGroup %>" /><br />
                    <asp:Literal ID="m_litHelpTip2" runat="server" Text="<%$ Resources: SecurityManagement, LabelItalicSelectaGroup %>" /><br />
                    <asp:Literal ID="m_litHelpFunction" runat="server" Text="<%$ Resources: SecurityManagement, LabelItalicBoldThisFunctionDeleteGroup %>" />
            </div>
	    </div>
	    <br />

        <cc1:ExtendedValidationSummary ID="m_extValidationSummaryTop" runat="server" ValidationGroup="validationGroup" HeaderText="<%$ Resources: SecurityManagement, LabelThefollowingitemsneedtobereviewedColon %>" />
		<table class="gvTable" cellpadding="0" cellspacing="0">
			<tr>
				<td align = "right">
                    <asp:Label ID="m_lblGroupType" runat="server" Text="<%$ Resources: OrganizationManagement, LabelOrganizationColon %>" Visible="False" ></asp:Label>
                    <strong class="required"><asp:Label ID="m_lblGroupTypeRequired" runat="server" CssClass="Required" Text="*" Visible="False"></asp:Label></strong></td>
				<td>
				    <asp:DropDownList ID="m_ddlGroupTypes" runat="server" AutoPostBack="True" Visible="False" OnSelectedIndexChanged="m_ddlGroupTypes_SelectedIndexChanged">
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="m_rvGroupType" runat="server" Text="<%$ Resources: Default, ValidatorText %>" ValidationGroup="validationGroup" ErrorMessage="<%$ Resources: OrganizationManagement, ErrorMessageOrganizationNameisRequired %>" ControlToValidate="m_ddlGroupTypes" ToolTip="<%$ Resources: Default, RequiredValidatorText %>" ></asp:RequiredFieldValidator></td>
			</tr>
			<tr>
				<td align = "right"><asp:Label ID="m_lblGroupName" runat="server" Text="<%$ Resources: SecurityManagement, LabelGroupNameColon %>" Visible="False" ></asp:Label>
                    <strong class="required"><asp:Label ID="m_lblGroupNameRequired" runat="server" CssClass="Required" Text="*" Visible="False"></asp:Label></strong></td>
				<td>
                    <asp:DropDownList ID="m_ddlGroups" runat="server" AutoPostBack="True" OnSelectedIndexChanged="m_ddlGroups_SelectedIndexChanged">
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="m_rvName" runat="server" Text="<%$ Resources: Default, ValidatorText %>" ValidationGroup="validationGroup" ErrorMessage="<%$ Resources: SecurityManagement, ErrorMessageGroupNameisRequired %>" ControlToValidate="m_ddlGroups" ToolTip="<%$ Resources: Default, RequiredValidatorText %>"></asp:RequiredFieldValidator></td>
			</tr>
		</table>
		
		<div>
            <asp:Button ID="m_btnGo" runat="server" Text="<%$ Resources: SecurityManagement, ButtonDeleteGroup %>" OnClick="m_btnGo_Click" CssClass="pagebutton" />
            <asp:Button ID="m_btnCancel" runat="server" Text="<%$ Resources: Default, ButtonCancel %>" CausesValidation="False" OnClick="m_btnCancel_Click" CssClass="pagebutton" />
		</div>
        <cc1:ExtendedValidationSummary ID="m_extValidationSummaryBottom" runat="server" ValidationGroup="validationGroup" HeaderText="<%$ Resources: SecurityManagement, LabelThefollowingitemsneedtobereviewedColon %>" />
</asp:Content>
