This is a migrated thread and some comments may be shown as answers.

I have a problem with telerik captcha

1 Answer 101 Views
Captcha
This is a migrated thread and some comments may be shown as answers.
balaji
Top achievements
Rank 1
balaji asked on 23 Jun 2010, 05:38 AM
i have used in my project telerik captcha in the registeration page,
i got display on the page every thing working is fine but when i type the characters from the captcha image in to text box it is telling "The code you typed is in correct" even i typed correctly it is telling like this
so please can any one tell why it is telling like this...

i used basic version of telerik captcha

1 Answer, 1 is accepted

Sort by
0
Pero
Telerik team
answered on 23 Jun 2010, 11:58 AM
Hello Balaji,

The problem might come from the fact that you perform an ajax call before entering the code an submitting the page. When an AJAX request is fired, the server-side page goes through its full page lifecycle. This means that a new RadCaptcha code will be generated, but because it's an AJAX update it would not be shown on the image (the old code is still shown because the RadCaptcha is not affected by the partial page update). So, the user sees the old code and enters it correctly but still gets an Error Message, because this old code is not valid anymore. The easiest way to overcome this is to place the RadCaptcha control inside an UpdatePanel (or AJAX Panel), so that the code is updated when AJAX update occurs.

Best wishes,
Pero
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Captcha
Asked by
balaji
Top achievements
Rank 1
Answers by
Pero
Telerik team
Share this question
or