ASP.NET Menu. ExpertMenu - Advanced Server-Side Menu Control for ASP.NET

Examples Quick Start ExpertMenu Designer Contact Us


About the demo
ExpertMenu can enable / disable menu items based on allowed security roles specified for an item.
To protect a menu item from unauthorized access just define an allowed roles list with AllowRoles property. Only authorized persons will have access to that item.
ExpertMenu checks roles with standard ASP.NET System.Security.Principal.IPrincipal.IsInRole() call and takes IPrincipal from Context.User property.
You can totally hide the items that are not allowed for the current user's security role with HideRoleDisabledItems property.
Note that ExpertPath control enables / disables (hides) items the same way as its host menu.
aspx C# VB

Copyright © 2003-2022 ASP.NET Expert Group. All rights reserved.