You can also use Keep() method to TempData.
TempData items are removed after they are read. When a key is marked for keep, the key is retained for the next request. As per MSDN TempData.Keep()
Marks all keys in the dictionary for retention.
Just call TempData.Keep()
before redirection
Posted On:
21-Dec-2015 23:45