First step verifies captcha & take me to create user step, but unfortunately user is not getting created after entering all valid information, nor i am getting any validation error.
there is no code-behind file. Please suggest if code behind needed ? if yes wat things are necessary to mention in code behind.
Hi
I suggest you check the validity of captcha in your customize CreateUserWizardStep, and redirect to the next step only if captcha Control returns true result, Since your captcha is third party control, so I cannot talk much about how to use this captcha.
instead, I suppose you will get this result and use this in code behind like the following code
protected void CreateUserWizard1_NextButtonClick(object sender, WizardNavigationEventArgs e)
{
if (e.CurrentStepIndex == 0) {
if (!CustomValidation()){
//some code here
e.Cancel = true;}
}
}
private bool CustomValidation()
{
return true; //find captcha control and retrieve result
}
Best Regards
XiaoYong Dai
Microsoft Online Community Support
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
XiaoYong Dai...
All-Star
38310 Points
4229 Posts
Re: Create User Wizard with Captcha
Jan 04, 2008 01:45 AM|LINK
Hi
I suggest you check the validity of captcha in your customize CreateUserWizardStep, and redirect to the next step only if captcha Control returns true result, Since your captcha is third party control, so I cannot talk much about how to use this captcha. instead, I suppose you will get this result and use this in code behind like the following code
protected void CreateUserWizard1_NextButtonClick(object sender, WizardNavigationEventArgs e)
{
if (e.CurrentStepIndex == 0) {
if (!CustomValidation()){
//some code here
e.Cancel = true;}
}
}
private bool CustomValidation()
{
return true; //find captcha control and retrieve result
}
XiaoYong Dai
Microsoft Online Community Support
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.