如何在ASP.NET MVC中使用刷新按钮进行验证码 [英] How to make captcha with refresh button in ASP.NET MVC

查看:119
本文介绍了如何在ASP.NET MVC中使用刷新按钮进行验证码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想制作一个像这个链接的验证码创建验证码ASP.Net中的刷新按钮图像 [ ^ ]



我尝试过:



i已经尝试过创建验证码ASP.Net中的刷新按钮图像 [ ^ ]此链接将其转换为mvc代码,但我无法做到这一点

解决方案

检查这个 Captcha MVC - 主页 [ ^ ]

演示 [ ^ ]



刷新替换尝试另一个文本 < br $>


 Html.Captcha(刷新,输入您在上面看到的文字:,5,是必填项,真)


i want to make a captcha like this link Create Captcha Image with Refresh Button in ASP.Net[^]

What I have tried:

i have tried Create Captcha Image with Refresh Button in ASP.Net[^] this link to convert it like mvc code but i am unable to do that

解决方案

check this Captcha MVC - Home[^]
demo[^]

replace the "Try another" text with "Refresh"

Html.Captcha("Refresh", "Enter the text you see above:", 5, "Is required field", true)


这篇关于如何在ASP.NET MVC中使用刷新按钮进行验证码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆