I have tried implementing the Silverlight ContextMenu on a series of dynamically created Telerik Treeview objects. Ideally, when the user right clicks, the current node should become selected so that when they select an item from the menu, it will only apply to the currently selected node.
As it is now, when the user right clicks on a node, the ContextMenu does show up, however that node does not automatically become selected. I implemented the Mouse.AddMouseUpHandler(this, OnRightMouseButtonUp); code that was specified in the example, but this has not worked, possibly because the treeviews are created dynamically.
Please advise.
Thanks,
Seth
As it is now, when the user right clicks on a node, the ContextMenu does show up, however that node does not automatically become selected. I implemented the Mouse.AddMouseUpHandler(this, OnRightMouseButtonUp); code that was specified in the example, but this has not worked, possibly because the treeviews are created dynamically.
Please advise.
Thanks,
Seth