<%@ Page Title="" Language="C#" MasterPageFile="~/Master/MasterPage.master" AutoEventWireup="true" CodeBehind="CustomerChangePassword.aspx.cs" Inherits="PirTickets.CustomerChangePassword" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Head" runat="server">
    <style type="text/css">
        .style3
        {
            width: 291px;
        }
        .style4
        {
            width: 141px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentSide" runat="server">
    <p>
    Please enter your current password, and your new password. Make sure you don&#39;t 
    have your Caps lock key on, as passwords are case sensitive.</p>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <h1>Customer - Change Password</h1>
    <table class="style1">
        <tr>
            <td class="style4">
                Username:</td>
            <td class="style3">
                <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="style4">
                Enter Current Password:</td>
            <td class="style3">
                <asp:TextBox ID="txtoldpass" runat="server" MaxLength="20"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="txtoldpass" ErrorMessage="Enter Password"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style4">
                Enter New Password:</td>
            <td class="style3">
                <asp:TextBox ID="txtnewpass" runat="server" MaxLength="20"></asp:TextBox>
                <asp:CompareValidator ID="CompareValidator1" runat="server" 
                    ControlToCompare="txtnewpass" ControlToValidate="txtconfirm" 
                    ErrorMessage="Passwords Dont Match"></asp:CompareValidator>
            </td>
        </tr>
        <tr>
            <td class="style4">
                Confirm New Password:</td>
            <td class="style3">
                <asp:TextBox ID="txtconfirm" runat="server" MaxLength="20"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style4">
                &nbsp;</td>
            <td class="style3">
                <asp:Button ID="Bsave" runat="server" Text="Update" onclick="Bsave_Click" />
                <asp:Button ID="Bcancel" runat="server" Text="Cancel" />
                <asp:Label ID="lblError" runat="server"></asp:Label>
            </td>
        </tr>
    </table>
</asp:Content>
