使用JQuery或AjaxControltoolkit上传文件多个文件 [英] Uploading files Multiple files using JQuery or AjaxControltoolkit

查看:106
本文介绍了使用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上传文件多个文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆