How to create menu in MVC
I have just created a MVC 4 project and selected "Basic" Template in VS2012. I have created a "HomeController" and two methods inside it: "Index" and "Details". I have generated a view for both the methods: "Index.cshtml" and "Details.cshtml". My question is how to create a basic menu for them in "_Layout.cshtml"?
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.


Ramesh MaruthiRank #937 · 2.2K reputationPosted Dec 16, 2014, 7:13 AM EST