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

[Solved] How do I use Telerik RadMenu as a context menu of Telerik RadTreeView?

1 Answer 117 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Vinix
Top achievements
Rank 1
Vinix asked on 28 Mar 2008, 01:50 AM

Following is my codes, how do I use Telerik RadMenu as a context menu of Telerik RadTreeView?

Many thanks for your replying.

<telerik:RadTreeView ID="RadTreeView1" runat="server">
   <CollapseAnimation Duration="100" Type="OutQuint" />
   <ExpandAnimation Duration="100" Type="OutQuart" />
</telerik:RadTreeView>

<telerik:RadMenu ID="RadMenu1" runat="server" Flow="Vertical">
   <DefaultGroupSettings ExpandDirection="Auto" Flow="Vertical" />
   <CollapseAnimation Duration="200" Type="OutQuint" />
      <Items>
         <telerik:RadMenuItem runat="server" ExpandMode="ClientSide" Text="Add 
            Node">
         <GroupSettings ExpandDirection="Auto" Flow="Vertical" />
         </telerik:RadMenuItem>
         
         <telerik:RadMenuItem runat="server" ExpandMode="ClientSide" 
            Text="Delete Node">
         <GroupSettings ExpandDirection="Auto" Flow="Vertical" />
         </telerik:RadMenuItem>
         
         <telerik:RadMenuItem runat="server" ExpandMode="ClientSide"
            Text="Rename Node">
         <GroupSettings ExpandDirection="Auto" Flow="Vertical" />
         </telerik:RadMenuItem>
      </Items>
<ExpandAnimation Type="OutQuart" />

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 28 Mar 2008, 07:16 AM
Hi Liu Pei-Sen,

Please check our online example:
http://www.telerik.com/demos/aspnet/prometheus/TreeView/Examples/Functionality/ContextMenu/DefaultCS.aspx

I hope this helps,
Albert
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
TreeView
Asked by
Vinix
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or