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?