I have a problem with telerik captcha

2 posts, 0 answers
  1. balaji
    balaji avatar
    1 posts
    Member since:
    Jun 2010

    Posted 23 Jun 2010 Link to this post

    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
  2. Pero
    Pero avatar
    1156 posts

    Posted 23 Jun 2010 Link to this post

    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,
    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
Back to Top