I have lost temp data value after returning JSON type
Just like below :
public ActionResult OnlineFormAction(string test)
{
//some other code
TempData["TestTempData" + yournumber] = model;
return Json(true, JsonRequestBehavior.AllowGet);
}

MayankPosted Jan 18, 2017, 5:00 AM
alert('@TempData["TmpData"]');
},
Chetan RanpariyaPosted Jan 17, 2017, 1:03 PM