<%@ Page Language="VB" AutoEventWireup="false" CodeFile="ChangePassword.aspx.vb" Inherits="Admin_CharterContentManagement_ChangePassword" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Change Password</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <table style="margin-left:auto;margin-right:auto;">
            <tr><td align="center"><h1>Change Password</h1></td></tr>
			<tr>
				<td>
						<fieldset id="fldChangePassword" runat="server" style="width:500px" title="Change Password">
						<asp:Panel ID="pnlChangePassword" runat="server">
						<table>
							<tr>
						
								<td style="text-align:right">User Name:</td>
								<td style="text-align:left"><asp:TextBox ID="txtUser" ReadOnly="true"  runat="server" BackColor="LightYellow"></asp:TextBox></td>	
							</tr>
							<tr>
								<td style="text-align:right">New Password:</td>
								<td style="text-align:left"><asp:TextBox ID="txtNewPassword" runat="server" Width="150PX" BackColor="lightyellow"  TextMode="Password"></asp:TextBox><asp:RequiredFieldValidator ID="vldNewPasswordRequired" runat="server" ControlToValidate="txtNewPassword" Text="*" ValidationGroup="submit" ErrorMessage="New Password Required"></asp:RequiredFieldValidator></td>
							</tr>
							<tr>
							<td style="text-align:right">Confirm Password:</td>
							<td style="text-align:left"><asp:TextBox ID="txtConfirmPassword" runat="server" Width="150PX" BackColor="lightyellow"  TextMode="Password"></asp:TextBox><asp:RequiredFieldValidator ID="vldConfirmPasswordRequired" runat="server" ControlToValidate="txtConfirmPassword" Text="*" ValidationGroup="submit" Display="Dynamic" ErrorMessage="Confirm Password Required"></asp:RequiredFieldValidator><asp:CompareValidator ID="vldCompareConfirmPassword" runat="server" ControlToValidate="txtConfirmPassword" Text="*" ControlToCompare="txtNewPassword" ValidationGroup="submit" ErrorMessage="Passwords don't match" Display="Dynamic"></asp:CompareValidator></td>
							</tr>
							<tr>
								<td style="text-align:right"></td>
								<td style="text-align:left"><asp:Button ID="btnSubmit" ValidationGroup="submit"  runat="server" Text="submit" />&nbsp;&nbsp;&nbsp<asp:Button ID="btnCancel" runat="server" ValidationGroup="cancel" Text="Cancel" /></td>						
													
							</tr>
							<tr>
								<td colspan="2"> <asp:Label ID="lblError" ForeColor="Red" runat="server" Visible="false"></asp:Label> </td>
							</tr>
							<tr>
								<td colspan ="2"><asp:ValidationSummary ID="vldSummarySubmit" ValidationGroup="submit" runat="server" DisplayMode="BulletList" /> </td>
							</tr>
						
						</table>
						</asp:Panel>
						</fieldset>
				</td>
			</tr>
		</table>

    </div>
    </form>
</body>
</html>
