As you may know, we just released our ASP.NET MVC extensions latest service pack. Beside the regular dose of fixes, this service release incorporates even better support of the official version of MVC3. One of those new MVC3 feature, which I want to bring to your attention, is the unobtrusive validation.
We all know how client validation from the previous version of MVC has worked; outputting a mass of JSON serialized validation rules. Although, this approach is still available, the newer one is far more pleasing. Enabled by default in the VS2010’s MVC3 project template, validation rules will be attached as attributes to the appropriate form’s input elements.
In order to illustrate how nicely our grid extension integrates with this new validation functionality, I have prepared a sample, which can be downloaded from here. As a small bonus, the sample also uses the EF CTP5 code-first functionality to implement CRUD operations.