comparison Demo/Asp.Net/Web/NewUser.aspx @ 0:f990fcb411a9

Копия текущей версии из github
author cin
date Thu, 27 Mar 2014 21:46:09 +0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:f990fcb411a9
1 <%@ Page AutoEventWireup="true" Language="C#" MasterPageFile="~/MasterPage.master" Title="New User" %>
2
3 <asp:Content ID="cntPage" ContentPlaceHolderID="cphPage" Runat="Server" EnableViewState="false">
4 <div align="center" class="signinPosition">
5 <asp:CreateUserWizard ID="CreateUserWizard" runat="server"
6 CreateUserButtonText = "Sign Up"
7 InvalidPasswordErrorMessage = "Please enter a more secure password."
8 PasswordRegularExpressionErrorMessage = "Please enter a more secure password."
9 RequireEmail = "False"
10 SkinID = "NewUser">
11
12 <WizardSteps>
13 <asp:CreateUserWizardStep ID="CreateUserWizardStep1" runat="server">
14 <CustomNavigationTemplate>
15 </CustomNavigationTemplate>
16
17 <ContentTemplate>
18 <asp:Panel ID="panFocus" runat="server" DefaultButton="StepNextButton">
19 <table border="0" width="387">
20 <tr><td align="left" class="signinHeader" colspan="2">Sign Up for Your New Account</td></tr>
21 <tr>
22 <td align="left">
23 <label for="UserName">
24 User Name:</label></td><td>
25 <asp:TextBox ID="UserName" runat="server" CssClass="signinTextbox" Width="155px"></asp:TextBox>
26 <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName"
27 ErrorMessage="User Name is required." ToolTip="User Name is required." ValidationGroup="CreateUserWizard">*</asp:RequiredFieldValidator>
28 </td>
29 </tr>
30 <tr>
31 <td align="left">
32 <label for="Password">
33 Password:</label></td><td>
34 <asp:TextBox ID="Password" runat="server" CssClass="signinTextbox" TextMode="Password"
35 Width="155px"></asp:TextBox>
36 <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password"
37 ErrorMessage="Password is required." ToolTip="Password is required." ValidationGroup="CreateUserWizard">*</asp:RequiredFieldValidator>
38 </td>
39 </tr>
40 <tr>
41 <td align="left">
42 <label for="ConfirmPassword">
43 Confirm Password:</label></td><td>
44 <asp:TextBox ID="ConfirmPassword" runat="server" CssClass="signinTextbox" TextMode="Password"
45 Width="155px"></asp:TextBox>
46 <asp:RequiredFieldValidator ID="ConfirmPasswordRequired" runat="server" ControlToValidate="ConfirmPassword"
47 ErrorMessage="Confirm Password is required." ToolTip="Confirm Password is required."
48 ValidationGroup="CreateUserWizard">*</asp:RequiredFieldValidator>
49 </td>
50 </tr>
51
52 <tr>
53 <td align="center" colspan="2">
54 <asp:CompareValidator ID="PasswordCompare" runat="server" ControlToCompare="Password"
55 ControlToValidate="ConfirmPassword" Display="Dynamic" ErrorMessage="The Password and Confirmation Password must match."
56 ValidationGroup="CreateUserWizard"></asp:CompareValidator>
57 </td>
58 </tr>
59 <tr>
60 <td align="center" colspan="2" style="color: red">
61 <asp:Literal ID="ErrorMessage" runat="server" EnableViewState="False" />
62 </td>
63 </tr>
64 </table>
65 <table border="0" cellspacing="5" width="387">
66 <tr align="right">
67 <td align="right">
68 <asp:Button ID="StepNextButton" runat="server" CommandName="MoveNext" CssClass="signinButton"
69 Text="Sign Up" ValidationGroup="CreateUserWizard" />
70 </td>
71 <td>&nbsp;</td>
72 </tr>
73 </table>
74 </asp:Panel>
75 </ContentTemplate>
76 </asp:CreateUserWizardStep>
77 <asp:CompleteWizardStep ID="CompleteWizardStep1" runat="server">
78 <ContentTemplate>
79 <p class="signinLabel"><br /><b>Thank you for signing up.</b></p>
80 <p class="signinLabel">Your account has been created. Now you can:</p>
81 <p class="signinLabel"><a class="signinNewUser" href="Default.aspx">Continue shopping</a></p>
82 <p class="signinLabel"><a class="signinNewUser" href="CheckOut.aspx">Check out</a></p>
83 <p class="signinLabel"><a class="signinNewUser" href="UserProfile.aspx">Update your profile</a></p>
84 <p>&nbsp;</p>
85 </ContentTemplate>
86 </asp:CompleteWizardStep>
87 </WizardSteps>
88 </asp:CreateUserWizard>
89 </div>
90 </asp:Content>
91