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
?
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
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With