CreateUserWizard.DuplicateUserNameErrorMessage Property

Definition

Gets or sets the error message displayed when the user enters a user name that is already in use in the membership provider.

C#
public virtual string DuplicateUserNameErrorMessage { get; set; }

Property Value

The error message displayed when the user enters a user name that is already in the membership provider. The default value is "Please enter a different user name." The default text for the control is localized based on the server's current locale.

Remarks

The value of this property, when set, can be saved automatically to a resource file by using a designer tool. For more information, see LocalizableAttribute and Globalization and Localization.

Applies to

Proizvod Verzije
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also