Posted on: 1/19/2012 9:56:16 PM | Views : 266

I'm using MVC 3 with Razor for a project. We have our own SQL tables with role, user and page level access.

I need to be able to have functionality where an Admin, let's say, can add, update, and delete roles which I can do.

I need the menu to reflect those changes next time the user logs in.

So, for instance, when a user logs on, the user info is retrieved and based on the role they have, to have the menu dynamically update the menus/submenus that the user can get at.

The nenu is in the Shared folder in the _Layout.cshtml file.

Is there a way to accomplish this?
...

Go to the complete details ...