Hi,
I have come across a strange behavior with RadAsyncUpload control in Internet Explorer 9 (version: 9.0.8112.16421). I am disabling the control while a file is being uploaded from client side and once the client upload is completed I am enabling the RadAsyncUpload control. The issue is, the control is disabled while I am uploading a large file but one can click in between the small space between the RadAsyncUpload's fake input and Select button in IE browser and the File Select dialog pop up and from there I can select any file and the AsyncUpload is enabled some how. After all the client upload operation is completed, if I click the Remove button, the file is deleted and a new File Input like the original one is rendered there.
Here is the code I tried.
ASPX:
JavaScript:
I took a sample video of this strange behavior and you can find it here.
Thanks,
Shinu.
I have come across a strange behavior with RadAsyncUpload control in Internet Explorer 9 (version: 9.0.8112.16421). I am disabling the control while a file is being uploaded from client side and once the client upload is completed I am enabling the RadAsyncUpload control. The issue is, the control is disabled while I am uploading a large file but one can click in between the small space between the RadAsyncUpload's fake input and Select button in IE browser and the File Select dialog pop up and from there I can select any file and the AsyncUpload is enabled some how. After all the client upload operation is completed, if I click the Remove button, the file is deleted and a new File Input like the original one is rendered there.
Here is the code I tried.
ASPX:
<
telerik:RadAsyncUpload
runat
=
"server"
ID
=
"RadAsyncUpload1"
OnClientFileSelected
=
"OnClientFileSelected"
OnClientFileUploaded
=
"OnClientFileUploaded"
TargetFolder
=
"~/Images/Img/"
AllowedFileExtensions
=
".jpg,.zip"
MaxFileSize
=
"579371152"
MultipleFileSelection
=
"Automatic"
UploadedFilesRendering
=
"BelowFileInput"
>
</
telerik:RadAsyncUpload
>
JavaScript:
<script type=
"text/javascript"
>
function
OnClientFileSelected(sender, args) {
sender.set_enabled(
false
);
}
function
OnClientFileUploaded(sender, args) {
sender.set_enabled(
true
);
}
</script>
I took a sample video of this strange behavior and you can find it here.
Thanks,
Shinu.