Base solution for your next web application
Open Closed

Menu Item In Role Permission #9036


User avatar
0
yapwen created

Hi,

From The ASP NET ZERO Power Tools only have 2 Menu Location which is Root and Administration.

  1. I have created a sub menu name 'Site Codes' by selected Menu Position in 'Root'.
  2. I have added a Menu call 'VMS' In AppNavigationProvider.
  3. I manual park the Sub Menu 'Site Codes' Under 'VMS' shown as below:-

).AddItem(new MenuItemDefinition( AppPageNames.Common.SfpSiteCodes, new FixedLocalizableString("VMS"), icon: "flaticon2-box" ).AddItem(new MenuItemDefinition( AppPageNames.Common.SfpSiteCodes, new FixedLocalizableString("Site Code"), url: "App/SfpSiteCodes", icon: "flaticon-more", permissionDependency: new SimplePermissionDependency(AppPermissions.Pages_SfpSiteCodes) ) )

  1. Is there a way to park the 'Site Codes' Under 'VMS' in the Role Permission Page ?

Thanks.

Regards, Yap


2 Answer(s)