Forum Discussion

Damon_Wang's avatar
Damon_Wang
Occasional Contributor
13 years ago

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?

2 Replies