System.Web.UI.WebControls.ChangePassword.ConfirmPasswordCompareErrorMessage Property

Gets or sets the message that is displayed when the new password and the duplicate password entered by the user are not identical.

Syntax

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

Value

Documentation for this section has not yet been entered.

Remarks

The System.Web.UI.WebControls.ChangePassword control requires the user to enter the new password twice because the password characters are masked on the screen as the user types them. If the user does not enter the same password in both the New Password text box and the Confirm New Password text box, the message in the ChangePassword.ConfirmPasswordCompareErrorMessage property is displayed.

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