如何在不使用updatepanel的情况下停止刷新页面 [英] How to stop refreshing page without using updatepanel

查看:99
本文介绍了如何在不使用updatepanel的情况下停止刷新页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我的gridview有updatepanel,其中包含fileuploader....通过使用updatepanel,所选内容将得到刷新,但fileuploader无法正常工作...

因此,要解决此问题,我需要一些其他控件来代替使用updatepanel ...
谁能帮我...


问候
vivek

Hi all,
I have updatepanel for gridview which contains fileuploader....By using updatepanel the selected content will get refresh,but fileuploader is not working...

So recover this problem,i need some other control instead of using updatepanel...
Can anyone help me...


Regards
vivek

推荐答案

使用updatepanel可以刷新选定的内容,但fileuploader无法正常工作
那是众所周知的事情. Fileupload控件不适用于Update Panel.

使用UpdatePanel有两个选项,
1)仅使用PostbackTrigger上传文件时,要么具有完整的回发

2)使用AsyncFileUpload控件,请看这里: AsyncFileUpload演示 [教程:多种文件上传魔术 [ ^ ]
Ajax文件上传 [使用jQuery的AJAX多文件上传表单 [
By using updatepanel the selected content will get refresh,but fileuploader is not working
That is a known thing. Fileupload control does not work with Update Panel.

There are two options using UpdatePanel,
1) either have a complete postback just in the case of file upload using PostbackTrigger
OR
2) use AsyncFileUpload control, look here: AsyncFileUpload Demonstration[^]


OR

Using jQuery, look at this sample and try:
Tutorials:Multiple File Upload Magic[^]
Ajax File Upload[^]
AJAX Multiple File Upload Form Using jQuery[^]


这篇关于如何在不使用updatepanel的情况下停止刷新页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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