CreateUserWizard.CreatingUser Event
Occurs before the membership provider is called to create the new Web site user account.
Assembly: System.Web (in System.Web.dll)
The CreatingUser event is raised prior to calling the CreateUser method on the membership provider specified in the MembershipProvider property.
Use the CreatingUser event to establish defaults or modify the information entered by the user before passing the information to the membership provider.
For more information about handling events, see Consuming Events.
The following code example uses the CreatingUser event to make the UserName property all lowercase before submitting it to the membership provider specified in the MembershipProvider property.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.