How do I attach a context menu to a TreeViewItem?

2 posts, 0 answers
  1. Grant
    Grant avatar
    179 posts
    Member since:
    Jul 2016

    Posted 14 Sep 2020 Link to this post


    I would like to display a context menu (similar to when I right click on an item in a TreeView ( The context menu should be aware of the relevant TreeViewItem that was right clicked on e.g. so I can perform an edit or delete. Is this possible?


  2. Stefan
    Stefan avatar
    3034 posts

    Posted 15 Sep 2020 Link to this post

    Hello, Grant,

    This can be done by using the TreeView items custom rendering to attach and onContextMenu event over them and dynamically show a Popup component with a Menu over the item:

    I have also attached a project that showcases this.

    Progress Telerik

    Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at

Back to Top