<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" AutoEventWireup="true" CodeBehind="ChangePassword.aspx.cs" Inherits="Mvc_Chart.Views.Account.ChangePassword" %> <asp:Content ID="changePasswordContent" ContentPlaceHolderID="MainContent" runat="server"> <h2>Change Password</h2> <p> Use the form below to change your password. </p> <p> New passwords are required to be a minimum of <%=Html.Encode(ViewData["PasswordLength"])%> characters in length. </p> <%= Html.ValidationSummary() %> <% using (Html.BeginForm()) { %> <div> <table> <tr> <td>Current password:</td> <td> <%= Html.Password("currentPassword") %> <%= Html.ValidationMessage("currentPassword") %> </td> </tr> <tr> <td>New password:</td> <td> <%= Html.Password("newPassword") %> <%= Html.ValidationMessage("newPassword") %> </td> </tr> <tr> <td>Confirm new password:</td> <td> <%= Html.Password("confirmPassword") %> <%= Html.ValidationMessage("confirmPassword") %> </td> </tr> <tr> <td></td> <td><input type="submit" value="Change Password" /></td> </tr> </table> </div> <% } %> </asp:Content>
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.
This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)