How RedirectToAction which returna partial view can return a full view?

asp.net-mvc, asp.net-mvc-3, model-view-controller, partial-views

Solution

How do I get the PartialView to show the whole form and not just the PartialView using a RedirectToAction that goes to an action that which returns a PartialView?

You can't.

If you redirect to an action returning a `PartialView` how in the name of do you expect it to return a full view?

Redirect to an action returning a `View`.

Problem

I am doing a redirect to an action which in turn displays the content within a `PartialView` ``` return PartialView(data); ``` I do the Redirect as such: ``` return RedirectToAction("SpkAction", new { id = ID}); ``` The redirect works fine and I do get to the `SpkAction` corrrectly. But when the PartialView is rendered it ONLY shows the `PartialView` and not the whole form. How do I get the `PartialView` to show the whole form and not just the `PartialView` using a `RedirectToAction` that goes to an action that which returns a `PartialView`?

Original source