By tag: DataAnnotations
0
kicks
Which ASP.NET MVC validation strategy should we use?
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.
0
kicks
ASP.NET MVC 2.0 Client validation exposed
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.