It would seem that there is a size limit on the return value of a jQuery ajax call of about 70K. Can anyone confirm this? I am trying to return a longer string than in ASP.NET. The HTML that I am returning is displayed until I get to this size. After that, nothing is displayed on my page. I do not see the error message, and I do not see this documented anywhere. Here is my ajax call.
$.ajax(
{
type: "POST",
url: _urlGetCandidatesForAdvancedSearch,
data: searchCriteria,
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function (msg)
{
ShowSearchResults(msg.d);
},
error: function (xhr, ajaxOptions, thrownError)
{
HideBusyIcon();
alert(thrownError.toString());
}
}
);
Thanks Jay
source
share