sithara shibu

sithara shibu

  • NA
  • 16
  • 1.8k

mvc json serialisation

Mar 20 2019 12:15 AM
hi , I have a problem in json serialisation . Actually i am new to mvc3,jquery and json .net etc. i got a program to generate some reports. the reports are displaying in html table.in the controller i convert the datatable to json like this
 
string jsonData = JsonConvert.SerializeObject(dt);
//return Json(parent, JsonRequestBehavior.AllowGet);
return jsonData;
 
this is working in some systems but in my system if record exceed 21000 it will not show me the result. and the following is the code in angular
 
$http.post("../Batchwisestk/GetResult", JSON.stringify(dat)) .success(function (data, status, header, config) {
 
if the records more than 21 thousand it will not enter into the success portion. please help me

Answers (2)