asp.net MVC 2 Validating File uploads with data annotation
- by Francis Gilbert
I'm trying to validate a form using Data Annotation. It seems great for string types and integers, but for a file upload, I couldn't validate from the class. It would just be sent a string "HttpPostedFileWrapper". Does anyone have any tips?
Thanks