Last post Jan 23, 2015 07:10 AM by MostafaTaghipour
Jan 22, 2015 07:55 AM|MostafaTaghipour|LINK
i try to use ajaxuploadfile to upload multi file but i got bellow error
Jan 22, 2015 03:47 PM|MostafaTaghipour|LINK
Jan 22, 2015 04:04 PM|jiveabillion|LINK
Expand the response in the console so you can see what the actual response from the server is. That might give you some more insight as to why it cannot be deserialized. You can paste the response body here if you would like us to take a look
Jan 23, 2015 01:53 AM|Edwin Guru Singh|LINK
As per your case ,I have been shared my suggestion below :
1.Check your AjaxToolkit version?
2.Check the MaximumNumberOfFiles property ?
Some sample code below :
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:AjaxFileUpload ID="AjaxFileUpload1" runat="server" AllowedFileTypes="jpg,jpeg,png,gif"
protected void File_Upload(object sender, AjaxFileUploadEventArgs e)
string filename = e.FileName;
string strDestPath = Server.MapPath("~/Documents/");
AjaxFileUpload1.SaveAs(@strDestPath + filename);
If not yet solved, Could you post your corresponding code & error in details ?
Jan 23, 2015 07:10 AM|MostafaTaghipour|LINK
hi edwin, thanks for your answering,
i exactly replace your code in my project but i still got above error,
my codes already works grate but i don't know why it's not work now.