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
 
To
26/01/2005 21:50:40
General information
Forum:
ASP.NET
Category:
Menus
Miscellaneous
Thread ID:
00980910
Message ID:
00981084
Views:
66
>Einar-
>
>>Thanks for your input. I will have to look into that.
>
>Doh. I'm such a dope sometimes. Why not just subclass MenuItems and add a method called, say,
GetIndexOf("Einar's Adapter".
Would that work? Yes, you have iterate through the menu, but it should be blazingly fast.

Nancy,
I already have the code to iterate through the menu "branch" so I guess creating a MenuItem subclass wouldn't bee all that much work. Hmm and I guess it would be a good thing because I am sure I will have similar code in multiple applications.
Thanks for your input.

Sincerely,
Einar
Semper ubi sub ubi.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform