复制粘贴文件以使用Ajax Control工具箱AjaxFileUpload上传 [英] Copy Paste file to upload using Ajax Control toolkit AjaxFileUpload
问题描述
我已经实现了ASP.Net AjaxControlToolkit AjaxFileupload
控件以将文件上传到我的ASP.Net Web应用程序中。
它工作正常,可以通过浏览,拖放来上传文件。
我如何让用户使用此控件通过复制和粘贴功能来上传文件。 / p>
可以这样做吗?
请建议是否有解决方法。
当有人在您的页面上粘贴某些内容但您无法访问文件系统中的文件时,您可以访问剪贴板。
如果您希望能够通过复制和上传文件粘贴其他解决方案,例如Flash,Java applet或ActiveX控件。您可以查看此答案以获取更多信息:
https:// stackoverflow .com / a / 8481420/1124690
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.
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
这篇关于复制粘贴文件以使用Ajax Control工具箱AjaxFileUpload上传的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!