Datasheet

</table>
</asp:WizardStep>
<asp:CompleteWizardStep runat=”server”>
<ContentTemplate>
<table border=”0” style=”font-size: 100%; width: 383px;
font-family: Verdana; height: 164px”>
<tr>
<td align=”center” colspan=”2” style=”font-weight:
bold; color: white; background-color: #5d7b9d”>
Complete</td>
</tr>
<tr>
<td>
Your account has been successfully
created.</td>
</tr>
<tr>
<td align=”right” colspan=”2”>
<asp:Button ID=”ContinueButton” runat=”server”
BackColor=”#FFFBFF” BorderColor=”#CCCCCC”
BorderStyle=”Solid” BorderWidth=”1px”
CausesValidation=”False” CommandName=”Continue”
Font-Names=”Verdana” ForeColor=”#284775”
Text=”Continue” ValidationGroup=”CreateUserWizard1” />
</td>
</tr>
</table>
</ContentTemplate>
</asp:CompleteWizardStep>
</WizardSteps>
</asp:CreateUserWizard>
Most of the markup and attributes relate to style settings. However, one essential attribute is the
FinishDestinationPageUrl. This is where the user is taken once the registration process is com-
pleted; in the Online Diary it’s the SignOn.aspx page.
You’ve probably noticed a number of
WizardStep tags in the markup, such as this one:
<asp:WizardStep ID=”personalDetailsStep” runat=”server” Title=”User Details”>
The CreateUserWizard works on a step-by-step basis. There must be least one step that allows the user
to choose a username and password and various security questions (see Figure 1-13).
This step and its style can be modified, but Figure 1-13 shows its default value. The control takes care of
inserting the new user data into the user database.
A second step, shown in Figure 1-14, is displayed after the user is created.
21
The Online Diary and Organizer
04_749516 ch01.qxp 2/10/06 9:11 PM Page 21