Error during serialization or deserialization using the JSON
JavaScriptSerializer. The length of the string exceeds the value set on
the maxJsonLength property.
To resolver the above error
var rslt = Json(yourList, JsonRequestBehavior.AllowGet);
rslt.MaxJsonLength = int.MaxValue;
return rslt;
No comments:
Post a Comment