I'm posting a form from a partial view which is rendered via Html.RenderAction
and I want after the form post to redirect to the same route from where the request came.
public ActionResult Index()
{
return PartialView();
}
[HttpPost]
public ActionResult Index(FormModel input)
{
...
return //Redirect to the same route
}
anybody knows how to do that ?