I have a situation where I am on a controller called customer, and I have an account method which I called using a customer number as the identifier.
I then have an ActionLink
that takes me to Arrears task with the task form in a partial view of arrears index. on loading this I store the Request.ServerVariables["http_referer"]
so I can use that to return.
When I then use Return Redirect()
with the referrer it does the redirect but loads in the partial section like it was loading in an iframe
.
Can anyone point me to how to redirect the whole page and not only the partial?