Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
2
Answers
Temp data loss after returning JSON type
Upendra Pratap Shahi
7y
282
1
Reply
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);
}
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
How to change the Button color which in the nested Gridview
How to create Dynamic menu bar in asp.net with responsive ?