Copy Paste file to upload using Ajax Control toolkit AjaxFileUpload

百般思念 提交于 2019-12-25 12:41:49

问题


I have implemented ASP.Net AjaxControlToolkit AjaxFileupload control to upload files in my ASP.Net web application.

It works fine,it uploads file by browsing,by drag and drop.

How can I let users to upload file by 'Copy and Paste' using this control.

Can this be done?

Please suggest if there is a workaround.


回答1:


You can access the clipboard when someone pastes something on your page but that doesn't give you access to the file in the file system.

If you want to be able to upload a file by Copy & Paste you have other solutions like flash, Java applet or ActiveX control. You can look into this answer for further information:

https://stackoverflow.com/a/8481420/1124690



来源:https://stackoverflow.com/questions/33183202/copy-paste-file-to-upload-using-ajax-control-toolkit-ajaxfileupload

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!