subcontroller

ModelFactory in ASP.NET MVC to solve 'RenderPartial' issue

The 'RenderPartial()' method in ASP.NET MVC offeres a very low level of functionality. It does not provide, nor attempt to provide a true 'sub-controller' model *. I have an increasing number of controls being rendered via 'RenderPartial()'. They fall into 3 main categories : 1) Controls that are direct descendants of a specific ...

subcontroller/partialrequest and form action method

What I need to do is the following Set small login form (or any partial view) Complete login actions Get back to the SAME place (controller/action) user was before clicking LOGIN button Any of Partial Request/Subcontroller,RenderAction solutions offer this without any extra code to handle parent page url? ...

Using ASP.NET MVC SubControllers with action parameters?

I am experimenting with MvcContrib subcontrollers. Looking at the example in the source, your parent controller (HomeController) takes an action which takes the subcontroller (FirstLevelSubController) as a parameter: public class HomeController : Controller { public ActionResult Index(FirstLevelSubController firstLevel) { ...