Chunk upload

8 posts, 1 answers
  1. Mikiya Sato
    Mikiya Sato avatar
    19 posts
    Member since:
    Oct 2007

    Posted 23 Jul 2013 Link to this post

    Hello,

    Can chunk upload be performed in IE10 (Desktop and metro)? 
    Also Which upload module is used in those browsers? 

    Than you,
    Mikiya Sato

  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 24 Jul 2013 Link to this post

    Hi Mikiya,

    Chunk Uploading is supported in most of the browsers including IE10 and it is not specific to the type of machine you are using such as Desktop as well as the Skin. The Silverlight and Flash Upload modules are supporting this Chunk Upload and in case of IE it will be using the Silverlight module by default for Chunk Upload.

    Thanks,
    Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Mikiya Sato
    Mikiya Sato avatar
    19 posts
    Member since:
    Oct 2007

    Posted 24 Jul 2013 Link to this post

    Hi Shinu,

    Thank you for your response.
    I do not think that Silverlight is used by default.
    I tested it on my desktop IE10 and IE9. (I don't test a Metro mode IE10 yet)

    IE9 is loading a silverlight assembly. But IE10 is not load it. (I watched it in developer tools)

    I think IE10 is using iframe module by default , Is this correct?



  5. Mikiya Sato
    Mikiya Sato avatar
    19 posts
    Member since:
    Oct 2007

    Posted 24 Jul 2013 Link to this post

    A little more information,

    I mean Metro is not skin. It's Metro mode( Appstore mode Internet explorer on Windows8)
  6. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 24 Jul 2013 Link to this post

    Hi Mikiya,

    RadAsyncUpload utilizes four different modules for file uploading – Iframe, Flash, Silverlight and File Api. The module with highest priority is File Api. If the browser does not support File Api that module is automatically changed to Silverlight. If there is no Silverlight installed on the client machine, RadAsyncUpload will utilize the Flash module. If neither Flash nor Silverlight is installed – the IFrame module takes place and this is the order of selecting upload modules.

    In the case of Internet Explorer, File Api Upload module is not suppoerted in any of its version and hence IE by default select the Silverlight upload module which has the next higher priority. Also note that there is an exception in IE9 that RadAsyncUpload implements only IFrame and Silverlight Upload modules in IE9. (Flash module can be applied in IE10 as well as IE versions prior to IE9.)
     
    Thanks,
    Shinu.
  7. Mikiya Sato
    Mikiya Sato avatar
    19 posts
    Member since:
    Oct 2007

    Posted 25 Jul 2013 Link to this post

    Hi Shinu,

    As for my IE10, Silverlight should be load if your order is correct. 
    but my IE10 doesn't load a silverlight module.

    Can you see following attachments.

    Thank you!
  8. Answer
    Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 25 Jul 2013 Link to this post

    Hi Mikiya,

    According to this Telerik help documentation on browser support for different Upload Modules, IE is supporting only Silverlight, Flash and IFrame. I have tested the same scenario in IE10 and IE9 and found that IE9 loads the Silverlight module by default but IE10 loads FileApi.

    Suppose you want to know which upload module is used, you can try the following JavaScript.

    JavaScript:
    <script type="text/javascript">
        function OnClientFileUploaded(sender, args) {
            //returns the current upload module name
            alert(sender.get_loadedModuleName());
        }
    </script>

    If you want IE10 to use Silverlight module to upload files, you can disable the FileApi with the help of the following JavaScript.

    JavaScript:
    <script type="text/javascript">
        Telerik.Web.UI.RadAsyncUpload.Modules.FileApi.isAvailable = function () { return false; }
    </script>

    Thanks,
    Shinu.
  9. Mikiya Sato
    Mikiya Sato avatar
    19 posts
    Member since:
    Oct 2007

    Posted 25 Jul 2013 Link to this post

    Hi Shinu,

    Thank you for nice tip.

    I'll just use it in the javascript console.
    $find($(".RadAsyncUpload").attr("id")).get_loadedModuleName()

    RadAsync uploader is use "File API" for IE10. Also chunk upload works.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017