Custom Validation Attributes
Schotime @ March 11, 2009
In my last post I showed you how to use Validation attributes on your model for validation. Today I will show how you can create your own attributes that can provide custom validation for you. To accomplish this we need to inherit from ValidationAttribute. We’ll create an attribute today that will only allow a "Yes" [...]

