简体   繁体   English

是否有 Microsoft asp.net 和 mvc 前端脚本的文档

[英]Is there any documentation for Microsoft asp.net and mvc front-end scripts

I use the Mvc2 and its native validation system.我使用 Mvc2 及其本机验证系统。 Some js files are included by default, for example: MicrosoftAjax.js MicrosoftMvcAjax.js MicrosoftMvcValidtion.js默认包含一些js文件,例如:MicrosoftAjax.js MicrosoftMvcAjax.js MicrosoftMvcValidtion.js

I need to make some more complex validation procedures, which means I need to understand these scripts.我需要做一些更复杂的验证程序,这意味着我需要了解这些脚本。 Is there any documentation about these scripts?是否有关于这些脚本的任何文档? I searched thoroughly but find nothing... Microsoft doesn't document?我彻底搜索但一无所获......微软没有记录?

Sadly Microsoft's documentation is often lacking.遗憾的是,经常缺少 Microsoft 的文档。

However, I would recommend several things:但是,我会推荐几件事:

Firstly, check out MVC Foolproof validation - it may provide you with all the extra validation that you require.首先,查看MVC Foolproof验证 - 它可能会为您提供所需的所有额外验证。

Secondly, if you can upgrade to MVC3 - validation has much better support.其次,如果你可以升级到 MVC3 - 验证有更好的支持。

Thirdly, I'd recommend using the jquery support instead of the MicrosoftAjax - you'll find it's much better supported moving forward.第三,我建议使用 jquery 支持而不是 MicrosoftAjax - 你会发现它得到了更好的支持。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM