I am using CreateUserWizard to let users register on my web application. My requirement is to only let users register if the email they enter while registering exists in my database(i have a table with all the valid emails). I did a lot of research and came
across this similar requirment here http://stackoverflow.com/questions/9476820/asp-net-register-users-based-on-e-mail-whitelist. but how can I stop the
registration if the email doesn’t exist in my database?Since am using the CreateUserWizard , do I have control over stopping the registration?
Please advise and thanks for the help.
Have you tried
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.createuserwizard.creatinguser.aspx ? you alos have