2014-02-13 23 views

回答

0

试试这个在您的浏览

@using Recaptcha 
    @{ 
     Recaptcha.RecaptchaControlMvc.PublicKey = "PublicKey"; 
     Recaptcha.RecaptchaControlMvc.PrivateKey = "PrivateKey"; 
    } 
    @Html.Raw(@Html.GenerateCaptcha("captcha", theme: "clean")) 
+0

谢谢你的评论。我在查看页面中使用了这段代码,但它没有显示任何内容。通过使用此代码,无论它将显示在查看页面的验证码屏幕或在查看页面中写入一些其他代码,请帮助我 – Vetri

+0

您使用的是'Recaptcha' – Nilesh

+0

我已经安装了politecaptcha,recapcha插件for .net, capchamvc ..但我不知道如何使用它 – Vetri

相关问题