-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patheditpassword.aspx
More file actions
32 lines (29 loc) · 2.13 KB
/
editpassword.aspx
File metadata and controls
32 lines (29 loc) · 2.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="editpassword.aspx.cs" Inherits="registrationform.WebForm5" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"/>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
</head>
<body>
<form id="form1" runat="server" class="breadcrumb">
<div style="font-family:Calibri" class="form-group">
<table class="table-condensed">
<tr><td><asp:Label ID="Label3" runat="server" Text="Username"></asp:Label></td>
<td><asp:TextBox ID="TextBox3" runat="server"></asp:TextBox></td>
<td><asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="TextBox3" ErrorMessage="Please Enter username"></asp:RequiredFieldValidator></td></tr>
<tr><td><asp:Label ID="Label1" runat="server" Text="Enter New Password"></asp:Label></td>
<td><asp:TextBox ID="TextBox1" runat="server"></asp:TextBox></td>
<td><asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1" ErrorMessage="Please enter password"></asp:RequiredFieldValidator>
<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="TextBox1" ErrorMessage="Enter valid password" ValidationExpression="[^abcd]{3,10}"></asp:RegularExpressionValidator></td></tr>
<tr><td><asp:Label ID="Label2" runat="server" Text="Confirm new Password"></asp:Label></td>
<td><asp:TextBox ID="TextBox2" runat="server"></asp:TextBox></td>
<td><asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBox2" ErrorMessage="Please Re-Enter password"></asp:RequiredFieldValidator></td></tr>
</table>
<p><asp:Button ID="Button1" runat="server" OnClick="Button1_Click" class="btn btn-primary btn-lg" Text="Submit" /></p>
</div>
</form>
</body>
</html>