How to return a property name when comparing two properties at class-level
- by CodeMonkey
Hi
I have implemented an 'EqualTo' Validation Attribute, that compares two Properties of an object, during ModelBinding in ASP.NET MVC 2.
The problem I have is not with it not working, because it does work.
The problem is, when I do my request - which is an ajax request - I get back errors to my front-end, where it sets a class on the input…