Moving an application from Classic Menu to Prometheus Menu, and I have a context menu that is created programatically.
I can't find the equivilent of Menu.IsContext and Menu.ContextMenuElementID even though these members are settable via declaritive creation ??
3 Answers, 1 is accepted
0
Atanas Korchev
Telerik team
answered on 15 Jan 2008, 08:59 AM
Hello,
Those properties have been removed in favor of new control - RadContextMenu. It has a targets collection where you specify which elements should that context menu apply to. In a word here is the equivalent of the ContextMenuElementID property:
How do you access this from code? There doesn't seem to be a .Targets collection nor .ContextMenuControlTarget property for RadContextMenu. We're migrating to Prometheus and when adding a context menu to a grid through code we used to just have to do: