Solved

ASP.NET CreateUserWizard

Posted on 2011-09-14
1
262 Views
Last Modified: 2012-05-12
I have the srectuserwizard setup and working, but now I must check one of the fields before I actually fire off the wizard.
The user must now enter an access key, and I must check it against the database.  So, I cannot use one of the validation controls.
Where can I write this code so if the access key is not valid, the use will not be created?
0
Comment
Question by:rrhandle8
1 Comment
 
LVL 7

Accepted Solution

by:
Slimfinger earned 250 total points
ID: 36541365
Add a function with the following signature to check the key...

     public delegate void LoginCancelEventHandler(object sender, LoginCancelEventArgs e);

...and add it to CreateUserWizard.CreatingUser
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question