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

Known Issues and Breaking Changes

0 Answers 829 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Telerik Admin
Top achievements
Rank 1
Telerik Admin asked on 20 Jul 2010, 10:48 AM

Q2 2011 Service Pack 1 (Version 2011.2.915)

Breaking change: 
Now all HTML 5 compliant browsers, which support the File API interface (FireFox 4.0+, Chrome latest, Safari 5.0+), use the File API module.

Reason:
Numerous of problems with the Silverlight/Flash plugins in browsers different than IE. The FileAPI module provides the same features as Flash/Silverlight with one exception. It is not yet possible to display extensions filter within the select file dialog. However, this functionality is part of the input[type='file'] specification and it is about time that the browsers implement it.

Problem:
Using the Flash module in IE6/7/8 debug information is displayed into the Developers Bar JavaScript console.

Reason: 
Non commented console.log invocation within the ActionScript code.

Solution:
The problem will be resolved in the upcoming Latest internal build.

Q2 2010 (Version 2011.2.713)

Problem
: RadAsyncUpload sometimes fail to upload the files to the target folder.

Reason: The temporary files, which RadAsyncUpload uses internally to save the uploaded files to the target folder, are being deleted too early, hence leaving the upload without files to save.

Solution: We have fixed the problem for the latest internal build (version 2010.2.722+). More information on how to obtain the latest internal build can be found here.

Alternatively, you can do the following:

Step 1: Add an ashx handler to your app. Inside, use the following code:

<%@ WebHandler Language="C#" Class="CustomHandler" %>
 
using System;
using System.Web;
using Telerik.Web.UI;
 
public class CustomHandler : AsyncUploadHandler {
 
    
    protected override IAsyncUploadResult Process(UploadedFile file, HttpContext context, IAsyncUploadConfiguration configuration, string tempFileName)
    {
        configuration.TimeToLive = TimeSpan.FromHours(4);
        return base.Process(file, context, configuration, tempFileName);
    }
 
}

Then, set the HttpHandlerUrl property of RadAsyncUpload to point to that handler. Like this:

<telerik:RadAsyncUpload runat="server" ID="RadAsyncUpload1" HttpHandlerUrl="~/CustomHandler.ashx" TargetFolder="~/Documents">
        </telerik:RadAsyncUpload>

Related forum post: FIX: RadAsyncUpload sometimes does not save the uploaded files to the target folder.



Other issues:

SOLUTION: Upload fails OR Login prompt appears when using Forms / Windows Authentication
Tags
AsyncUpload
Asked by
Telerik Admin
Top achievements
Rank 1
Share this question
or