我正在尝试使用以下A CAPTCHA Server Control for ASP.NET - 由 Jeff Atwood在 ASP.NET MVC 站点中编写。提交表单时,自定义控件似乎没有进行验证。
有没有人使用 ASP.NET MVC 对这个示例做过任何工作?
我使用的基本代码如下:
<% using (Html.BeginForm()) { %>
<CaptchaControl:CaptchaControl ID="CaptchaControl" Name="Security" runat="server"></CaptchaControl:CaptchaControl>
<input type="submit" value="Send Message" />
<% } %>