System.Web.UI.WebControls.PasswordRecovery.UserNameRequiredErrorMessage Property

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

Syntax

[System.ComponentModel.Localizable(true)]
public virtual string UserNameRequiredErrorMessage { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The PasswordRecovery.UserNameRequiredErrorMessage property contains the error message to display in any System.Web.UI.WebControls.ValidationSummary control on the same page as the System.Web.UI.WebControls.PasswordRecovery control.

The default text for the property is localized based on the server's locale setting.

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

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0