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.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
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.htmlhttp://www.essentialobjects.com/ViewDoc.aspx?t=EO.Web.BaseNavigator.HideRoleDisabledItems.htmlThis 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
|