ASP.Net Roles

Apr 5, 2011 at 1:58 PM

Is there a way to associate menu items with roles?  I would like to show/hide menu items based on the user's role.  The asp:menu does this easily using entries in the web.config file and a sitemap file.  Does this menu have a similar feature?

Jun 21, 2011 at 4:25 PM

There is no feature to do it automatically like the MS menu, but you can use the API in code to show/hide each menu item based on role visibility. Its more work, but can be done.