If I disable client side validation
<add key="ClientValidationEnabled" value="false" />
<add key="UnobtrusiveJavaScriptEnabled" value="false" />
and try to upload a file that's around 11 MB which sets the file to a HttpPostedFileBase memeber
[ValidateFile]
public HttpPostedFileBase StudentImageFileBase { get; set; }
I can't even get my custom validation code to get called. As soon as I hit the submit button I see this error message. I can get client side to work, but what if it's disabled in the users browser? Am I stuck showing this message to the user? Something isn't right, shouldn't I be able to upload large files? I'm not trying to in my app but I have to combat against it server side right?