I had done the registration using ASP.NET CreateUserWizard Control
. In here I want to use email address as the username. I had problem removing Email field from the control. In the web.config
file I used requiresUniqueEmail="false"
.
I achieve this by hiding the email field and autofilled the field with username.
There is a way shown here of doing that.
I just wondering if there is any other better way of doing this.
Thanks
Have you tried setting the CreateUserWizard.RequireEmail property to false like so:
<asp:CreateUserWizard ID="CreateUserWizard1" runat="server"
RequireEmail="false" ...