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
ajaxToolkitasp.net
Ask Me About: Kentico, XHTML, CSS, Javascript, Asp.Net C#, SQL Server. Kendo UI and MVC
Hi Mostafa,
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 : Default.aspx :
Member
16 Points
105 Posts
ajaxFileUpload " The data does not correspond to valid JSON. Parameter name: data" error
Jan 22, 2015 07:55 AM|MostafaTaghipour|LINK
hello guys,
i try to use ajaxuploadfile to upload multi file but i got bellow error
ajaxToolkit asp.net
Member
16 Points
105 Posts
Re: ajaxFileUpload " The data does not correspond to valid JSON. Parameter name: data" error
Jan 22, 2015 03:47 PM|MostafaTaghipour|LINK
any body?
ajaxToolkit asp.net
Contributor
4042 Points
1173 Posts
Re: ajaxFileUpload " The data does not correspond to valid JSON. Parameter name: data" error
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
ajaxToolkit asp.net
Learn the LifeCycle
Star
8544 Points
1376 Posts
Re: ajaxFileUpload " The data does not correspond to valid JSON. Parameter name: data" error
Jan 23, 2015 01:53 AM|Edwin Guru Singh|LINK
Hi Mostafa,
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 :
Default.aspx :
Default.aspx.cs :
If not yet solved, Could you post your corresponding code & error in details ?
--
with regards,
Edwin
ajaxToolkit asp.net
Edwin
Member
16 Points
105 Posts
Re: ajaxFileUpload " The data does not correspond to valid JSON. Parameter name: data" error
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.
ajaxToolkit asp.net