文件上传控件和触发器的Ajax问题. [英] Ajax problem with file upload controls and with triggers.
问题描述
我正在尝试在具有文件上传控制功能的页面上使用ajax..
早些时候,当我在更新面板中放置fileupload控件时..它甚至没有插入数据.但是在我使用触发器之后.然后插入数据.但是带有添加产品按钮(正在插入数据)的ajax的目的不起作用..
这是我在更新面板中引入触发器的方式
i am trying to use ajax with on a page with file upload control..
earlier when i put the fileupload control in update panel.. it even not inserting the data. but after i used triggers. then data is inserted. but the purpose of ajax with add product buttion( which is inserting the data) is not working..
here is the way i introduce triggers in update panel
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<Triggers>
<asp:PostBackTrigger ControlID="btnaddproduct" />
</Triggers>
页面应该保持不变,但我认为Ajax脚本管理器和更新面板不能完全满足那里的功能.谁能解决问题
page should remain still but i think ajax script manager and update panel is not fullfilling there functionality . can anyone sort out the problem
推荐答案
尝试以下操作:
更新中的FileUpload控件使用ASP.NET AJAX的面板
在ASP.Net内部使用FileUpload控件AJAX UpdatePanel控件
在UpdatePanel中上传文件, ASP.NET AJAX
UpdatePanel,ASP中的文件上传.NET,例如Gmail
Try following:
FileUpload Control in Update Panel using ASP.NET AJAX
Using FileUpload Control inside ASP.Net AJAX UpdatePanel Control
File Upload in UpdatePanel, ASP.NET AJAX
FileUpload in UpdatePanel, ASP.NET, like Gmail
这篇关于文件上传控件和触发器的Ajax问题.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!