New to Telerik UI for ASP.NET AJAX? Download free 30-day trial

Hide menu items when the user must not see them

HOW TO

Hide menu items that the user should not see (for example, because their user role does not have permissions).

SOLUTION

There are two primary ways of doing that:

  • ensure those items are never created in the first place
  • OR, set their Visible property to false according to the business logic

You can find attached here a few examples of accessing items and hiding them in various scenarios (declarative creation, programmatic creation, data binding).

In this article
Not finding the help you need? Improve this article