This project is read-only.

Loading via Ajax

Apr 12, 2013 at 4:48 AM
Hi

I have noticed on a normal page load the control loads find but if this is done through an ajax call the control doesn't load.
I've used it in a an updated panel where it loads the first time but if you enter the capture incorrectly the panel updates and control disappears.
I'm also using where i load a control via ajax and control never loads.
Any ideas around this with the current implementation?

Thanks
Jul 6, 2013 at 12:58 AM
Hi,

Did you get a way around this?

I am also using ReCaptcha on a form that is reloaded using AJAX.

I am using MVC 4.

Please let us all know if you found a solution. Thanks!
Fabio
May 14, 2014 at 1:04 PM
I have added a patch with support for ajax
Aug 29, 2014 at 3:55 AM
How do I get this patch for support with Ajax? I recently downloaded Recaptcha for .NET v1.6.0 which I understand to be the latest version. I just cannot get the reCaptcha to display on a partial view called via ajax
Kyle
Sep 3, 2014 at 3:01 PM
@kyle_peters
I had the same issue. And finally I got to use the AJAX API script inclusion as stated on the Google reCAPTCHA page. To redisplay the reCAPCTHA, you'll have to use Ajax.BeginForm to display your form in the MVC view. I have documented it on my blog on this link.

Maurice