How do build a composite or template control in ASP.Net MVC, or the equivelant?

Posted by Jason Jackson on Stack Overflow See other posts from Stack Overflow or by Jason Jackson
Published on 2010-05-10T01:08:55Z Indexed on 2010/05/10 1:18 UTC
Read the original article Hit count: 462

In our current ASP.Net Webforms application we have several composite/template server controls that only exist for a common look and feel. For example, we have a panel control that has a title, a place for buttons related to the contents of the panel, and of course the contents. How is this best accomplished in MVC? RenderPartial doesn't get done what I need here. Should I still be using the same controls, but just on a view page? These controls don't really do anything on postback, they are only there for a common look and feel.

© Stack Overflow or respective owner

Related posts about asp.net-mvc-2

Related posts about asp.net-mvc