- //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 DuttPosted Jul 4, 2018, 3:17 AM
Hope Its helps to you.
Thanks .
Shrimant TelgavePosted Jul 4, 2018, 6:12 AM
Packiaraj SanthiyaguPosted Jul 4, 2018, 4:17 AM
Guest UserPosted Jul 4, 2018, 2:07 AM
Nanddeep NachanPosted Jul 4, 2018, 12:56 AM