Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I reference the menu item I added at run-time?
Message
General information
Forum:
ASP.NET
Category:
Menus
Miscellaneous
Thread ID:
00980910
Message ID:
00981428
Views:
40
>No I didn't try it until I read your message, now that I have tried it I can tell you that it didn't work. I got the following compile time error: MenuItems denotes a property where a method was expected.
>I also tried: this.myMenuItem.MenuItems["Einar_0"], but it can't convert from string to int.
>
>Any other thoughts?
>
>Einar

Just foreach through the menuitems collection until you find the item that you want.

BOb
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform