Export (0) Print
Expand All

CreateUserWizardStep.AllowReturn Property

Gets or sets a value indicating whether the user is allowed to return to the current step from a subsequent step in a CreateUserWizard control.

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

public override bool AllowReturn { get; set; }
/** @property */
public boolean get_AllowReturn ()

/** @property */
public void set_AllowReturn (boolean value)

public override function get AllowReturn () : boolean

public override function set AllowReturn (value : boolean)

Not applicable.

Property Value

true if the user is allowed to return to the CreateUserWizardStep step; otherwise, false. The default is false.

Exception typeCondition


An attempt was made to set the property.

The AllowReturn property is set to false to keep users from returning to the CreateUserWizardStep step and accidentally trying to create another user account with the same credentials. If you override the AllowReturn property and set it to true, you should include logic in your application to remove the user account that was originally created before the user returned to this step, or to allow the user to edit information he or she originally entered.

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

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

© 2014 Microsoft