This is a migrated thread and some comments may be shown as answers.
RadMenu
1 Answer 65 Views
This is a migrated thread and some comments may be shown as answers.
Travas Nolte
Top achievements
Rank 1
Travas Nolte asked on 11 Aug 2008, 03:36 PM
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!

1 Answer, 1 is accepted

Sort by
0
Paul
Telerik team
answered on 12 Aug 2008, 06:24 AM
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.
Tags
Menu
Asked by
Travas Nolte
Top achievements
Rank 1
Answers by
Paul
Telerik team
Share this question
or