How to send model object in Html.RenderAction (MVC3)
问题 I'm using MVC3 razor, and I'm trying to pass an object to a partial view, and it's not working. This works fine without sending the object model to the partial view: Html.RenderAction("Index", "ViewName"); Trying this doesn't sent the model object, i'm getting nulls instead (the object has data, and the view expects it):' Html.RenderAction("Index", "ViewName", objectModel); Is this even possible using RenderAction? Thanks! Edit: I found the error, there was an error with the controller's