JSON Serialization error, when grouping

1 reply. Last post: April 11, 2011 5:26 AM by Handy Surya
Tags :
  • New Discussion
  • New Question
  • New Product Feedback
NikolayMember

Hello!

I have webgrid with about 18000 rows. There is column ProductId, the count of ProductIds is closed to this value (18000). When webgrid is grouping this data by the ProductId column. I see error from the webgrid "Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the value set on the maxJsonLength property." I tried to increase value of maxJsonLength in web.config. But it does not solve the problem. (In this case, the webgrid just hung.) Is there any solution, except just not group by ProductId?

Thank you!

All times are GMT -5. The time now is 8:21 PM.
Previous Next