3. From the root of the site, open the Login.aspx page in Markup
View. If you don’t have that page, create it now, based on your custom
template, and set its Title to Log in to Planet Wrox. Then
add an element with the same text in the cpMainContent
placeholder.
4. From the Login category of the Toolbox, drag a LoginStatus control
and drop it in the page after the element.
5. Switch to Design View and from the Toolbox, drag a Login control
and drop it on the LoginStatus, so it ends up right above it. Both
controls are visible in Figure 16-3 (the LoginStatus appears as a small Login link below the Login
control).
FIGURE 16-3
6. Open the Properties Grid for the Login control and set the two properties shown in the following
table:
PROPERTY VALUE
CreateUserText Sign Up for a New Account at Planet Wrox
CreateUserUrl SignUp.aspx
7. In the root of the website, create a new Web Form called SignUp.aspx based on your custom template
and give it a Title of Sign Up for a New Account at Planet Wrox.
8. Switch the page to Design View and from the Toolbox, drag a CreateUserWizard control into the
main content area for the page. Save and close the page.
9. Open the Web.config file from the root of the site and add an element with its
mode attribute set to Forms as a direct child of the element.