UpdatePanel中的文件上传控件 [英] fileupload control in UpdatePanel

查看:89
本文介绍了UpdatePanel中的文件上传控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

您能否让我知道UpdatePanel中fileupload控件的用途是什么,因为通常FileUpload控件无法在UpdatePanel中完成部分回发,因此需要完整回发.

因此,为了使这项工作有效,我们使用了回发触发器,我想知道通过使用此触发器将整个页面都发回还是不发回.

如果不是,则在UpdatePanel中使用fileupload控件很有用.

如果没有,请您解释一下如何在不使用Ajaxtoolkit控件的情况下实现部分回发.

谢谢.

Prathap.

Hi All,

Can you please let me know what is the use of fileupload control in UpdatePanel because normally FileUpload control does not work with partial postback which is done in UpdatePanel and it requires a full postback.

So in order to make this work we use Postback trigger and i would like to know by using this will the whole page be postedback or not.

If no, then using fileupload control in UpdatePanel is useful.

If no, can u please explain how can i achieve partial postback without using Ajaxtoolkit controls.

Thanks.

Prathap.

推荐答案

u必须使用触发器,在触发器u中可以分配controlID和eventname
< trigger>< asp:asynprocess controlid =" eventname =" xmlns:asp =#unknown">
u have to use triggers,in trigger u can assign controlID and eventname
<trigger><asp:asynprocess controlid="" eventname="" xmlns:asp="#unknown">


有一个新的AjaxControlToolkit Ansyc上传控件: AsyncFileUpload演示 [教程:多种文件上传魔术 [ ^ ]
Ajax文件上传 [使用jQuery的AJAX多文件上传表单 [
There is a new AjaxControlToolkit''s Ansyc upload control: 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天全站免登陆