System.Web.UI.WebControls.PasswordRecovery.QuestionFailureText Property

Gets or sets the text to display when the user's answer to the password recovery confirmation question does not match the answer stored in the Web site data store.

Syntax

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

Value

Documentation for this section has not yet been entered.

Remarks

The PasswordRecovery.QuestionFailureText property contains the error message that is displayed when the answer to the password recovery confirmation question does not match the answer stored in the Web site data store.

The style settings in the PasswordRecovery.FailureTextStyle property define the appearance of the PasswordRecovery.QuestionFailureText property.

When you use templates to define the appearance of the System.Web.UI.WebControls.PasswordRecovery control, the PasswordRecovery.QuestionFailureText property is displayed in an optional System.Web.UI.WebControls.Literal control with the System.Web.UI.Control.ID property 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