<%@ Control Language="VB" AutoEventWireup="false" CodeFile="ManageEmailAccount.ascx.vb" Inherits="Controls_ManageEmailAccount" %>

<table cellpadding="5" cellspacing="0" width="100%">
	<tr>
		<th colspan="2"><asp:Label ID="lblTitle" runat="server"></asp:Label></th>
	</tr>
	<tr>
		<td colspan="2">* Required</td>
	</tr>
	<asp:Panel ID="pnlAddress" runat="server">
		<tr>
			<td style="text-align:right">* Email Address:</td>
			<td>
				<asp:TextBox ID="txtAddress" runat="server" style="padding-left:1px"></asp:TextBox>@charter.net
				<asp:RegularExpressionValidator ID="vldUserNameSpecialChar" runat="server" ControlToValidate="txtAddress"
                    ErrorMessage="The only special characters allowed for <b>Username</b> are .(dot), -(dash) or _(underscore)."
                    Text="" Display="none" ValidationExpression="^[a-zA-Z0-9._-]+$" ></asp:RegularExpressionValidator>
                <asp:RequiredFieldValidator ID="vldAddressRequired" runat="server" ControlToValidate="txtAddress" Display="None"
					ErrorMessage="<b>Email Address</b> is a required field."></asp:RequiredFieldValidator>
			</td>
		</tr>
	</asp:Panel>
	<tr>
		<td style="text-align:right;width:40%">* Password:</td>
		<td>
			<asp:TextBox ID="txtPassword" runat="server" TextMode="Password" style="padding-left:1px"></asp:TextBox>
			<asp:RegularExpressionValidator ID="vldPasswordSpecialChar" runat="server" ControlToValidate="txtPassword"
                ErrorMessage="<b>Password</b> does not allow \(back slash) or &quot;(quotes)."
                Text="" Display="none" ValidationExpression="^[^\\^&quot;]*$" ></asp:RegularExpressionValidator>
            <asp:RequiredFieldValidator ID="vldPasswordRequired" runat="server" ControlToValidate="txtPassword" Display="None"
				ErrorMessage="<b>Password</b> is a required field."></asp:RequiredFieldValidator>
		</td>
	</tr>
	<tr>
		<td style="text-align:right">* Confirm Password:</td>
		<td>
			<asp:TextBox ID="txtPassword2" runat="server" TextMode="Password" style="padding-left:1px"></asp:TextBox>
			<asp:RegularExpressionValidator ID="vldPassword2SpecialChar" runat="server" ControlToValidate="txtPassword2"
                ErrorMessage="<b>Confirm Password</b> does not allow \(back slash) or &quot;(quotes)."
                Text="" Display="none" ValidationExpression="^[^\\^&quot;]*$" ></asp:RegularExpressionValidator>
            <asp:RequiredFieldValidator ID="vldPassword2Required" runat="server" ControlToValidate="txtPassword2" Display="None"
				ErrorMessage="<b>Confirm Password</b> is a required field."></asp:RequiredFieldValidator>			
			<asp:CompareValidator ID="vldPassword2Compare" runat="server" ControlToValidate="txtPassword2" ControlToCompare="txtPassword" Display="None"
				 ErrorMessage="<b>Confirm Password</b> does not match <b>Password</b>."></asp:CompareValidator>
		</td>
	</tr>
	<tr>
		<td style="text-align:center">(Minimum of 8 characters. Passwords are case sensitive.) </td>
	</tr>	
	<tr>
		<td colspan="2">
			<asp:CustomValidator ID="vldCustom" runat="server" Display="None"></asp:CustomValidator>
			<asp:ValidationSummary ID="vldSummary" runat="server" DisplayMode="BulletList" />
		</td>
	</tr>
	<tr>
		<td colspan="2" style="text-align:center">
			<asp:Button ID="btnSave" runat="server" Text="Save" />
			<asp:Button ID="btnCancel" runat="server" Text="Cancel" CausesValidation="False" />	
		</td>
	</tr>
</table>
