I have a site with some logic in an MVC project and other logic in an older webforms project.
Can I server.transfer from an mvc controller to a webforms page?
Or transfer in some other way?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use Redirect() method on a controller (which returns RedirectResult) but this will cause the return of HTTP 301 and a roundtrip to the server to the new location.
There is no Server.Transfer direct equivalent in MVC.
You could have used Html.RenderAction in your view, but it will be a bit nasty and requires your other action to be in MVC.