ChangePassword.UserNameRequiredErrorMessage Property

Definition

Gets or sets the error message that is displayed when the user leaves the User Name text box empty.

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

Property Value

The error message to display if the user leaves the User Name text box empty. The default string is "User Name is required.".

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

Produkt Verzie
.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