PasswordRecovery.VerifyingAnswer Event
Assembly: System.Web (in system.web.dll)
public: event LoginCancelEventHandler^ VerifyingAnswer { void add (LoginCancelEventHandler^ value); void remove (LoginCancelEventHandler^ value); }
/** @event */ public void add_VerifyingAnswer (LoginCancelEventHandler value) /** @event */ public void remove_VerifyingAnswer (LoginCancelEventHandler value)
JScript supports the use of events, but not the declaration of new ones.
The 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 PasswordRecovery control first raises the VerifyingAnswer event, and then uses the membership provider specified in the 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.
Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.