I like how the "Html.ValidationMessageFor" and "Html.ValidationSummary" helpers work for validating textboxes, such as for required fields. Is there some way I can accomplish the same thing for a file input control? From the examples I've seen so far you cannot directly bind a file upload to your model, so I can't use the [Required] attribute that I am using for the textboxes. Any suggestions/examples on how you'd accomplish this.
(I am using MVC 2 & .Net 3.5 in Visual Studio 2010)
View Complete Post