Author: Benoit Potty | Posted on: 5/5/2009 6:09:13 AM | Views : 272

 Hi Guys,
 
I am trying to improve the RecoveryPassword control from ASP.Net. I've turn it to templates and added a CAPTCHA control and a text box.
 
I would like to validate the CAPTCHA before continuing in the recovery procedure. I've tryied to add the validation code in the SubmitButton-Click event handler but I don't know what to do after my verification.
 
So my event handler code : 
 
 
1 protected void SubmitButton_Click(object sender, EventArgs e)
2 {
3 CaptchaControl c = FindControl("Captcha1") as CaptchaControl;
4 c.ValidateCaptcha((FindControl("tbCaptcha") as TextBox).Text ...

Go to the complete details ...