Posted on: 1/14/2015 4:01:38 PM | Views : 966

Hi,
I have a custom validation attribute inheriting from ValidationAttribute and overriding IsValid(object value, ValidationContext validationContext). This attribute is applied to a string property of my Model which is exposed inside a FormView using DynamicControl. When Model validation is triggered on postback, IsValid receives 'value' correctly, but 'validationContext' is always null.
Any ideas?

Go to the complete details ...