在updatepanel内的FileUpload [英] FileUpload inside updatepanel

查看:94
本文介绍了在updatepanel内的FileUpload的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我动态创建了更新面板.我在updatepanel内添加了fileupload控件,后者也是动态的,位于代码后面.fileupload在更新面板内不起作用.我发现如果我们添加异步回发触发器,它将起作用.任何人都可以向我提供代码如何在后面的代码中添加异步回发触发器.

Hi,
I created update panel dynamically.I added fileupload control inside updatepanel that is also dynamic that is in code behind.Fileupload is not working inside update panel.I found that if we add asynchronous post back trigger it will work.can anyone provide me the code how to add asynchronous post back trigger in code behind.

推荐答案

pdmkosireddi写道:
pdmkosireddi wrote:

我发现,如果我们添加异步回发触发器,它将起作用

I found that if we add asynchronous post back trigger it will work



您在哪里找到的?

FileUpload控件需要 Full 回发,才能在更新面板中使用.
阅读与UpdatePanel控件不兼容的控件
部分
[^ ]



Where did you find this?

FileUpload control needs a FULL postback in order to work inside an update panel.
Read the section Controls that Are Not Compatible with UpdatePanel Controls
[^]


这篇关于在updatepanel内的FileUpload的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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