Hi,
I am using radUpload to upload multiple files at a time. I need to check file's size each time user selects a file. For that using "onclientfileselected="selectedFile" in radUpload control.
Below is the code in "selectedFile" javascript function.
var inputs = sender.getFileInputs();
size = inputs[i].files[0].fileSize;
But it shows "size" undefined.
Before some days, I was getting correct size, but now it is not working. I've not updated Telerik's version or anything like that. What could cause this kind of issue?
Please reply at the earliest as it is live on the site.
I am using radUpload to upload multiple files at a time. I need to check file's size each time user selects a file. For that using "onclientfileselected="selectedFile" in radUpload control.
Below is the code in "selectedFile" javascript function.
var inputs = sender.getFileInputs();
size = inputs[i].files[0].fileSize;
But it shows "size" undefined.
Before some days, I was getting correct size, but now it is not working. I've not updated Telerik's version or anything like that. What could cause this kind of issue?
Please reply at the earliest as it is live on the site.