I have an AJAX AsycFileupload in my asp page. When I uploaded a file to a folder "upload", an error message was displayed in the page "Object doesn't support this property or method". //in the script tag
function uploadError(sender, args)
{
document.getElementById('lbl_status').innerText = args.get_fileName() + " "+ args.get_errorMessage();
}
<asp:AsyncFileUpload ID="AsyncFileUpload1" width="400px"
OnClientUploadStarted="startUpload" OnClientUploadComplete="uploadComplete"
OnClientUploadError="uploadError" ThrobberID="Throbber"
runat="server" onuploadedcomplete="AsyncFileUpload1_UploadedComplete"
UploadingBackColor="#66CCFF" CompleteBackColor="White"
ErrorBackColor="#FF3E3E"/>
<asp:Label ID="Throbber" runat="server" Style="display:none">
<img src="Images/indicatorblue.gif" align="middle" alt="loading"/>
</asp:Label>
<asp:Label ID="lbl_status" runat="server" Style="font-family: Arial;font-size: small;">
</asp:Label>
Thank you for any help..