Custom Validation Message?

If im validating, any entity, and adding a validationresult with errors.
They wont be visible for the user, just a this generic message:

image

How can I view my custom error message when validating an entity?

If I for example returning

var result = new ValidationResult();
result.AddError("My.Key.That.Im.Validating", "This value is required, please fill something in and try again.");
return result;

Did you check this topic?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.