radtextbox and captcha validation

4 posts, 0 answers
  1. Damian Chen
    Damian Chen avatar
    6 posts
    Member since:
    Sep 2009

    Posted 12 Nov 2009 Link to this post

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

    Posted 17 Nov 2009 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Emanuele Zambrano
    Emanuele Zambrano avatar
    21 posts
    Member since:
    Dec 2009

    Posted 12 Dec 2010 Link to this post

    you plan to add support to radTextBox use with radCaptcha ?

    Thanks
  5. Pero
    Admin
    Pero avatar
    1156 posts

    Posted 15 Dec 2010 Link to this post

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