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)

[BrowsableAttribute(false)]
public override bool AllowReturn { get; set; }
<asp:CreateUserWizardStep AllowReturn="True|False" />

Property Value

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

ExceptionCondition
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.

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5, 3.0, 2.0

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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

Show:
© 2014 Microsoft