Hi,
I have a collection of about 500 classes I need to display in Telerik RadGrid.
The classes have a parent-child relationships data.
I have configured the grid like in examples for self-reference hierarchy, but when I run the application I get the following error:
Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the value set on the maxJsonLength property.
The Parent property: GrpParentDeptId
Child property: GrpDeptId
I don't know why is this happening. I have only 500 rows!!!
I also tried setting the
I am sending you the attachment with the views, code-behind, and the data xml I am pooling the data from.
Please help.
:-(
I have a collection of about 500 classes I need to display in Telerik RadGrid.
The classes have a parent-child relationships data.
I have configured the grid like in examples for self-reference hierarchy, but when I run the application I get the following error:
Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the value set on the maxJsonLength property.
The Parent property: GrpParentDeptId
Child property: GrpDeptId
I don't know why is this happening. I have only 500 rows!!!
I also tried setting the
<system.web.extensions> <scripting> <webServices> <jsonSerialization maxJsonLength="2147483644" /> </webServices> </scripting> </system.web.extensions>but with no luck.
I am sending you the attachment with the views, code-behind, and the data xml I am pooling the data from.
Please help.
:-(