开发者

asp.net mvc 2: Overriding client validation so i can use jquery effects?

开发者 https://www.devze.com 2023-01-08 10:12 出处:网络
is th开发者_如何学Pythonere a way to override client validation so i can use jquery? Currently i am using attributes on my model, a new feature of mvc 2

is th开发者_如何学Pythonere a way to override client validation so i can use jquery?

Currently i am using attributes on my model, a new feature of mvc 2

Thanks in advance


This is included in MVC futures.

Look in \mvc2-rtm-sources\src\MvcFuturesFiles\MicrosoftMvcRemoteValidation.js


check out the xVal project: http://xval.codeplex.com/

I think by default it's wired up to use jQuery validation, but you can substitute your own validation logic if you want.

0

精彩评论

暂无评论...
验证码 换一张
取 消