contextmenu vb.net

2 posts, 0 answers
  1. jtby
    jtby avatar
    43 posts
    Member since:
    Feb 2007

    Posted 19 Jan 2010 Link to this post

    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!
  2. Miroslav
    Admin
    Miroslav avatar
    922 posts

    Posted 25 Jan 2010 Link to this post

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