文件上传控件始终显示为假? [英] File Upload control showing always false?

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

问题描述

海每个人

我的aspx页面中有UpdatePanel.
在那个UpdatePanel中,我有另一个updatepanel,两种更新模式都是有条件的.
我在子更新面板中有一个模型弹出扩展器.
在模型弹出控件中,我有一个文件上传控件,并且有一个按钮.

在按钮中,单击事件文件上载控件的HasFile属性始终显示为false.

我尝试使用触发器,但无法正常工作.

如果我放置触发按钮,单击事件将不会触发.

Hai Every one

I have UpdatePanel in my aspx page.
In that UpdatePanel i have another updatepanel both update mode is conditional.
I have a model pop up extender in child update panel.
In the model popup control i have a file upload control and one button is there.

In the button click event file upload control HasFile property always showing false.

I tried with triggers but it is not working.

If i put a trigger button click event is not firing.

推荐答案

我在这里回答了类似的问题-
I answered a similar question here - fileupload within updatepanel not working using asynchronizepostback trigger[^].

Let me know if that helps!


这篇关于文件上传控件始终显示为假?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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