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

CaptchaImage Text property contents are encrypted?

1 Answer 13 Views
Captcha
This is a migrated thread and some comments may be shown as answers.
chawkins
Top achievements
Rank 1
chawkins asked on 26 Apr 2013, 04:44 PM
Hello

My question is, the value of CaptchaImage.Text does not change all the way through the page life cycle from Init to PreRender, yet the value it contains is different to that rendered in the CaptchaImage when the browser loads the page. Am I right in thinking that the raw text stored in the Text must then be an 'encrypted' version of the code that the Captcha really displays and against which it will validate on postback? Presumably this means that the CaptchaImage.Text property is not of any use in trying to store or control the code programmatically?

Thankyou for the confirmation of this.

1 Answer, 1 is accepted

Sort by
0
Slav
Telerik team
answered on 30 Apr 2013, 10:56 AM
Hi,

Actually the Text property of the CaptchaImage object returns the currently generated random text so it should be the same as the one in the picture. The property does not have a setter and it can be used only for retrieving the captcha code.

Do you have problems with validating the RadCaptcha code? If so, please elaborate on your scenario so that I can help you accordingly.

If you have a problem
Greetings,
Slav
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Captcha
Asked by
chawkins
Top achievements
Rank 1
Answers by
Slav
Telerik team
Share this question
or