<configuration>
<system.web.extensions>
<scripting>
<webServices>
<jsonSerialization maxJsonLength="2147483644" />
</webServices>
</scripting>
</system.web.extensions> 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
}; Hi Merlon,
We have already provided Page Virtualization support for loading large reports and internally we have set the default json length to render reports quickly. So we request you to enable the pagevirtualization option for loading large reports as show in below Code Snippet:
|
@{Html.Syncfusion().ReportViewer("ViewerId", (ReportViewerModel)ViewData["ReportModel"]).EnablePageVirtualization(true).Render();} |
Here is a sample that works as expected.
http://www.syncfusion.com/downloads/support/directtrac/123979/ReportViewerMVC_7a6bbdca.zip
Please let us know if you have any questions.
Regards,
Anandakumar S