Hi. I'm new to MVC2. I build a menu, based on jquery and xml.
My ideia was to have this menu on mvc master page, and the submenus had action links to several other views, who would show up in one or several asp ContentPlaceHolder.
On another post, ignatandrei, show me this: http://msprogrammer.serviciipeweb.ro/2010/07/19/asp-net-mvc-pass-data-from-a-view-to-master/, which i was really nice but don't solve my problem. which is that when i click on any element of menu, i'll get erro because any call to my menu object is made to an null object.
How can i make objects became persistent in my master page, regardeless the views i want to show up in content holders, because after i click on menu subitem (html.action) they made the previous menu object became null?
I tried using partial views, adapt the upcode example to my situation, and several others ideias - none has resulted.
When i readapt the code on upper link, i got issues regarding objects types that didn't match - which is something that i think is related to what page inherits?
Resumed, is it possible to have a similar behavior to asp.net no mvc regarding master pages?
View Complete Post