2
Answers

Temp data loss after returning JSON type

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);
}
 
Answers (2)