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

contextmenu vb.net

1 Answer 51 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
jtby
Top achievements
Rank 1
jtby asked on 19 Jan 2010, 08:36 PM
Can you demonstrate how to use contextmenu with radtreeview with vb.net?  The silverlight vb.net example for add/remove/disable/enable radtreeview provided in C:\Program Files\Telerik\RadControls for Silverlight Q3 2009 SP2\Demos\ is defective and does not run.

Thx!

1 Answer, 1 is accepted

Sort by
0
Miroslav
Telerik team
answered on 25 Jan 2010, 01:41 PM
Hello jtby,

Thank you for pointing out the omission in the example. Indeed some of the code is missing there.

This example shows how the context menu can be used declaratively in Xaml and it includes some switching over the string in the header of an item which is simple enough but should not find its way in production code.

I am attaching an example that shows how the context menu can be build from commands exposed by the ViewModels in the application. It is MVVM-friendly but it does involve more abstraction.

Hopefully you will find it useful.

Regards,
Miroslav
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
TreeView
Asked by
jtby
Top achievements
Rank 1
Answers by
Miroslav
Telerik team
Share this question
or