CreateUserWizard.UserNameRequiredErrorMessage Property

Definition

Gets or sets the error message displayed when the user name text box is left blank.

public virtual string UserNameRequiredErrorMessage { get; set; }

Property Value

The error message displayed when the user name text box is left blank. The default value is "User Name is required." 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

Product Versions
.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