This is a migrated thread and some comments may be shown as answers.

RadAsyncUpload strange behavior

1 Answer 31 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Shinu
Top achievements
Rank 1
Shinu asked on 24 Sep 2013, 12:50 PM
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:
<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.

1 Answer, 1 is accepted

Sort by
0
Hristo Valyavicharski
Telerik team
answered on 27 Sep 2013, 09:52 AM
Hi Shinu,

Thank you for reporting this issue. I have logged it into our tracking system  for further investigation.    

Regards,
Hristo Valyavicharski
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.

61754
61754
61754
61754
Tags
AsyncUpload
Asked by
Shinu
Top achievements
Rank 1
Answers by
Hristo Valyavicharski
Telerik team
Share this question
or