I want to use the standard ASP.NET Data Annotations to show the user errors like:
"Name is a required field".
But I also want to use CSS to give that field some custom CSS styling.
How can I do this? I assume that since the validation is takling place on the Model, that the correct CSS could also generated as a property on the Model?
Please tell me if that's the best way and give me a few hints about how to do this.