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

4 posts, 0 answers
  1. Max
    Max avatar
    34 posts
    Member since:
    Dec 2011

    Posted 19 Apr 2012 Link to this post

    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 });
    });
    ...
    }
    }
  2. Plamen
    Admin
    Plamen avatar
    2959 posts

    Posted 23 Apr 2012 Link to this post

    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.
  3. Max
    Max avatar
    34 posts
    Member since:
    Dec 2011

    Posted 24 Apr 2012 Link to this post

    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.
  4. Plamen
    Admin
    Plamen avatar
    2959 posts

    Posted 24 Apr 2012 Link to this post

    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.
Back to Top