Damon_Wang
13 years agoOccasional Contributor
MenuItem exists in code but not show in UI
I'd like to verify a sub menu item is existing under an specific menu item or not. I used simple code as below
var subItems = menus.Items("File").SubMenu;
I looped subItems and found there are some items in subItems but they are not shown in UI. I suppose it has bad code with Development, but can we use other way to handle it?
var subItems = menus.Items("File").SubMenu;
I looped subItems and found there are some items in subItems but they are not shown in UI. I suppose it has bad code with Development, but can we use other way to handle it?