Hi Richard,
Thanks for contacting Syncfusion support.
Query: “Is there a max file size that is allowed to be used when uploading a file?”
Yes, In the UploadBox control, You can restrict the files from being browsed using the FileSize property. When you do not use this property, it takes a default size, 31457280B, that is, 31MB. When this size exceeds, we cannot browse the file.
Query: “is there a way to see why the upload fails?”
Yes, you can find the error details in error event in uploadbox.
Refer to the code snippet:
<code>
@Html.EJ().Uploadbox("UploadDefault").SaveUrl("SaveDefault").RemoveUrl("RemoveDefault").FileSize(100000000).ClientSideEvents(obj=>obj.Error("fileerror"))
</code> |
<code>
<script type="text/javascript">
function fileerror(args) {
alert(args.error);
}
</script></code> |
Regards,
Karthikeyan V.