Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Menu Items
Message
General information
Forum:
ASP.NET
Category:
Other
Title:
Miscellaneous
Thread ID:
00945353
Message ID:
00945365
Views:
20
This message has been marked as the solution to the initial question of the thread.
Hi, Shawn,

Here's a code sample. This assumes your main menu is called "mainMenu1". It will loop through the menu pad pulldowns from left to right, and display the name of each pad along with the name of all the menu items for each pad.
foreach(MenuItem oMenuPad in  this.mainMenu1.MenuItems) 
{
	MessageBox.Show("Menu Pad is " + oMenuPad.Text);
	foreach(MenuItem oMenuItem in oMenuPad.MenuItems)
		   MessageBox.Show("Menu Item for this pad is " + oMenuItem.Text);
}
Hope that helps...
Kevin
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform