Under Review
Last Updated: 08 Oct 2020 16:19 by ADMIN
ADMIN
Plamen
Created on: 21 Jan 2013 10:30
Category: AsyncUpload
Type: Feature Request
22
ADD: ability to Drag and drop files and messages directly from OutLook to RadAsyncUpload

		
19 comments
ADMIN
Peter Milchev
Posted on: 08 Oct 2020 16:17

Hello all,

As per Amish's reply, you can see that a possible workaround for the "delete" issue is the dropEffect to be set to "copy" in the dropover event:

<script>
    // apply to all RadAsyncUpload controls on the page
    function pageLoadHandler() {
        $telerik.$(".RadAsyncUpload").each(function (ind, el) {
            var au = el.control;
            if (au.get_loadedModuleName().toLowerCase() == "file api") {
                au._uploadModule._dropoverHandler = function (ev) {
                    var dt = ev.originalEvent.dataTransfer;
                    dt.dropEffect = "copy";
                    // we need to call prevent default, otherwise
                    // the browser will try to open the document (by default)
                    ev.preventDefault();
                    ev.stopPropagation();
                }

            }
        })

        // Sys.Application.remove_load(pageLoadHandler);  
    }
    Sys.Application.add_load(pageLoadHandler);
</script>
<telerik:RadAsyncUpload runat="server" ID="RadAsyncUpload1"></telerik:RadAsyncUpload>

Regards,
Peter Milchev
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

ADMIN
Peter Milchev
Posted on: 06 Feb 2020 13:45

Hello all,

I will try to summarize and add recent news.

Microsoft has a bug report where the drag of the messages to any non-Microsoft browser (meaning Internet Explorer or old Edge) is not supported:

Nevertheless, you might see this "working" in new versions of Google Chrome and the new Edge. This is due to some commits that Microsoft made to the Chromium core, which will be used in the new Chromium-based Edge browser.

The glitch with this implementation is that the dragged message will be uploaded properly in the browser but it will be moved to the Deleted folder in Outlook.

With that said, we might need to wait for Microsoft and Chromium teams to implement the correct message upload and then the AsyncUpload might be able to properly handle the message drag and drop directly from outlook.

In the meantime, the only tested cross-browser solution is to drag the message/attachment on the file system and then upload the files.

Regards,
Peter Milchev
Progress Telerik

Get quickly onboarded and successful with UI for ASP.NET AJAX with the Virtual Classroom technical trainings, available to all active customers. Learn More.
Greg
Posted on: 18 Apr 2019 16:16
This is working with Edge, would be nice to make it work with IE and Chrome.
Svyatoslav Isayev
Posted on: 07 May 2016 16:07
That would be a great feature!
ADMIN
Plamen
Posted on: 15 Apr 2016 07:04
The issue seems to be a Microsoft limitation and it is marked as Won't fix in their tracking system here-
https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/212440/
Severin
Posted on: 11 Apr 2016 16:38
Our customers are asking for this.
Simon
Posted on: 11 Mar 2016 16:48
This is definitely a limitation of Outlook. There are a a couple of utilities on the market to let you do this though eg. Outlook2Web ( http://www.outlook2web.com/ ) and Mail2Share (http://www.mail2share.ca/en/ ) (works to Sharepoint only)
Anna
Posted on: 05 Aug 2015 01:35
It would be nice to have a drag and drop feature from Outlook to the file upload for email attachments.  I have had several requests for this.  
Steven
Posted on: 04 May 2015 13:00
I spent countless hours trying to get this to work with a web application. Definitely a need!
Claudio
Posted on: 04 May 2015 11:23
This would be very useful.  Thanks.
ADMIN
Genady Sergeev
Posted on: 12 Sep 2013 13:39
Hi guys,

Unfortunately the current level of technologies makes implementing this feature impossible because the browsers don't treat mails dragged from outlook as files. If this behavior changes in the future we will add support for it.

Regards,
Telerik team
Griffin
Posted on: 08 Aug 2013 20:21
Bob's suggestion that this limitation is imposed by Outlook seems to be true. Limited testing shows that other HTML5 upload widgets (e.g. in gmail) don't accept attachments dragged directly from Outlook.  Here's a possible reason: http://stackoverflow.com/a/17197224/1058320
Bob
Posted on: 31 Jul 2013 21:59
Isn't this a limitation of the drop target that Outlook is allowing and not an issue with RadAsyncUpload on HTML5 browsers?

I think that Outlook is the issue here?  Any other thougths on this?
Rick Atkinson
Posted on: 17 Jul 2013 19:13
This would be very useful.  Thanks.
Martin
Posted on: 11 Jul 2013 20:31
Very well needed feature
MUHAMMAD
Posted on: 23 May 2013 18:33
We have a requirement where the business is asking us to provide the Drag and Drop functonality from Outlook to the web or windows applicaiton. It seems like there is a huge demand for this with a lot of other organizations. 

It can be a very good selling feature for Telerik as well!!!$$$
jsearl
Posted on: 22 May 2013 18:39
I agree with the previous comments
Lenny_shp
Posted on: 09 May 2013 18:07
We could use this feature as well.
timmy
Posted on: 25 Apr 2013 15:59
This would be a great addition to allow people to add emails to a web page easily.