ASP.NET MVC – How to pass an Array to the view?
I’m struggling myself here, to find a easy way to pass an array from the controller to the view on ASP.NET MVC framework.
I’m struggling myself here, to find a easy way to pass an array from the controller to the view on ASP.NET MVC framework.
I have a strongly-typed Partial View that takes a ProductImage and when it is rendered I would also like to provide it with some additional ViewData which I create dynamically in the containing page. How can I pass both my strongly typed object and my custom ViewData to the partial view with the RenderPartial call?