I already try input the config in web.config (But not working):
<system.web.extensions>
<scripting>
<webServices>
<jsonSerialization maxJsonLength="50000000"/>
</webServices>
</scripting>
</system.web.extensions>
I researched on the internet and saw that can happen because web.config setting will be ignored because you're using an internal instance of the JavaScriptSerializer.
In the forums it is recommended to do the following (Adding MaxJsonLength property):
protected override JsonResult Json(object data, string contentType, System.Text.Encoding contentEncoding, JsonRequestBehavior behavior)
{
return new JsonResult()
{
Data = data,
ContentType = contentType,
ContentEncoding = contentEncoding,
JsonRequestBehavior = behavior,
MaxJsonLength = Int32.MaxValue
};
}
As the Grid component of Syncfusion is compiled, I have no way to access and make a override. Any idea how to solve (without paging)?