How can I render a user control in asp.net mvc?
is my only option to use the mvctoolkit?
I am using mvc 2.0 now.
How can I render a user control in asp.net mvc?
is my only option to use the mvctoolkit?
I am using mvc 2.0 now.
The concept of user controls in ASP.NET MVC are partials, which are shared views.
MVC Toolkit does seem to be the closest approach I've seen, but what's wrong with using RenderPartial
instead?
Further:
In this article, David Ebbo (creator of T4MVC) discusses user controls in ASP.NET MVC. Have a look at this and see if anything in there might be useful to your situation.