.NET 4 MVC 2 Validation with annotations warning instead of error
问题 I am using .NET 4 with MVC 2 for validating with Annotations. Is there a (simple) solution for giving back a warning instead of the error ? So that I am able to get a green or yellow box with a message like "you should not use this content, but you may". Big thanks in advance! :) EDIT: Please observe that I am already able to throw out errors via ErrorMessage but I additionally want something like WarningMessage or InfoMessage so that the user only gets a warning but might proceed. Is there a