Im using kendoUpload control to upload the file. Everything works fine in IE10, but as soon as I switch to IE8 mode the uploaded file size property remains null.
is it by design?
$importFiles.kendoUpload({ async: { autoUpload: false, saveUrl: saveUrl, removeUrl: removeUrl }, multiple: false, showFileList: true, select: (e: kendo.ui.UploadSelectEvent): void => { $selectMsg.show(); }, upload: (e: kendo.ui.UploadUploadEvent): void => { var file: any = e.files[0]; // file.size is null in IE8 if ((file.size != null) && (((file.size / 1024) / 1024) > allowedFileSizeInMB)) { showErrorModal('The selected file is too large.'); e.preventDefault(); $selectMsg.hide(); } } });