This is a migrated thread and some comments may be shown as answers.
Chunk upload
7 Answers 42 Views
This is a migrated thread and some comments may be shown as answers.
Mikiya Sato
Top achievements
Rank 1
Mikiya Sato asked on 24 Jul 2013, 04:38 AM
Hello,

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

Than you,
Mikiya Sato

7 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 1
answered on 24 Jul 2013, 06:51 AM
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.
0
Mikiya Sato
Top achievements
Rank 1
answered on 24 Jul 2013, 07:12 AM
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?



0
Mikiya Sato
Top achievements
Rank 1
answered on 24 Jul 2013, 07:22 AM
A little more information,

I mean Metro is not skin. It's Metro mode( Appstore mode Internet explorer on Windows8)
0
Shinu
Top achievements
Rank 1
answered on 25 Jul 2013, 04:53 AM
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.
0
Mikiya Sato
Top achievements
Rank 1
answered on 25 Jul 2013, 05:18 AM
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!
0
Accepted
Shinu
Top achievements
Rank 1
answered on 26 Jul 2013, 04:22 AM
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.
0
Mikiya Sato
Top achievements
Rank 1
answered on 26 Jul 2013, 04:58 AM
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.
Asked by
Mikiya Sato
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 1
Mikiya Sato
Top achievements
Rank 1
Share this question
or