Export (0) Print
Expand All
Expand Minimize

CreateUserWizard.CreateUserStep Property

Note: This property is new in the .NET Framework version 2.0.

Gets a reference to the template for the user account creation step.

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)

public CreateUserWizardStep CreateUserStep { get; }
/** @property */
public CreateUserWizardStep get_CreateUserStep ()

public function get CreateUserStep () : CreateUserWizardStep

Property Value

A CreateUserWizardStep value that represents the user account creation step.

The CreateUserStep property defines the account creation step of a CreateUserWizard control. This property is read-only; however, you can set the properties of the CreateUserWizardStep object that CreateUserStep returns.

The following table lists the required and optional controls that are supported when using templated content for the CreateUserStep.

ID or command name

Control type

Required/optional

UserName

Any control that implements IEditableTextControl, including TextBox, or a custom or third-party control.

Required

Password

Any control that implements IEditableTextControl, including TextBox, or a custom or third-party control.

Required if AutoGeneratePassword is set to false.

Email

Any control that implements IEditableTextControl, including TextBox, or a custom or third-party control.

Required if RequireEmail is true.

ConfirmPassword

Any control that implements IEditableTextControl, including TextBox, or a custom or third-party control.

No requirements

Question

Any control that implements IEditableTextControl, including TextBox, or a custom or third-party control.

Optional unless required by membership.

Answer

Any control that implements IEditableTextControl, including TextBox, or a custom or third-party control.

Optional unless required by membership.

ErrorMessage

Any control that implements ITextControl.

Optional

CreateUser

Any control that causes event bubbling

Optional

Cancel

Any

Optional

If the RequireEmail property is set to true and you are using templated content, the Email control is required; the CreateUserWizard control throws an exception if the Email control is not found or is of the wrong type. If RequireEmail is set to false, no exception is thrown if the Email control is not found. If the control is of the wrong type, it is ignored.

Similarly, if a membership provider requires a question and answer (determined by the QuestionAndAnswerRequired property), the Question and Answer controls are required and the CreateUserWizard throws an exception if they are not found or are of the wrong type. If they are not required by the membership provider, no exception is thrown if they are not found, and if they are of the wrong type they are ignored.

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show:
© 2014 Microsoft