This is a migrated thread and some comments may be shown as answers.

ContextMenu on RadTreeNode

1 Answer 23 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 01 Oct 2008, 09:17 AM
Hi,

I am trying to add a context menu to a radtreeviewnode.
Cant get the menu to appear though..
Here is my code to add the target at runtime...

With mnuContext

Dim

mynode As New RadTreeNode

Dim

target As New ContextMenuControlTarget

target.ControlID = mynode.ClientID

.Targets.Add(target)

End With

trvViewed.Nodes.Add(mynode)


Any ideas please ?
Many Thanks
Mark

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 01 Oct 2008, 11:03 AM
Hello Mark,

RadTreeView has built-in context menus. Please check this help topic for more info.

Best wishes,
Albert
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Menu
Asked by
Mark
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or