如何在asp.net中验证Recaptcha

问题描述:



我无法验证重新输入验证码的文字.

我首先在更新面板中使用了recaptacha,但是它在部分回发时消失了,所以我将其移到了更新面板的外部.

我虽然使用page.isvalid属性,但是即使我在recaptcha中写错或将其留空,页面也仍然有效.我应该如何用图片验证recaptcha的文本.

需要帮助

谢谢

Hi ,

im unable to validate recaptcha text.

I first used recaptacha inside update panel but it disappears on partial postback so i moved it outside to update panel.

I am using page.isvalid property although but page become valid even i write wrong in recaptcha or leave it empty. How should i validate the text of recaptcha with the picture.

need help

Thanks

检查一下:

自定义reCaptcha验证 [
check this out:

Custom reCaptcha Validation[^]

hope it helps :)