I have a menu that loads PartialView's into Content area.
I load PartialView's because I only want the Content area to change. The pros is the selected menuitem is always highlighted and things like collapsed doesn't change either.
One of my problems is that Sections by design doesn't work for PartialView's. I have a header in the Content area for some of the PartialView's but not all, and I could be nice to Sections for this because that's what they are there for right.
I'm wondering if I ever make a regular View and it feels wrong I don't use them, when it's so fundamental in MVC.
My question is, would you load View
or PartialViews
into Content area?
If you prefer View, what is best practice to solve the issue with persistent the menu state. (Session object or hashtag some kind of ViewBag that is able to survive a pagerefresh)?