London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

MVC - How do you create your submenus?

Vote:
 

Can't find any good resources on how people have implemented page navigation (submenus) with several levels.

Would be very interesting to see how people have solved it. I'm struggling a bit in doing it the EPiServer way and would appreciate examples greatly!

#79261
Dec 11, 2013 21:38
Vote:
 

Look in the Alloy MVC sample site. You will find a good solution in the partial view "SubNavigation". It uses an extension method (HTML-helper) that takes a delegate. The delegate are created in the view and passed to the helper method.

#79265
Dec 12, 2013 7:57
Vote:
 

I was hoping for other ideas than the one in the Alloy sample site. That one feels a bit overengineered.

#79278
Dec 12, 2013 11:57
Vote:
 

It's pretty simple to cover more complex cases. It depends on your requirements.

#79312
Dec 13, 2013 8:51
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.