使用asyncpostbacktrigger时无法获取文件 [英] File not get when use asyncpostbacktrigger
问题描述
我在一个asp:UpdatePanel中使用mnultiple asp:UpdatePanel所以,我不能使用postbacktrigger
我尝试过:
< asp:AsyncPostBackTrigger ControlID =btnUploadImageEventName =Click/>
< asp:PostBackTrigger ControlID = btnUploadImage/>
i am using mnultiple asp:UpdatePanel in one asp:UpdatePanel so, i can't used postbacktrigger
What I have tried:
<asp:AsyncPostBackTrigger ControlID="btnUploadImage" EventName = "Click"/>
<asp:PostBackTrigger ControlID="btnUploadImage" />
推荐答案
FileUpload控件设计用于仅在回发场景中,而不是在部分页面渲染期间的异步回发场景中使用。
The FileUpload control is designed to be used only in postback scenarios and not in asynchronous postback scenarios during partial-page rendering.
这就是问题.. 。
但是有几种控制/解决方案可以解决问题 - 使用Google 12665681 ...
That's the problem...
However there are several controls/solutions that solve the problem - use the Google 12665681...
这篇关于使用asyncpostbacktrigger时无法获取文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!