I am trying to use ReCaptcha from Microsoft.Web.Helpers. If I load the entire page it renders correctly, but if I load the page with an ajax request it disappears.
Example (/home/index)
<div id="bla">
@Ajax.ActionLink("reload with ajax", "index", new AjaxOptions() { UpdateTargetId = "bla" })
@ReCaptcha.GetHtml(publicKey: "xxx")
</div>
If I enter /home/index the captcha appears. If I click the button reload with ajax the ReCaptcha disappears…
- The page is loaded for the first time
reload with ajaxwas clicked, the contents of the page change to/home/index, in other words, the entire page reloaded asynchronous and the captcha is gone
Is there a way to fix this or a decent captcha helper for MVC 3?

I’ve replaced the helper with
javascript. ReCaptcha scriptAnd the Controller is still the same
So when it loads the view partially it executes this scripts and render correctly every time.
Thanks for the help @Bala R