I mean let say I have controller Destinations with topbar menu with the same name. I'd like to have a left sidebar with Dest1, Dest2, Dest3 items showup/hide when I click the Destinations top menu, but I want the sidebar to stay visible all the time if I choose Dest1, Dest2 or Dest3 which are links to different views. So far I have this in Destinations index view but but I don't want to repeat this below in every item in a sidebar menu. I'd like to also sidebar item remained highlighted depending on what was selected. Topbar manu is defined in /-Layout view, should I put side bar there too? thanks
<div class="container-fluid">
<div class="row">
<div class="col-md-2">
<ul class="nav navbar-fixed-side navbar-fixed-side-left">
<li>@Html.ActionLink("Dest1", "Dest1", "Destinations")</li>
<li>@Html.ActionLink("Dest2", "Dest2", "Destinations")</li>
<li>@Html.ActionLink("Dest3", "Dest3", "Destinations")</li>
</ul>
</div>
.....
[You can get more details here in GitHub]
You can try with the below code
And this is the result