【问题标题】:Drag and Drop file upload without using file upload control in asp.net在 asp.net 中不使用文件上传控件拖放文件上传
【发布时间】:2012-02-28 02:48:13
【问题描述】:

我想在不使用文件上传控件的情况下将文件从桌面拖放到 Web 应用程序中并在服务器中上传文件。我在使用 Visual Studio 2005 的 asp.net 中需要这个。在 Visual Studio 2005 中是否可以拖放文件上传过程。请紧急...

【问题讨论】:

    标签: c# jquery asp.net


    【解决方案1】:

    看看使用 jQuery 的 Uploadify 或基于 vanilla JavaScript 的 Plupload

    【讨论】:

      【解决方案2】:

      你可以试试 HTML5: http://demo.tutorialzine.com/2011/09/html5-file-upload-jquery-php/

      或 Jquery http://code.google.com/p/dnd-file-upload/wiki/howto https://github.com/blueimp/jQuery-File-Upload

      【讨论】:

      • 谢谢。但我需要在asp.net(Visual Studio 2005)中拖放文件上传过程
      • 那么谁阻止你在 asp.net 中使用 jquery。
      • 我们可以在asp.net中使用jquery。但是该示例包含像 $("#drop-div").dropzone({url : "localhost:8080/upload.php"}); 这样的行。我想上传上传文件夹中的文件。
      • 没有必要搜索到真正想要的代码。您必须进行更改才能使其按照您的要求工作。如果你使用过 jqeury/ajax,你真的可以让它为你工作。否则这个链接对你来说是陌生的..
      猜你喜欢
      • 2011-08-16
      • 2013-08-24
      • 2013-11-10
      • 1970-01-01
      • 2011-05-16
      • 2013-01-27
      • 1970-01-01
      相关资源
      最近更新 更多