Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Created Issue: Ajax 4.1.5116.0 AsyncFileUpload error: "Unhandled Exception: The file attached is invalid" [27060]

$
0
0
I upgraded to ajax 4.1.5116.0 and started to get the error: "Unhandled Exception: The file attached is invalid".

<asp:UpdatePanel runat="server" ID="uPnlAttachments" UpdateMode="Conditional">
<ContentTemplate>
<asp:Button runat="server" ID="btnUpdate" OnClick="btnUpdate_Click" Text="Update List"
Style="display: none" />
<asp:Repeater runat="server" ID="repeaterAttachments">
<HeaderTemplate>
<table>
<tr>
<td>
</td>
<td>
Attachments:
</td>
</tr>
</HeaderTemplate>
<ItemTemplate>
<tr>
<td>
<asp:ImageButton runat="server" ID="imgButtonDelete" ImageUrl="~/Images/delete.png"
Height="20" OnClick="imgButtonDelete_Click" />
</td>
<td>
<asp:LinkButton runat="server" ID="lnkBtnFile" Text='<%# Eval("FileName") %>' OnClick="lnkBtnFile_Click"
PostBackUrl=""></asp:LinkButton>
<asp:HiddenField runat="server" ID="hfAttachmentId" Value='<%# Eval("Id") %>' />
</td>
</tr>
</ItemTemplate>
<FooterTemplate>
<tr>
<td>
</td>
<td>
<asp:AsyncFileUpload ID="afuAttachment" runat="server" EnableViewState="true" OnClientUploadComplete="ClientUploadComplete"
ThrobberID="spanUploading" ClientIDMode="AutoID" OnUploadedComplete="afuAttachment_OnUploadedComplete" />
<span id="spanUploading" runat="server">
<image src="../../Images/ajax-loader.gif"></image>
</span>
</td>
</tr>
</table>
</FooterTemplate>
</asp:Repeater>
</ContentTemplate>
</asp:UpdatePanel>


Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>