I am sending custom made html from webmethod (code-behind) back to the Ajax call to be rendered on SharePoint webpart.
It gives error 500, and i have tried to hardcode the result so that I am sure it is not data-mishmatch.
I have tried to increase the size in web.config but no luck.
SharePoint - Ajax call
Henrik Ravn
21
Reputation points
Hi,
I have a Web Part and sending a request from Ajax call to a web method.
How is it possible to increase the limit for data returned from web method to the Ajax call?
/Henrik
Microsoft 365 and Office SharePoint Server Development
1,658 questions
2 answers
Sort by: Most helpful
-
Henrik Ravn 21 Reputation points
2021-05-27T06:45:04.617+00:00 -
Henrik Ravn 21 Reputation points
2021-05-27T09:22:57.93+00:00 If my data is small the client/server call is working fine, so it must have something to do with the size of data, I think