Your shopping cart is empty!
In Solution Explorer, right-click the name of the Web site project and then click Add New Item.
Add a new Web Form named Register.aspx and click Add.
Make sure that you create the page in the root of the Web site, not in the MemberPages folder.
In the Register.aspx page, switch to Design view and enter text such as Register into the page. In the Formatting toolbar, use the Block Format drop-down list to format the text as Heading 1.
From the Login group of the Toolbox, drag a CreateUserWizard control onto the page.
In the Properties window for the CreateUserWizard control, set the ContinueDestinationPageUrl property to ~/Default.aspx.
This configures the control so that when users click Continue after they create a user, they are returned to the home page.
From the Standard group of the Toolbox, drag a HyperLink control onto the page.
In the Properties window for the HyperLink control, do the following:
Set the Text property to Home.
Set the NavigateUrl property to ~/Default.aspx.
Save and close the page.
You will now add a link that displays the registration page to both the home page and the Login page. For this walkthrough, assume that you want to display the registration link only to users who are not logged in.
Switch to or open the Default.aspx page.
Right-click the LoginView control that you added previously, and then click Show Smart Tag.
In the LoginView Tasks panel, select AnonymousTemplate from the Views list in order to activate editing in the anonymous template.
From the Standard group of the Toolbox, drag a HyperLink control into the anonymous template. It might be easier to put the cursor in the editing area and double-click the HyperLink control in the Toolbox.
Set the Text property to Register.
Set the NavigateUrl property to Register.aspx.
Switch to or open the Login.aspx page.
From the Standard group of the Toolbox, drag a HyperLinkcontrol into the page.
In the Properties window for the HyperLinkcontrol, do the following:
You can now test the registration process.