I\'m using System.ComponontModel.DataAnnotations to validate my model objects. How could I replace messages standard attributes (Required and StringLength) produce without p
You can use ErrorMessage property of base class ValidationAttribute for all DataAnnotations validators.
For example:
[Range(0, 100, ErrorMessage = "Value for {0} must be between {1} and {2}")] public int id;
Maybe it'll help.