ContextMenu does not show up

2 posts, 0 answers
  1. andrew rekvils
    andrew rekvils avatar
    18 posts
    Member since:
    Dec 2005

    Posted 08 Apr 2009 Link to this post

    I have this xaml segment that I expect will show up context menu, but it is not showing up and right mouse click shows standard Silverlight menu? Am I missing something? ( I am using Silverlight 2 beta) 

     

    <telerik:RadTreeView x:Name="MyTree" IsLineEnabled="true">

     

     

    <telerik:RadContextMenu.ContextMenu>

     

     

    <telerik:RadContextMenu x:Name="contextMenu">

     

     

    <telerik:RadMenuItem Header="Add New Item">

     

     

    <telerik:RadMenuItem Header="Add Sibling" />

     

     

    <telerik:RadMenuItem Header="Add Child" />

     

     

    </telerik:RadMenuItem>

     

     

    <telerik:RadMenuItem Header="Delete Item" />

     

     

    <telerik:RadMenuItem Header="Edit" />

     

     

    </telerik:RadContextMenu>

     

     

    </telerik:RadContextMenu.ContextMenu>

     

     

    <telerik:RadTreeViewItem Header="Personal Folders"/>

     

     

    </telerik:RadTreeView>

     

  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 09 Apr 2009 Link to this post

    Hi andrew,

    Do you have <param name="windowless" value="true" /> for your SIlverlight object declaration?

    Best wishes,
    Vlad
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
  3. DevCraft banner
Back to Top