Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

RedirectToAction to different controller without changing URL

Is it possible to redirect to from one controller(A) action to another controller(B) action without changing URL?

I tried using RedirectToAction but URL in the browser changes

like image 576
Mag Avatar asked Oct 02 '13 19:10

Mag


1 Answers

Here you go, this ought to do it if I'm understanding you correctly.

How to simulate Server.Transfer in ASP.NET MVC?

like image 62
John Wu Avatar answered Oct 04 '22 08:10

John Wu