Paste Files into RadUpload DropZone

6 posts, 0 answers
  1. Chris
    Chris avatar
    6 posts
    Member since:
    Apr 2012

    Posted 09 Mar 2016 Link to this post

    How do you paste a file, in this instance a screen capture image, into the RadUpload dropzone?  My users do not want to have to save the file to disk first.  They want to copy and past it straight from an email or snippet tool.  I have been unsuccessful at finding any documentation for this.

     

    Thanks.

  2. Ivan Danchev
    Admin
    Ivan Danchev avatar
    1253 posts

    Posted 10 Mar 2016 Link to this post

    Hello Chris,

    The AsyncUpload does not support pasting files. The supported ways of uploading a file are:
    • selecting it from the Upload Dialog opened by clicking the Select button
    • dragging and dropping a file over a dropzone or over the control itself.

    Regards,
    Ivan Danchev
    Telerik
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  3. Linus
    Linus avatar
    18 posts
    Member since:
    Jul 2008

    Posted 13 Sep Link to this post

    I requested this feature in September 2015 without any response. Many of our users want to be able to upload a print screen directly without having to save the file to disc first (saves a lot of clicking). Maybe it is possible to go around this problem by combining the RadEditor with the AsyncUpload, but it would be very nice to have this as a feature in the AsyncUpload itself.

    https://feedback.telerik.com/Project/108/Feedback/Details/169842-add-paste-from-clipboard-support-to-radupload

  4. Ivan Danchev
    Admin
    Ivan Danchev avatar
    1253 posts

    Posted 18 Sep Link to this post

    Hello Linus,

    At present the feature request you have logged is not yet approved and scheduled for implementation. If it gets approved by the team this will be reflected in the request's status. Feature requests are prioritized based on multiple factors, one of which is their popularity. And in this case the request has just one "like". Given the total amount of logged requests and the number of approved requests, many of which are more anticipated, we would not be able to provide a time frame on its eventual approval and subsequent implementation.   

    Regards,
    Ivan Danchev
    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  5. John
    John avatar
    9 posts
    Member since:
    Sep 2013

    Posted 19 Sep in reply to Ivan Danchev Link to this post

    Hello, Ivan.

    Is there any means of pulling image data from a dataURL, to upload the file?  I was fiddling with the fileAPI and managed to set a dataURL based off my pasted image, via the following:

    http://strd6.com/2011/09/html5-javascript-pasting-image-data-in-chrome/

    But it seems to be the end of the line, for me.  I'll be adding to that feature request.

  6. Ivan Danchev
    Admin
    Ivan Danchev avatar
    1253 posts

    Posted 3 days and 20 hours ago Link to this post

    Hi John,

    As mentioned previously in this thread, at present the AsyncUpload requires a user action in order to upload a file. The upload is triggered either by selecting a file from the dialog opened when pressing the Select button or by dropping a file over the AsyncUpload or over a custom drop zone.
    As for sending the image dataURL information to the server and saving the file, there is a thread on stackoverflow, in which this scenario is discussed, so you could give the suggested approach a try.

    Regards,
    Ivan Danchev
    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top