拖放文件上传 [英] Drag and Drop File Upload
问题描述
我正在尝试为MVC模式创建拖放上传控件。我可以从控制器中删除文件和访问权限。但是我从谷歌获取的控件是所有浏览器都可以正常工作,但不能在IE中工作。请你给我一个拖放链接(IE版本)。
Hi,
I am trying to create a drag and drop upload control for MVC pattern.Where i can drop the files and access from the controller.But the Control whichever i am getting from google is working fine with all browser but not in IE.Could you please provide me a link on drag and drop (IE version).
推荐答案
HTML5提供了一个拖动& drop API以及文件API [ ^ ]。
http://www.thebuzzmedia.com/html5-drag-and-drop-and-file-api-tutorial 和 http://html5demos.com/file-api
不幸的是,IE9不支持File API,目前还不清楚IE10中将提供多少支持。
HTML5 provides a drag & drop API as well as File API[^].
http://www.thebuzzmedia.com/html5-drag-and-drop-and-file-api-tutorial and http://html5demos.com/file-api
Unfortunately IE9 doesn''t support the File API and it''s unclear how much support will be available in IE10.
据我所知ie9不支持File api ,但只能拖放。即10可能支持File api。
http://www.thebuzzmedia.com/html5-drag-and-drop-and-file-api-tutorial/
尽管你现在可以解决这个问题 - 试试: https://github.com/blueimp/jQuery -File-Upload http://aquantum-demo.appspot.com/file-upload
As far as I understand ie9 doesnt support the File api, but only drag and drop. ie 10 will possibly support the File api.
http://www.thebuzzmedia.com/html5-drag-and-drop-and-file-api-tutorial/
although you may be able to work around this now - try: https://github.com/blueimp/jQuery-File-Upload http://aquantum-demo.appspot.com/file-upload
我同意IE9不支持拖放文件上传功能。
但我发现一个应用程序甚至可以在IE9中运行。
这是链接。 http ://proger.i-forge.net/FileDrop_-_cross-browser_JavaScript_Drag-Drop_file_upload/7CC [ ^ ]
问候,
Prakash Rajan S
Ya i agree that IE9 doesnot support Drag and Drop file upload functionality.
But still i found a application which works even in IE9.
Here is the link.http://proger.i-forge.net/FileDrop_-_cross-browser_JavaScript_Drag-Drop_file_upload/7CC[^]
Regards,
Prakash Rajan S
这篇关于拖放文件上传的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!