PasswordRecovery::UserLookupError Event

 

Occurs when the membership provider cannot find the user name entered by the user.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public:
event EventHandler^ UserLookupError {
	void add(EventHandler^ value);
	void remove(EventHandler^ value);
}

The UserLookupError event is raised when the membership provider cannot find the user name entered by the user.

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

The following code example handles the UserLookupError event and resets the UserNameTitleText property if the user enters an invalid user name.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: