Views: 8.1K
Replies: 1
Archived
|
How to use WebForm basepage in MVC?Hi all. In the Design Pattern Framework there is a webform BasePage that inherrits System.Web.UI.Page.
How would I use BasePage if I convert from WebForms to MVC? In MVC, the controller inherrits from System.Web.MVC.Controller. Zhang Zhao, Jan 20, 2012
|
|
Reply 1Zhang:
I would add similar functionality in the BaseController, a controller that you derive from System.Web.MVC.Controller. Then, each of your controllers would derive from BaseController, rather than Controller. Hope this helps. Dan Dan McMillan, Jan 28, 2012
|