I use the Mvc2 and its native validation system. Some js files are included by default, for example: 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.
However, I would recommend several things:
Firstly, check out MVC Foolproof validation - it may provide you with all the extra validation that you require.
Secondly, if you can upgrade to MVC3 - validation has much better support.
Thirdly, I'd recommend using the jquery support instead of the MicrosoftAjax - you'll find it's much better supported moving forward.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.