Forum Discussion
YMinaev
Staff
14 years agoHi,
You cannot make this work because the Id value is not the one you should pass to Items as an index. These Ids have nothing to do with menu item indexes at all. In your case, the value you need instead of Id is the loop counter when you iterate through menu items and get their submenus.
You cannot make this work because the Id value is not the one you should pass to Items as an index. These Ids have nothing to do with menu item indexes at all. In your case, the value you need instead of Id is the loop counter when you iterate through menu items and get their submenus.