谷歌密码强度检查器 [英] google password strength checker

查看:82
本文介绍了谷歌密码强度检查器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请将此代码转换为razor语法我找不到任何解决方案



< google:PasswordStrength ID =PSTargetControlID =txtPasswordCssClass = passwordrunat =server/>



i我发现这个艺术品在

Google密码强度API [ ^ ]

但我无法转换代码mvc4 razor view engine

please convert this code in to razor syntax i can not find any solution

<google:PasswordStrength ID="PS" TargetControlID="txtPassword" CssClass="password" runat="server" />

i am found this artical in
Google Password Strength API[^]
but i can not convert the code mvc4 razor view engine

推荐答案

你必须创建PasswordStrenthControl静态类并在该类中实现逻辑。



参考链接 MVC中的CustomControl [ ^ ]
You have to create PasswordStrenthControl static class and implement logic in that class.

Refer link CustomControl in MVC[^]


这篇关于谷歌密码强度检查器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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