1. Travas Nolte
    Travas Nolte avatar
    6 posts
    Member since:
    Aug 2012

    Posted 11 Aug 2008 Link to this post

    Hello,

    I'm using a RadMenu in an ASP.NET 3.5 application which is based off a sitemap. I am also using ASP.NET Membership.

    I have section of the navigation that takes me into the Administration section of the app.

    I would like to hide the "Administration" node and child nodes for users that are not in that adminstration role.

    Is this possible? Can I do this programmatically with RadMenu?

    Thanks!
  2. Paul
    Admin
    Paul avatar
    4281 posts

    Posted 12 Aug 2008 Link to this post

    Hello Travas,

    We recommend using the SiteMapDataSource and the security trimming feature. This approach should work with all RadControls which support binding to SiteMapDataSource (toolbar, menu, tabstrip etc).

    If you are using custom implementation of users and roles you need to programmatically remove or hide the items which should not be visible.

    Kind regards,
    Paul
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top