I have a Master Page in a ASP.NET MVC 4 application. The master page has a menu with several items and each item is a link to a page.
The menu is a jQuery Accordion menu. When I select an item the entire page is reloaded and the accordion menu return to the original state.
To avoid this, I store the last menu opened and store it to an attribute of the header of the menu. On $(document).ready event I loop the headers and activate the menu but this makes an ugly effect to be seen.
How can I avoid reload of the entire page? I have to use the update panel in the MainContent of the ContentPlaceHolder of the Master Page? There is an example?