使用JQuery或AjaxControltoolkit上传文件多个文件

编程入门 行业动态 更新时间:2024-10-13 20:18:54
本文介绍了使用JQuery或AjaxControltoolkit上传文件多个文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

请帮助我,我需要将用户选择的文件上传到服务器.我已经完成了,但是问题是当我要上传文件时,页面将被刷新,而其他控件中的值将丢失. 因为基于上传响应,我还需要执行其他一些任务. 在此先感谢

Please help me, I need to Upload user selected files to the server. I have done it, but the problem is when I am going to upload file, page is going to be refreshed, and the values in other controls are lost. Because based on the upload response I have to do some other tasks. Thanks in advance

推荐答案

据我所知,您仍然无法异步上传文件... For as far as I know, you''r still unable to upload files asynchronously...

使用更新面板和AjaxToolkit: 您是否看过此示例并尝试过: AsyncFileUpload演示 [ ^ ] 发布此消息后,以下文章应该会有所帮助: Ajax更新(通过更新面板)后对页面控件的JavaScript访问 [ ^ ] 或 使用jQuery: 您是否看过此示例并尝试过:教程:多文件上传魔术 [ ^ ] Ajax文件上传 [ ^ ] Using Update Panel & AjaxToolkit: Did you look at this sample and tried: AsyncFileUpload Demonstration[^] Post this, following article should help: JavaScript Access to Page Controls after Ajax Update (via Update Panel)[^] OR Using jQuery: Did you look at this sample and tried: Tutorials:Multiple File Upload Magic[^] Ajax File Upload[^]

更多推荐

使用JQuery或AjaxControltoolkit上传文件多个文件

本文发布于:2023-11-24 23:48:10,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1627409.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:多个   上传文件   文件   JQuery   AjaxControltoolkit

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!