<%@ Page Title="" Language="C#" MasterPageFile="~/Master/MasterPage.master" AutoEventWireup="true" CodeBehind="EmployeeChangePassword.aspx.cs" Inherits="PirTickets.EmployeeChangePassword" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Head" runat="server">
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
        .style2
        {
            width: 180px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <h1>Employee - Change Password</h1>
    <table class="style1">
        <tr>
            <td class="style2">
                Employee Name:</td>
            <td>
                <asp:Label ID="lblUsername" runat="server" Text="Label"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="style2">
                Enter Current Password:</td>
            <td>
                <asp:TextBox ID="txtoldpass" runat="server" MaxLength="20" TextMode="Password"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="txtoldpass" ErrorMessage="Enter Password"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style2">
                Enter New Password:</td>
            <td>
                <asp:TextBox ID="txtnewpass" runat="server" MaxLength="20" TextMode="Password"></asp:TextBox>
                <asp:CompareValidator ID="CompareValidator1" runat="server" 
                    ControlToCompare="txtnewpass" ControlToValidate="txtconfirm" 
                    ErrorMessage="Passwords Dont Match"></asp:CompareValidator>
            </td>
        </tr>
        <tr>
            <td class="style2">
                Confirm New Password:</td>
            <td>
                <asp:TextBox ID="txtconfirm" runat="server" MaxLength="20" TextMode="Password"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style2">
                &nbsp;</td>
            <td>
                <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>
