In our current Asp.net MVC application we have 2 menu systems one accross the top and one on the left hand side. Now we have a partial view that renders the menu, however is the only way for this too work to return the menu items back with every single ViewModel? We are trying not to use the ViewData dictionary.
I think the answer to this is yes, however I want to see what others think
3 Options:
RenderAction all the way.
RenderPartial as Ryan answered.
An abstract MasterViewModel for example. All your out model’s would inherit from this. Populated by an action filter.