Telerik RadCaptcha / How Can We Validate RadCaptcha From Code Behind / WithOut Using Validation Group

4 posts, 0 answers
  1. Majid Darab
    Majid Darab avatar
    110 posts
    Member since:
    Sep 2012

    Posted 02 Nov 2010 Link to this post

    Hi My Dear Friends :

    How Can We Check The Validation Of RadCaptcha From Code Behind - With Custom Validator(ServerValidate) / WithOut Using And Setting ValidationGroup ?

    thanks In Future Advance

    Best Regards...

  2. Majid Darab
    Majid Darab avatar
    110 posts
    Member since:
    Sep 2012

    Posted 03 Nov 2010 Link to this post

    i would be appreciate for attention to this thread...
    waiting ...
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Pero
    Admin
    Pero avatar
    1156 posts

    Posted 04 Nov 2010 Link to this post

    Hello Majid,

    You can check whether the correct code was entered by using the RadCaptcha's IsValid property. To be sure that validation has occurred please invoke the RadCaptcha's and Page's Validate method:

    RadCaptcha1.Validate();
    Page.Validate();
     
    if(RadCaptcha1.IsValid)
    {
        //TODO: Add your logic here
    }


    Kind regards,
    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
  5. DevMohamed
    DevMohamed avatar
    4 posts
    Member since:
    Aug 2006

    Posted 27 Nov 2014 in reply to Pero Link to this post

    for more effective scenario to prevent all validations fire in your page you can use :)

    RadCaptcha1.Validate();

    if(Page.IsValid)

    {    //TODO: Add your logic here}
Back to Top