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

radtextbox and captcha validation

3 Answers 130 Views
Captcha
This is a migrated thread and some comments may be shown as answers.
Damian Chen
Top achievements
Rank 1
Damian Chen asked on 13 Nov 2009, 05:42 AM
I would like to get validation to work on a form that has radcaptcha, and a radtextbox included.  I cannot get it to work unless I use asptextbox with clientsidevalidation disabled.

I have made sure that the validation group is set the same for both the radtextbox and the captcha control, but the captcha control never seems to validate - even through the radtextbox works just fine.

Is there anything i can do to keep client side validation of the controls that can do it, and validate the captcha control on the server side?

3 Answers, 1 is accepted

Sort by
0
Pero
Telerik team
answered on 17 Nov 2009, 02:02 PM
Hi Damian,

At the moment the RadCaptcha control can validate only asp:TextBox. You cannot validate the input from a RadTextBox. If you want the asp:TextBox to visually look like the RadTextBox you can decorate all of the TextBoxes on the page using the RadFormDecorator control.

RadCaptcha performs only server-side validation. However you do not need to turn off client-side validation of all other asp:Validator controls on the page, as the RadCaptcha will validate the input whether or not client-side validation is turned off/on.

Best wishes,
Pero
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Emanuele
Top achievements
Rank 2
answered on 12 Dec 2010, 04:26 PM
you plan to add support to radTextBox use with radCaptcha ?

Thanks
0
Pero
Telerik team
answered on 15 Dec 2010, 12:09 PM
Hello Emanuele,

For the time being we do not plan to add support for RadTextBox control, but we will consider improving the RadCaptcha control to support input from different controls in some of the future releases.

Best wishes,
Pero
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Captcha
Asked by
Damian Chen
Top achievements
Rank 1
Answers by
Pero
Telerik team
Emanuele
Top achievements
Rank 2
Share this question
or