Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
780
Error using the JSON JavaScriptSerializer
posted

Hello,

We are getting the following error when we are grouping by one column using UltraWebGrid v 11.2 framework 4.0

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

We set the maxJsonLength property to a large value in the Web.config file and we get the same error.

We have just 295 records. We are using Virtual Scrolling.

.DisplayLayout.LoadOnDemand = Infragistics.WebUI.UltraWebGrid.LoadOnDemand.Xml

.DisplayLayout.XmlLoadOnDemandType = Infragistics.WebUI.UltraWebGrid.XmlLoadOnDemandType.Virtual

 

When we group by a column we change these properties (I also tried to comment this two lines and I got the same error):

.DisplayLayout.LoadOnDemand = Infragistics.WebUI.UltraWebGrid.LoadOnDemand.NotSet

.DisplayLayout.XmlLoadOnDemandType = Infragistics.WebUI.UltraWebGrid.XmlLoadOnDemandType.Synchronous

 

How can we solve this problem?

Thanks in advance.

Parents
No Data
Reply Children