I have the following view model.
public class MyViewModel { [DataType(DataType.Upload)] public HttpPostedFileBase ImageUpload { get; set; } publ
Change your image control to this,
@Html.TextBoxFor(m => m.ImageUpload, new { type = "file", name = "Files" })