<%@ Page Language="C#" MasterPageFile="~/masterpages/eDashboard.master" AutoEventWireup="true" Theme ="eMain" Inherits="site_AccessManagement_GroupLists_Add" Title="eSecuritel GroupList Add" Culture="auto" UICulture="auto" Codebehind="Add.aspx.cs" %>
<%@ Register Src="../../../Controls/GroupListSubNav.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, AddaNewGroupList %>" /></h2>
		<strong class="required"><asp:Label ID="m_lblMessage" runat="server" Visible="False" Text="<%$ Resources: SecurityManagement, LabelUserdoesnothaverighttoaddgrouplist %>"></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, LabelItalicCheckMapFromExistingGroupList %>" /><br />
                    <asp:Literal ID="m_litHelpTip2" runat="server" Text="<%$ Resources: SecurityManagement, LabelItalicSelectAnOrganizationNewGroupList %>" /><br />
                    <asp:Literal ID="m_litHelpTip3" runat="server" Text="<%$ Resources: SecurityManagement, LabelItalicSelectaGroupList %>" /><br />
                    <asp:Literal ID="m_litHelpFunction" runat="server" Text="<%$ Resources: SecurityManagement, LabelItalicBoldThisFunctionWillaNewGroupList %>" />
            </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 colspan="2">
                    <asp:CheckBox ID="m_ckMapExistingGroupList" runat="server" Text="<%$ Resources: SecurityManagement, LabelMapfromExistingGroupListQuestion %>" AutoPostBack="True" OnCheckedChanged="m_ckMapExistingGroupList_CheckedChanged" /></td>
			</tr>
			<tr>
				<td colspan="2">&nbsp;</td>
			</tr>
			<tr>
				<td align = "right">
                    <asp:Label ID="m_lblName" runat="server" Text="<%$ Resources: SecurityManagement, LabelGroupListNameColon %>"></asp:Label>
                    <strong class="required"><asp:Label ID="m_lblNameRequired" runat="server" Text="*"></asp:Label></strong></td>
				<td>
                    <asp:TextBox ID="m_txtName" Width="200px" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="m_rvName" runat="server" Text="<%$ Resources: Default, ValidatorText %>" ValidationGroup="validationGroup" ErrorMessage="<%$ Resources: SecurityManagement, ErrorMessageGroupListNameisRequired %>" ControlToValidate="m_txtName" ToolTip="<%$ Resources: Default, RequiredValidatorText %>" ></asp:RequiredFieldValidator></td>
			</tr>
			<tr>
				<td colspan="2">&nbsp;</td>
			</tr>
			<tr>
			    <td colspan="2">
				    <asp:Label ID="m_lblGroupListTypeSelect" runat="server" Visible="False"></asp:Label></td>
			</tr>
			<tr>
				<td align = "right">
				    <asp:Label ID="m_lblGroupListType" runat="server" Text="<%$ Resources: OrganizationManagement, LabelOrganizationColon %>" Visible="False" ></asp:Label>
				    <strong class="required"><asp:Label ID="m_lblGroupListTypeRequired" runat="server" Text="*" Visible="False"></asp:Label></strong></td>
				<td>
                    <asp:DropDownList ID="m_ddlGroupListTypes" runat="server" Visible="False" AutoPostBack="True" OnSelectedIndexChanged="m_ddlGroupListTypes_SelectedIndexChanged">
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="m_rvGroupListType" runat="server" Text="<%$ Resources: Default, ValidatorText %>" ValidationGroup="validationGroup" ErrorMessage="<%$ Resources: SecurityManagement, ErrorMessageGroupNameisRequired %>" ControlToValidate="m_ddlGroupListTypes" ToolTip="<%$ Resources: Default, RequiredValidatorText %>" ></asp:RequiredFieldValidator></td>
			</tr>
			<tr>
				<td align = "right">
                    <asp:Label ID="m_lblGroupLists" runat="server" Text="<%$ Resources: SecurityManagement, LabelExistingGroupListColon %>" Visible="False" ></asp:Label>
                    <strong class="required"><asp:Label ID="m_lblGroupListsRequired" runat="server" CssClass="Required" Text="*" Visible="False"></asp:Label></strong></td>
				<td>
				    <asp:DropDownList ID="m_ddlGroupLists" runat="server" Visible="False" AutoPostBack="True" OnSelectedIndexChanged="m_ddlGroupLists_SelectedIndexChanged">
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="m_rvGroupList" runat="server" Text="<%$ Resources: Default, ValidatorText %>" ValidationGroup="validationGroup" ErrorMessage="<%$ Resources: SecurityManagement, ErrorMessageGroupListNameisRequired %>" ControlToValidate="m_ddlGroupLists" ToolTip="<%$ Resources: Default, RequiredValidatorText %>" ></asp:RequiredFieldValidator></td>
			</tr>
		</table>
		
        <div> 
            <asp:Button ID="m_btnGo" runat="server" Text="<%$ Resources: SecurityManagement, ButtonCreateGroupList %>" 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>