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");