i have a master page called layout.cshtml and a page called testpage.cshtml.
On this page i have a RenderAction that returns a PartialView.
Is it possible to return a RedirectToAction inside the Action that returns a PartialView?
Im getting a “child actions are not allowed to perform redirect actions” exception and i would like to know if its caused by this reason.
Looks logical that you should not redirect from a “UserControl” in MVC right?
No thats not possible. You can’t redirect a part of the page.
What are you trying to achieve? Maybe there is another solution to your problem.