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

Exceptions on drag&drop files (e.g. images) and links from web

3 Answers 41 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Max
Top achievements
Rank 1
Max asked on 19 Apr 2012, 03:16 PM
Hi,
if you try to d&d a file or a link to a file from a website (not from LocalSystem) asyncUpload functionality is being broken with
"file is undefined" exception
var fileApi = function (asyncUpload) {
$.extend(this, {
_processFiles:
...
$.each(files, function (index, file) {
var row = index == 0 ? context.initialRow : module._appendRow(context.initialRow.id);
module.trigger("FileSelected", row, input, file.name, (index + 1) == context.progress.totalFiles);
context.map.push({ file: file, row: row });
});
...
}
}

3 Answers, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 23 Apr 2012, 03:36 PM
Hi Max,

 
It is not very clear how to reproduce the issue. Would you please elaborate a little bit with a video or exact steps how to observe this behavior?

Regards,
Plamen Zdravkov
the Telerik team
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 their blog feed now.
0
Max
Top achievements
Rank 1
answered on 24 Apr 2012, 08:26 AM
1. open http://en.wikipedia.org/wiki/SpongeBob_SquarePants in one window of FIREFOX.
2. open http://demos.telerik.com/aspnet-ajax/asyncupload/examples/draganddrop/defaultcs.aspx?product=asyncupload
in ANOTHER WINDOW (NOT TAB) of FIREFOX.
3. Drag and drop SpongeBob IMAGE from the wiki onto the AsyncUpload-DropZoneArea at Telerik page as you normally would with your local file.

4. Try to upload any more files with any convinient way.
0
Plamen
Telerik team
answered on 24 Apr 2012, 04:11 PM
Hi Max,

 
Thank you for your concern with RadControls and reporting this issue.

Unfortunately such scenario is not supported by RadAsyncUpload. Currently only files that can be accessed in the local system  can be uploaded. Nevertheless we will inspect the issue in order to prevent the occurring of the error. 

Hope this will explain this issue. 

Kind regards,
Plamen Zdravkov
the Telerik team
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 their blog feed now.
Tags
AsyncUpload
Asked by
Max
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Max
Top achievements
Rank 1
Share this question
or