I have implimented a custom validation using data annotation on model, MVC 3. Also imlimented jquery and scripts for unobstrusive client validation of the same, taken care to over ride the
public override IEnumerable<ModelClientValidationRule> GetClientValidationRules()as well. but still error message and styling not shown for wrong values.
I checked my scripts and the jquery, they are being registered (placed alerts in them to confirm).
Server side code below
My model window code is as below
The jquery scripts written for client validation is as below.
thanks in advance