如何在UpdatePanel内部使用FileUpload控件 [英] How to use fileupload control inside an updatepanel

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

问题描述

我需要上传一个文件.我已使用fileupload控件浏览文件.
当我上传此文件时,fileupload文件为空.在更新面板中还有其他浏览文件的选项吗?

请帮助我.

I need to upload afile. I have used a fileupload control for browsing the file.
The fileupload file is empty when I upload this file. Are there any other options for browsing file inside update panel?

Please help me.

推荐答案

使用PostBackTrigger控件仅对文件上传控件强制执行回发.

在UpdatePanel中上传文件,ASP.NET AJAX [ ^ ]
use a PostBackTrigger Control to force a postback only for the File Upload Control.

File Upload in UpdatePanel, ASP.NET AJAX[^]


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

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