locked
AjaxFileUpload Drag and Drop & Outlook Attachments RRS feed

  • Question

  • User-224188520 posted

    Hey all,

    I have the AjaxFileUpload drag and drop functionality working like a charm, except with outlook attachments.

    There are no errors, just nothing happens at all.

    Can someone confirm this, is there some underlying issue that I am not aware of?

    Wednesday, October 17, 2012 11:47 AM

Answers

  • User555306248 posted

    All browsers are only expecting the actual file drag/drop format (CF_HDROP), but when dragging from Outlook, there is no file on the filesystem. What you get is the CF_FILEDESCRIPTOR and CF_FILECONTENTS formats.

    http://forums.asp.net/t/1663582.aspx

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, October 31, 2013 11:58 PM

All replies

  • User214038198 posted

    outlook attachments.

    are  you talking about .msg format ??

    Wednesday, October 17, 2012 12:27 PM
  • User-224188520 posted

    I am talking about files attached to a message. For example I have an email from a friend with a .pdf attachement. I can drag it to my desktop no problem, then from my desktop to into the FileUploader and it saves to the destination directory.

    But if I try to drag from the email and directly into the FileUploader, the cursor changes like it will allow me to do it, but when I release the mouse button, nothing happens, the file does not appear in the Uploader display box, and nothing is there.

    Wednesday, October 17, 2012 2:07 PM
  • User-224188520 posted

    I just read that back, its not very clear.

    I was talking about dragging the PDF from the email message, not the actual message.

    Wednesday, October 17, 2012 2:12 PM
  • User-224188520 posted

    Has anyone else tried this yet?

    Monday, October 22, 2012 12:00 PM
  • User680938575 posted

    Hi All,

    I'm also facing the same issue. I'm not able to drag and drop an attachment from an outlook mail to AjaxFileUpload control area.

    Is there a solution for this.?

    Any pointers would be helpful.

    Thursday, October 31, 2013 12:53 AM
  • User555306248 posted

    All browsers are only expecting the actual file drag/drop format (CF_HDROP), but when dragging from Outlook, there is no file on the filesystem. What you get is the CF_FILEDESCRIPTOR and CF_FILECONTENTS formats.

    http://forums.asp.net/t/1663582.aspx

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, October 31, 2013 11:58 PM
  • User680938575 posted

    Hi Chetan.

    Thanks a lot for you reply.

    But is there any other work around or alternative approach to make this work?

     

    Friday, November 1, 2013 1:58 AM
  • User465171450 posted

    No. The file upload at it's core can only work with a real, physical file as the initial target.

    Friday, November 1, 2013 1:56 PM