<%@ Page Language="C#" MasterPageFile="~/masterpages/eDashboard.master" AutoEventWireup="true" Theme ="eMain" Inherits="site_AccessManagement_GroupLists_Edit" Title="eSecuritel GroupList Edit" Culture="auto" UICulture="auto" Codebehind="Edit.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, LabelEditanExistingGroupList %>" /></h2>
		<strong class="required"><asp:Label ID="m_lblMessage" runat="server" Visible="False" Text="<%$ Resources: SecurityManagement, LabelUserdoesnothaverighttoeditgrouplist %>"></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, LabelItalicSelectAnOrganizationGroupList %>" /><br />
                    <asp:Literal ID="m_litHelpTip2" runat="server" Text="<%$ Resources: SecurityManagement, LabelItalicSelectaGroupList %>" /><br />
                    <asp:Literal ID="m_litHelpFunction" runat="server" Text="<%$ Resources: SecurityManagement, LabelItalicBoldThisFunctionUpdateGroupList %>" />
            </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_lblGroupListType" runat="server" Text="<%$ Resources: OrganizationManagement, LabelOrganizationColon %>" Visible="False" ></asp:Label>
                    <strong class="required"><asp:Label ID="m_lblGroupListTypeRequired" runat="server" CssClass="Required" Text="*" Visible="False"></asp:Label></strong></td>
				<td>
				    <asp:DropDownList ID="m_ddlGroupListTypes" runat="server" AutoPostBack="True" Visible="False" OnSelectedIndexChanged="m_ddlGroupListTypes_SelectedIndexChanged">
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="m_rvGroupListType" runat="server" Text="<%$ Resources: Default, ValidatorText %>" ValidationGroup="validationGroup" ErrorMessage="<%$ Resources: OrganizationManagement, ErrorMessageOrganizationNameisRequired %>" ControlToValidate="m_ddlGroupListTypes" ToolTip="<%$ Resources: Default, RequiredValidatorText %>"></asp:RequiredFieldValidator></td>
			</tr>
			<tr>
				<td align = "right"><asp:Label ID="m_lblGroupListName" runat="server" Text="<%$ Resources: SecurityManagement, LabelGroupListNameColon %>"></asp:Label>
                    <strong class="required"><asp:Label ID="m_lblGroupListNameRequired" runat="server" CssClass="Required" Text="*"></asp:Label></strong></td>
				<td>
                    <asp:DropDownList ID="m_ddlGroupLists" runat="server" AutoPostBack="True" OnSelectedIndexChanged="m_ddlGroupLists_SelectedIndexChanged">
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="m_rvName" 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, ButtonEditGroupList %>" 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>