Today i came across an article by Scott Guthrie of Microsoft. It’s an excellent article on how we can do model validation with ASP.NET MVC 2.0 which is in release candidate now.
ASP.NET MVC 1.0 what we lacks was there were n’t any inbuilt support for Client Side vailidation and Model State Validation provided by microsoft. There were some 3 party libraries/extension helpers like xVal, jQuery Validations and data anotations validation will provide this support in ASP.NET MVC 1.0.
But from ASP.NET MVC 2.0 onwards microsoft has decided to make it part of ASP.NET MVC 2.0.
You can read this article by ScottGu @ ScottGu’s blog on ASP.NET MVC 2 Model Validation
Have fun. Happy Coding!!!
Discover more from Cloud Distilled ~ Nithin Mohan
Subscribe to get the latest posts sent to your email.