System.Web.UI.WebControls.PasswordRecovery.GeneralFailureText Property

Gets or sets the error message to display when there is a problem with the membership provider for the System.Web.UI.WebControls.PasswordRecovery control.

Syntax

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

Value

Documentation for this section has not yet been entered.

Remarks

The PasswordRecovery.GeneralFailureText property is displayed to the user when there is a problem with the membership provider that manages user information for the System.Web.UI.WebControls.PasswordRecovery control. Typically, the PasswordRecovery.GeneralFailureText property is displayed when the membership provider cannot connect to the data store containing user information.

The text specified in the PasswordRecovery.UserNameFailureText property is displayed in the UserName view when the provider cannot find the specified user name in the database. The PasswordRecovery.QuestionFailureText property is displayed in the Question view when the answer entered by the user does not match the stored answer. The PasswordRecovery.GeneralFailureText property is displayed for all other errors.

The appearance of the PasswordRecovery.GeneralFailureText property is defined by the style settings in the PasswordRecovery.FailureTextStyle property.

When you set templates to define the appearance of the System.Web.UI.WebControls.PasswordRecovery control, the PasswordRecovery.GeneralFailureText property is displayed in an optional System.Web.UI.WebControls.Literal control with the control ID set to "FailureText".

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