By tag: DataAnnotations
Ban this user: Options
Please provide a reason for deleting this story
At least as long as programming has existed, people have tried to be tricky. I'm sure we have all tried to architecture something tricky only to have to revert our project and sheepishly go with a simpler solution.
Describes how to add validation rules in MVC 2.0 from code. Yeah, data annotation and rules in model is cool. But I have found no info about how to add client validation rules from code, it can be useful in many cases. So, I go to Reflector and try to find some way to do this.