Export (0) Print
Expand All

CreateUserWizard control

The CreateUserWizard control collects information from potential users. By default, the CreateUserWizard control adds the new user to the ASP.NET membership system. For information about ASP.NET membership, see Introduction to Membership in the MSDN library.

The CreateUserWizard control gathers the following user information:

  • User name

  • Password

  • Confirmation of password

  • E-mail address

  • Security question

  • Security answer

This information is used to authenticate users and recover user passwords, if necessary.

To add a CreateUserWizard control to a page

  • Drag the CreateUserWizard control from the Toolbox task pane to your page.

By default, a CreateUserWizard control has two steps: Sign Up for Your New Account and Complete. The Sign Up for Your New Account step (also called Create User step in the Common CreateUserWizard Tasks menu) allows a user to enter the information necessary to create an account. The Complete step provides confirmation that the account was (or was not) created.

To change between steps as you design them

  1. In Design view, right-click the CreateUserWizard control, and then click Show Common Control Tasks.

    Cc295494.alert_tip(en-us,Expression.10).gifTip:

    You can also click the CreateUserWizard control in Design view, click the arrow Cc295494.fa82fc93-da47-44dc-bf71-77ddd4b69c38(en-us,Expression.10).gif in the upper-right corner to show the Common CreateUserWizard Tasks menu. Click the arrow again to hide the menu.

  2. On the Common CreateUserWizard Tasks menu, select the step you want to design from the Step menu.

  3. The CreateUserWizard control derives from the Wizard class, so functionality available in the Wizard control is also available in the CreateUserWizard control.

To add or remove steps

  1. In Design view, right-click the CreateUserWizard control, and then click Show Common Control Tasks.

  2. On the Common CreateUserWizard Tasks menu, click Add/Remove WizardSteps.

  3. In the WizardStep Collection Editor dialog box, click the Add button.

  4. Set the Title property (and other properties) for your new step in the Step Properties area. The Title is displayed as the link text for the step in the sidebar area of the CreateUserWizard.

  5. Each step within the control is given a StepType to indicate whether it is the beginning step (StartNavigation), intermediate step (StepNavigation), or completion (FinishNavigation) step. You can customize the steps. The CreateUserWizard can have as many intermediate steps as needed.

To specify a StepType for a step

  1. In Design view, right-click the CreateUserWizard control, and then click Show Common Control Tasks.

  2. On the Common CreateUserWizard Tasks menu, select the step you want to specify the type for from the Stepmenu.

  3. On the Common CreateUserWizard Tasks menu, click one of the following links.

    • Convert to StartNavigation Template

    • Convert to StepNavigation Template

    • Convert to FinishNavigation Template

    • Convert to CustomNavigation Template

    • Customizing CreateUserWizard Appearance

  4. You can customize each of the areas of the CreateUserWizard by updating the collection of styles associated with the area. For example, in the Styles group in the Tag Properties task pane, you can customize the text and appearance of the instruction text, the password hint and other features of the wizard.

  5. For a full description of all CreateUserWizard control properties, see CreateUserWizard Members in the MSDN library.

You can also interactively design the steps in the wizard.

To interactively customize a step

  1. In Design view, right-click the CreateUserWizard control, and then click Show Common Control Tasks.

  2. On the Common CreateUserWizard Tasks menu, click Customize Create User Step or Customize Complete Step. This switches the CreateUserWizard into Editing Mode.

  3. Add text or controls or styles to make changes to the Template.

  4. To revert to the default setup for a step you have edited, on the Common CreateUserWizard Tasks menu, click Reset Create User Step or Reset Complete Step.

The wizard is composed of various template regions. You can also interactively design these.

To interactively design a template

  1. In Design view, right-click the Wizard control, and then click Show Common Control Tasks.

  2. On the Common Wizard Tasks menu, click Edit Templates. This switches the Wizard into Template Editing Mode.

  3. In the Display dropdown, select the template you would like to edit.

  4. Add text or controls or make changes to the Template.

  5. When you are finished designing your templates, on the Common Wizard Tasks menu, click End Template Editing to return to the standard CreateUserWizard design mode.

Community Additions

ADD
Show:
© 2014 Microsoft