Error during serialization or deserialization using the JSON JavaScriptSerializer - loading page with RadTimeline

1 Answer 259 Views
Timeline
Ed
Top achievements
Rank 1
Ed asked on 22 Nov 2023, 11:56 AM

Hello everyone,

I'm encountering this issue when loading a page with the RadTimeline, the error is shown below:

"Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the value set on the maxJsonLength property."

 

This issue is occurring when this page is getting back a lot of entitles for the timeline, the MaxJsonLength is set in web.config but it seems this only applies to Web Services.

Unsure how to set this in the code as it looks like the serialization happens in the RadDataBoundControl if I'm not mistaken.

Any ideas how to to implement this MaxJsonLength in code?

 

Thanks for any help!

1 Answer, 1 is accepted

Sort by
0
Alexander
Telerik team
answered on 24 Nov 2023, 09:51 AM

Hi Ed,

In order to get a better overall picture of the current scenario at hand, would it be possible for you to share the current established Timeline component declaration?

This would be of great help during my conducted investigations.

In addition, I noticed that there is no active license associated with your account which inevitably limits our support service.  Hence, I would personally recommend renewing your license in order to get a hold of all the latest bug fixes, features, and support services the product provides.

A list of the available support plans can be found here:

Kind Regards,
Alexander
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages. If you're new to the Telerik family, be sure to check out our getting started resources, as well as the only REPL playground for creating, saving, running, and sharing server-side code.
Tags
Timeline
Asked by
Ed
Top achievements
Rank 1
Answers by
Alexander
Telerik team
Share this question
or