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

Async Uploader and Chunking

4 Answers 172 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Christina
Top achievements
Rank 1
Christina asked on 11 Jun 2013, 04:14 PM
We have just upgraded the Telerik Ajax tools in the current version of our software to Q1 2013 from Q3 2010. We are pleased to note the improvement in the Async Uploader around chunking.

We see that the new properties are "DisableChunkUpload" and "ChunkSize". Does this mean that the older version we had was chunking at some chunk size we couldn't control? Or was it not chunking and there's been a change in default behavior between versions?
 
Can you explicitly state the behavior of RadAsyncUpload in Q3 2010 (chunking/non-chunking, if chunking then chunk size), so that we can have a record of the way our previous versions behaved? We can no longer find documentation for the old version.

--Christina

4 Answers, 1 is accepted

Sort by
0
Accepted
Hristo Valyavicharski
Telerik team
answered on 14 Jun 2013, 01:23 PM
Hello Christina,

In older versions chunks were used internally only in RadAsyncUpload Silverlight module. Where the default size of the chunk was about 2MB. This size cannot be changed.
Now, as of Q1 2013, ChunkSize property were introduced. It can be controlled and works for all modules, FileAPI, IFrame, Silverlight, Flash.

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.
0
David
Top achievements
Rank 1
answered on 27 Jun 2013, 11:41 PM
Hello Hristo,

I have the older version of radasynchupload and can only get the silverlight module to work with FIrefox. Is there a way to force silverlight to be used for chrome and IE rather than fileAPI module?

Thanks,
-Dave
0
Shinu
Top achievements
Rank 2
answered on 28 Jun 2013, 04:34 AM
Hi David,

Internally, RadAsyncUpload can choose between three modules for uploading in IE - IFrame, Flash and Silverlight (File Api is not supported in IE). The module with higher priority is Silverlight. If there is no Silverlight installed on the client machine, RadAsyncUpload will utilize the Flash module. If there is no Flash as well, RadAsyncUpload will use the IFrame module which is supported out of the box on all browsers. The Silverlight upload module is supported by IE and Firefox only.

Also note, Unless the DisablePlugins property of the RadAsyncUpload is set to true, RadAsyncUpload use the Silverlight and Flash modules to upload files in supported browsers such as IE.

Thanks,
Shinu.
0
Hristo Valyavicharski
Telerik team
answered on 02 Jul 2013, 12:28 PM
Hi,

Actually supported upload modules are four Flash, Silverlight, IFrame, FileApi. With highest priority is used FileApi as it offers the richest features functionality. Technically it is possible to use Silverlight module on Chrome by disabling the FileApi and Flash modules:
       <script type="text/javascript">
               Telerik.Web.UI.RadAsyncUpload.Modules.Flash.isAvailable = function () { return false; };
               Telerik.Web.UI.RadAsyncUpload.Modules.FileApi.isAvailable = function () { return false; };
</script>

However we do not recommend you to do that, as unexpected behavior may occur.

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.
Tags
AsyncUpload
Asked by
Christina
Top achievements
Rank 1
Answers by
Hristo Valyavicharski
Telerik team
David
Top achievements
Rank 1
Shinu
Top achievements
Rank 2
Share this question
or