top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Explain Keep method in Tempdata in ASP.Net MVC?

0 votes
356 views
Explain Keep method in Tempdata in ASP.Net MVC?
posted Aug 29, 2016 by Jayshree

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

As explained above in case data in Tempdata has been read in current request only then "Keep" method has been used to make it available for the subsequent request.

@TempData["TestData"];
TempData.Keep("TestData");
answer Aug 30, 2016 by Shivaranjini
...