Author: you've been HAACKED | Posted on: 11/19/2009 11:14:25 PM | Views : 904

This is the third post in my series ASP.NET MVC 2 Beta and its new features. ASP.NET MVC 2 Beta Released (Release Announcement) Html.RenderAction and Html.Action ASP.NET MVC 2 Custom Validation In this post I will cover validation. No, not that kind of validation, though I do think you?re good enough, you?re smart enough, and doggone it, people like you. Rather, I want to cover building a custom validation attribute using the base classes available in System.ComponentModel.DataAnnotations . ASP.NET MVC 2 has built-in support for data annotation validation attributes for doing validation on a server. For details on how data annotations work with ASP.NET MVC 2, check out Brad?s blog post. But I won?t stop there. I?ll then cover how to hook into...(read more) ...

Go to the complete details ...