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

Custom context menu for TreeListView

3 Answers 134 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
KK
Top achievements
Rank 1
KK asked on 04 Jan 2011, 08:20 AM
Hi,
Is it possible to apply a cusotm context menu to RadTreeListview like RadTreeView? I am trying this in WPF + MVVM.
Can you share a sample project of the same?

3 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 04 Jan 2011, 08:31 AM
Hello,

 You can use similar to this example approach to achieve your goal. 

All the best,
Vlad
the Telerik team
Browse the videos here>> to help you get started with RadControls for WPF
0
KK
Top achievements
Rank 1
answered on 04 Jan 2011, 10:08 AM
Hi Vlad,
Thanks for quick response. In this example all items have same context menu but in my case context menu should be different. For example I have an item Certificates node and his children which are Cert01 and Cert02.

- Certificates
        - Cert01
        - Cert02

So here Certificates node should have diffrent context menu and Cert01 and Cert02 should have same context menu. 
Is it possible in TreeListView?


0
Vlad
Telerik team
answered on 04 Jan 2011, 10:10 AM
Hello,

 You can create menu items on demand depending on your condition in Opened event. 

Regards,
Vlad
the Telerik team
Browse the videos here>> to help you get started with RadControls for WPF
Tags
TreeListView
Asked by
KK
Top achievements
Rank 1
Answers by
Vlad
Telerik team
KK
Top achievements
Rank 1
Share this question
or