System.Web.UI.WebControls.PasswordRecovery.VerifyingAnswer Event

Occurs when the user has submitted an answer to the password recovery confirmation question.

Syntax

public event LoginCancelEventHandler VerifyingAnswer

Remarks

The PasswordRecovery.VerifyingAnswer event occurs on the server after the user submits the answer to the password confirmation question. You can use this event to prepare the answer submitted by the user for the membership provider, for example by converting it to all uppercase or lowercase letters.

The System.Web.UI.WebControls.PasswordRecovery control first raises the PasswordRecovery.VerifyingAnswer event, and then uses the membership provider specified in the PasswordRecovery.MembershipProvider property to compare the answer entered by the user with the password stored in the Web site.

For more information about handling events, see Events and Delegates.

Requirements

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