Welcome Guest Search | Active Topics | Sign In | Register

menu control with asp.net 2.0 roles Options
Colin
Posted: Friday, February 1, 2008 3:15:55 AM
Rank: Advanced Member
Groups: Member

Joined: 2/1/2008
Posts: 35
I am looking to buy a menu control that will work with asp.net 2.0 roles, i.e. some of the menu items will either be seen but not enabled or not visible at all dependant on user login status. Can you please advise if this product will be able to do this or how you would handle it if not.

Regards.
eo_support
Posted: Friday, February 1, 2008 5:12:53 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi Colin,

Yes. Our Menu supports that. These two properties are for this feature:

http://www.essentialobjects.com/ViewDoc.aspx?t=EO.Web.NavigationItem.AllowRoles.html

http://www.essentialobjects.com/ViewDoc.aspx?t=EO.Web.BaseNavigator.HideRoleDisabledItems.html

This first property determines which role can is allowed to access a NavigationItem. The second property determines whether the items that are disallowed should be disabled or hidden. These properties are implemented on NavigationItem (base class of MenuItem) and BaseNavigator (base class of Menu), so they work for all navigational controls, not just the menu.

Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.