<%@ page language="C#" autoeventwireup="true" inherits="Admin_updatepwd, App_Web_gqabgzwv" enableEventValidation="false" %>

<%@ Register Assembly="Validators" Namespace="Sample.Web.UI.Compatibility" TagPrefix="cc1" %>

<!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>修改密码</title>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
        
          
    <table width="400" border="0" cellpadding="5" cellspacing="5" style="border:solid 1px #cccccc; font-size:12px; position:absolute; top:100px; left:200px;">
        <tr>
            <td colspan="2" align="center" style="background-color:#f5f5f5; height:25px; font-size:16px;">
            <b>修改密码</b>
            </td>
        </tr>
        <tr>
            <td align="right">
                用户名：
            </td>
            <td>
                <asp:TextBox ID="tbxUserName" runat="server"></asp:TextBox>
                <cc1:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="tbxUserName"
                    Display="None" ErrorMessage="用户名不能为空" SetFocusOnError="True" ValidationGroup="pwd"></cc1:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td align="right">
                旧密码：
            </td>
            <td>
                <asp:TextBox ID="tbxOldPwd" runat="server" TextMode="Password"></asp:TextBox>
                <cc1:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="tbxOldPwd"
                    Display="None" ErrorMessage="请填写旧密码" SetFocusOnError="True" ValidationGroup="pwd"></cc1:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td align="right">
                新密码：
            </td>
            <td>
                <asp:TextBox ID="tbxNewPwd" runat="server" TextMode="Password"></asp:TextBox>
                <cc1:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="tbxNewPwd"
                    Display="None" ErrorMessage="请填写新密码" SetFocusOnError="True" ValidationGroup="pwd"></cc1:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td colspan="2" align="center">
                <asp:Label ID="lbmsg" runat="server" ForeColor="Red"></asp:Label></td>
        </tr>
         <tr>
            <td align="right">
                确认新密码：
            </td>
            <td>
                <asp:TextBox ID="tbxNewPwd2" runat="server" TextMode="Password"></asp:TextBox>
                <cc1:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="tbxNewPwd2"
                    Display="None" ErrorMessage="请填写确认密码" SetFocusOnError="True" ValidationGroup="pwd"></cc1:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td></td>
            <td>
                <asp:Button ID="btnSave" runat="server" Text="提交" ValidationGroup="pwd" OnClick="btnSave_Click" />
                <asp:Button ID="btnBack" runat="server" Text="返回登录页面" OnClick="btnBack_Click" /></td>
        </tr>
    </table>
        <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender1" runat="server"
            TargetControlID="RequiredFieldValidator1">
        </ajaxToolkit:ValidatorCalloutExtender>
        <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender2" runat="server"
            TargetControlID="RequiredFieldValidator2">
        </ajaxToolkit:ValidatorCalloutExtender>
        <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender3" runat="server"
            TargetControlID="RequiredFieldValidator3">
        </ajaxToolkit:ValidatorCalloutExtender>
        <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender4" runat="server"
            TargetControlID="RequiredFieldValidator4">
        </ajaxToolkit:ValidatorCalloutExtender>
        </ContentTemplate>
        </asp:UpdatePanel>
    </form>
</body>
</html>
