Changed ImportModelStateFromTempDataAttribute to check if the result is ViewResultBase instead of ViewResult so it includes PartialViewResults like the comment implies.