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.
Assembly: System.Web (in System.Web.dll)
public override function get AllowReturn () : boolean public override function set AllowReturn (value : boolean)
<asp:CreateUserWizardStep AllowReturn="True|False" />
Property Value
Type: System.Booleantrue if the user is allowed to return to the CreateUserWizardStep step; otherwise, false. The default is false.
| Exception | Condition |
|---|---|
| InvalidOperationException | 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 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.