2

I want to be able to create ViewUserControls with their own controllers so all the logic is contained completely. Right now, I have to wire up the ViewUserControls with the main controller and if I wanted to use these viewUserControls elsewhere, I would have to wire them up again. Is it possible to do what I'm hoping for?

1 Answer 1

1

What you are looking for are subcontrollers. There's been talk they will come in ASP.NET MVC 2 but there is no more news on that yet.

Right now you could check out MVC Contrib project. It has support for subcontrollers.

MvcContrib - now with SubController support for ASP.NET MVC

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.