<%@ Page Language="C#" AutoEventWireup="true" CodeFile="myfile.aspx.cs" Inherits="myfile" %>
<!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>Add User</title>
</head>
<body>
<form id="form" runat="server">
<asp:ValidationSummary runat="server" ID="InfoVS"
ShowSummary="true" DisplayMode="BulletList" ValidationGroup="PersonalVG"
HeaderText="<b>Please review the following errors:</b>"
/>
<asp:ValidationSummary runat="server" ID="AddUserVS"
ShowSummary="true" DisplayMode="BulletList" ValidationGroup="AddUserWizard"
HeaderText="<b>Please review the following errors:</b>"
/>
<br />
<asp:CreateUserWizard ID="AddUserWizard" runat="server" BorderStyle="ridge" BackColor="aquamarine">
<TitleTextStyle Font-Bold="True" Font-Names="Verdana" />
<StartNavigationTemplate>
<asp:Button ID="StartNextButton" runat="server" CausesValidation="true" CommandName="MoveNext" Text="Next" ValidationGroup="PersonalVG"/>
</StartNavigationTemplate>
<WizardSteps>
<asp:WizardStep ID="PersonalInfoStep" AllowReturn="true">
<table>
<tr>
<td style="width: 213px; height: 1px">first name</td>
<td style="width: 58px; height: 1px"></td>
<td style="width: 417px; height: 1px">
<asp:TextBox ID="firstname" runat="server" Width="237px"></asp:TextBox>
<asp:RequiredFieldValidator runat="server" ID="FirstnameRequiredFieldValidator" ValidationGroup="PersonalVG" ControlToValidate="firstname" ErrorMessage="Firstname is required."/>
</td>
</tr>
</table>
</asp:WizardStep>
<asp:CreateUserWizardStep ID="CreateUserStep" runat="server">
<ContentTemplate>
<table style="width: 525px; height: 33px;" id="table">
<tr>
<td colspan="3" style="width: 213px; height: 10px">
<asp:Label ID="label" runat="server"></asp:Label>
</td>
</tr>
<tr>
<td style="width: 213px; height: 10px;">username</td>
<td style="width: 58px; height: 10px"></td>
<td style="width: 417px; height: 10px">
<asp:TextBox ID="username" runat="server" Width="199px"></asp:TextBox>
<asp:RequiredFieldValidator runat="server" ID="UsernameRequiredFieldValidator" ValidationGroup="AddUserWizard" ControlToValidate="username" ErrorMessage="Username is required."/>
</td>
</tr>
<tr>
<td style="width: 213px">password</td>
<td style="width: 58px"></td>
<td style="width: 417px">
<asp:TextBox ID="password" runat="server" Width="199px" TextMode="Password"></asp:TextBox>
<asp:RequiredFieldValidator runat="server" ID="PasswordRequiredFieldValidator" ValidationGroup="AddUserWizard" ControlToValidate="password" ErrorMessage="Password is required."/>
</td>
</tr>
<tr>
<td style="width: 213px; height: 1px;">confirm password</td>
<td style="width: 58px; height: 1px"></td>
<td style="width: 417px; height: 1px;">
<asp:TextBox ID="cpassword" runat="server" Width="199px" TextMode="Password"></asp:TextBox>
<asp:RequiredFieldValidator runat="server" ID="ConfirmPasswordRequiredFieldValidator" ValidationGroup="AddUserWizard" ControlToValidate="cpassword" ErrorMessage="Confirm password is required."/>
</td>
</tr>
<tr>
<td style="width: 213px; height: 1px">email</td>
<td style="width: 58px; height: 1px"></td>
<td style="width: 417px; height: 1px">
<asp:TextBox ID="email" runat="server" Width="234px"></asp:TextBox>
<asp:RequiredFieldValidator runat="server" ID="EmailRequiredFieldValidator" ValidationGroup="AddUserWizard" ControlToValidate="email" ErrorMessage="Email is required."/>
</td>
</tr>
</table>
</ContentTemplate>
</asp:CreateUserWizardStep>
<asp:CompleteWizardStep ID="CompleteWizardStep" runat="server">
<ContentTemplate>
Your account has been successfully created.</td>
<asp:Button ID="ContinueButton" CommandName="Continue" runat="server" Text="Continue" />
</ContentTemplate>
</asp:CompleteWizardStep>
</WizardSteps>
</asp:CreateUserWizard>
</form>
</body>
</html>