开发者

Fancy client-side form validation in ASP.net MVC2

It appears that the jQuery-based version of ASP.NET MVC2 form validation didn't make it into the final release. This is a bit unfortunate.

First off, I can't figure out whether the version that did make it into the final release has an extension point - akin to an "onvalidate" event to which I can attach my own code... For instance, I would like to be able to animate the validation messages with jQuery-UI.

Secondly, I'm wondering if the jQuery validation they have in Futur开发者_运维问答es is good enough for real-world use. Has anyone had any success with it?


Yes, the current MVC2 implementation has extension points for hooking in your own custom validation. See this post here for an example.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜