System.Web.UI.WebControls.CreateUserWizard.CreateUserError Event

Occurs when the membership provider cannot create the specified user account.


public event CreateUserErrorEventHandler CreateUserError


The CreateUserWizard.CreateUserError event is raised on the server when the membership provider specified in the CreateUserWizard.MembershipProvider property fails to create the specified user account.

The error handler is passed a System.Web.Security.MembershipCreateStatus object that contains the details of the failure from the membership provider. For a list of the possible error conditions, see System.Web.Security.MembershipCreateStatus.

For more information about handling events, see Consuming Events.


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