Click here to Skip to main content
15,896,512 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
//My problem is the two asyncFileUpload Control can't get partial postback ?
//How should i solve this?
//Thanks


ASP.NET
<table>
<tr>
<td>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<contenttemplate> <asp:TextBox ID="txtID1" runat="server" AutoPostBack="True" />
<asp:RequiredFieldValidator ID="ValitxtID1 runat="server" ID" ControlToValidate="txtID1" Display="None" />
</contenttemplate>

</td>
</tr>
<tr>
<td>
<asp:UpdatePanel ID="UpdatePanel2" runat="server">
<contenttemplate>
<ajax:AsyncFileUpload ID="fileUpload1"  runat="server" />
</contenttemplate>

</td>
</tr>

<tr>
<td>
<asp:UpdatePanel ID="UpdatePanel3" runat="server">
<contenttemplate>
<ajax:AsyncFileUpload ID="fileUpload2"  runat="server" />
</contenttemplate>

</td>
</tr>


</table>
Posted
Updated 12-May-15 1:27am
v2

1 solution

set UPDATEMODE="CONDITIONAL" on each UpdatePanel.
See: http://www.asp.net/ajax/documentation/live/overview/updatepaneloverview.aspx[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900