ContextMenu on RadTreeNode

2 posts, 0 answers
  1. Mark
    Mark avatar
    132 posts
    Member since:
    Feb 2008

    Posted 01 Oct 2008 Link to this post

    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

  2. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 01 Oct 2008 Link to this post

    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.
Back to Top