- //controller
- public JsonResult GetAllClient()
- {
- var product = GetClient().ToList();
- return Json(new { data = product }, JsonRequestBehavior.AllowGet);
- }
Error during serialization using json javascriprtserializer
- //WebConfig
- <system.web.extensions>
- <scripting>
- <webServices>
- <jsonSerialization maxJsonLength="102400"/>
- webServices>
- scripting>
- system.web.extensions>

Bhairab DuttRank #799 · 2.9K reputationPosted Jul 3, 2018, 11:17 PM EDT
Hope Its helps to you.
Thanks .
Packiaraj SanthiyaguRank #659 · 3.6K reputationPosted Jul 4, 2018, 12:17 AM EDT
Nanddeep NachanRank #38 · 35.2K reputationPosted Jul 3, 2018, 8:56 PM EDT
Guest User162 reputationPosted Jul 3, 2018, 10:07 PM EDT
Shrimant TelgaveRank #623 · 3.8K reputationPosted Jul 4, 2018, 2:12 AM EDT