This is surely a basic question, but I’m new enough to MVC (and ASP.NET) I don’t even know how to ask the question without explaining it…
I want to have one tab on the master page that loads a View with links to other views. The purpose is to create one “Admin” view that contains links (action links?) to the various Controllers/Actions/View to maintain the master tables for my database. All these would be secured with an Authorize filter.
So, the main tab would say Admin. That should load a View with Action Links to the Controller/View for TableA, TableB, etc. Clicking on one of these links should then take me to the View where I can do CRUD operations on that particular table. I have these built already, but am using the Shared/Site.Master view to get to each table, creating a separate tab for each table — not good.
I envision a vertical list of clickable table names.
Is this clear enough? I am not even sure of the terminology I need to use here…
Thanks,
Dave
So, recommend you reading up on the NerdDinner tutorial asap, it covers all of the basics.
What it sounds like you will want is an AdminController. the index action of that will return a view. the View file of that is where you’ll place your actionlinks.
The master page, would then just call
and that should generate the link you’re looking for, assuming you havne’t mucked w/ routing yet.