本文介绍了如何在asp.net MVC中上传带有进度指示器的多个选定文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 大家好! 简而言之,我正在尝试发布IEnumerable< HttpPostedFileBase>从视图到控制器动作。然后开始上传过程,同时通知用户正在上载哪个文件(file_name)。示例代码将更加赞赏。 请帮助我..........感谢提前Hi Everybody!In brief, I am trying to POST the IEnumerable <HttpPostedFileBase> from view to controller action. And then start uploading process while notifying to user which file (file_name) in being uploaded. sample code will be more appreciated.Please help me.......... THANKS in advance推荐答案 <div style="padding:10px"> <input type="file" name="files" id="file" multiple="multiple" /> </div> <div id="progressPanel" style=" overflow:auto; float:left"> <div style="float:left;padding:10px"> <input type="submit" name="Upload" value="Upload" /> </div> 当我点击提交按钮,上传过程将继续,然后在UI上显示正在上传的图像(图像名称)。 like:2 of 15(image_name.jpeg upload ....) 再次感谢大家............... when i click on submit button, uploading process will continue and then which image is being uploaded is shown(image name) on UI.like: 2 of 15 (image_name.jpeg uploading....) Thanks again everybody............... 这篇关于如何在asp.net MVC中上传带有进度指示器的多个选定文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
10-29 20:20