Reputation: 13415
Currently I'm rewriting an application to use ASP.NET MVC4.
I'm using C# with razor views.
I have some legacy Web Forms pages that I'd like to include unmodified in my application.
I'd like them to appear seamlessly with in my _Layout
.
Is there a way I can render a Web Forms page within an MVC Layout that will still allow things like post backs to work?
Upvotes: 3
Views: 683
Reputation: 15253
Take a look at some of the information here:
Mixing Razor Views and WebForms Master Pages with ASP.NET MVC 3
Integrating ASP.NET MVC 3 into existing upgraded ASP.NET 4 Web Forms applications
Upvotes: 2