Link to home
Start Free TrialLog in
Avatar of resourcesys
resourcesys

asked on

Can you fully integrate a webform into an MVC view?

Hi all,

We are building an MVC website, and we would like to include some legacy functionality from a WebForms site.

So, we have our MVC view and we can load a webform into a DIV on the page, but when we post the webform, it goes to an incorrect url.

We have tried setting the postbackurl property of a button on the webform but this makes no difference.

Has anyone tried to do something similar before, and if so, did you have any success?

Is this even possible?

Any advice is much appreciated.

resourcesys.
Avatar of Noah
Noah
Flag of Singapore image

Hi there! :)

Please refer to the following link. It is a blog which discusses the combination of ASP.NET WebForms and MVC together into one project.

Reference: https://blogs.taiga.nl/martijn/2009/06/03/aspnet-webforms-and-mvc-together-in-one-project/
Avatar of resourcesys
resourcesys

ASKER

Hi Noah,

This wasn't really helpful, as we have no problem running both WebForms and MVC in the same project, but we appreciate your response.

Thank you.

resourcesys.
ASKER CERTIFIED SOLUTION
Avatar of resourcesys
resourcesys

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial