I am trying to create navigation menu in my MVC application using Jquery. I am using http://users.tpg.com.au/j_birch/plugins/superfish/ for this.
However I want to display menu items based on user roles i.e. including asp membership authorization logic so that if the user does not have the required role, he does not see certain menu items.
Can anyone suggest how to proceed.
Thanks
Since superfish only works client side you need to make sure it only has the right html in the first place, which you define server-side.
Your role provider has a IsUserInRole and GetRolesForUser. You could use that to build up the HTML.
For instance: