working on a small website to get familiar with MS MVC framework and I have a partial view "Browse" that i render in a view "Index" using this:
@Html.Partial("Browse")
the problem here is that the partial "Browse" view requires a collection of objects as model which initialized in the "Browse" function of a Controller called "Products", so unless i make a call to the Browse method of the controller, my view will always have a null collection.
is it possible to initialize the collection before rendering the partial view?