Question

I see several articles on the interwebs about MVCContrib's subcontroller feature, but I don't see anything on the codeplex site about it.

Has this feature been supplanted by something in MVC2?

Whats the best approach for rendering controls with their own data pipeline (submit to their own controller, display data from their own controller) in MVC?

Was it helpful?

Solution

MVC2 Beta has Html.RenderAction, which allows you to call "children" actions - I believe this is pretty much the same as MVCContrib's subcontrollers.

(see http://haacked.com/archive/2009/11/18/aspnetmvc2-render-action.aspx for details)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top