Async Uploader and Chunking

5 posts, 1 answers
  1. Christina
    Christina avatar
    2 posts
    Member since:
    Apr 2013

    Posted 11 Jun 2013 Link to this post

    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
  2. Answer
    Hristo Valyavicharski
    Admin
    Hristo Valyavicharski avatar
    975 posts

    Posted 14 Jun 2013 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. David
    David avatar
    1 posts
    Member since:
    Jun 2012

    Posted 27 Jun 2013 Link to this post

    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
  5. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 27 Jun 2013 Link to this post

    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.
  6. Hristo Valyavicharski
    Admin
    Hristo Valyavicharski avatar
    975 posts

    Posted 02 Jul 2013 Link to this post

    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.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017