• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 891
  • Last Modified:

ASP.NET MVC 3 - pass a ViewModel to a strongly typed Partial View

I'm a little new to MVC and I'm trying to implement a partial view.  I have this partial view set up as a strongly typed partial view having a custom ViewModel class that I have created for it specifically.  I understand that inside a regular view I can return a populated version of the ViewModel to the View in the controller.  But I don't understand how to pass the ViewModel into a partial view.  How does this take place?
0
JosephEricDavis
Asked:
JosephEricDavis
1 Solution

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now