ASP.NET MVC Generic Partial

Posted by gnome on Stack Overflow See other posts from Stack Overflow or by gnome
Published on 2010-05-14T15:28:44Z Indexed on 2010/05/14 15:34 UTC
Read the original article Hit count: 167

Filed under:
|

Is is possible to have a partial view inherit more than one model? I have three models (Contacts, Clients, Vendors) that all have address information (Address). In the interest of being DRY I pulled the address info into it's own model, Addresses. I created a partial create / update view of addresses and what to render this in other other three model's create / update views.

© Stack Overflow or respective owner

Related posts about asp.net-mvc

Related posts about partial-views