New to Telerik UI for ASP.NET AJAX? Download free 30-day trial

File upload is terminated on Android when choosing a file from Google Drive


Property Value
Product RadAsyncUpload for ASP.NET AJAX
Version all


I am experiencing an issue where I cannot upload files from Google Drive on Android devices using the RadAsyncUpload component. When I select a file from Google Drive, nothing happens and the whole page becomes unresponsive. However, uploading a photo directly from the camera works fine.


To resolve this known Chrome issue on Android, you need to use the fallback iframe upload module when the browser is Chrome and the platform is Android. You can do that by adding the following script under the ScriptManager in your application:

    if ( && && Telerik.Web.UI.RadAsyncUpload) {
        // force iframe mode due to
        Telerik.Web.UI.RadAsyncUpload.Modules.FileApi.isAvailable = function () { return false; };
        Telerik.Web.UI.RadAsyncUpload.Modules.Flash.isAvailable = function () { return false; };
        Telerik.Web.UI.RadAsyncUpload.Modules.Silverlight.isAvailable = function () { return false; };

By adding this script, the RadAsyncUpload component will use the iframe module over the FileAPI, which resolves the issue with uploading files from Google Drive on Android devices using Chrome.

See Also

In this article