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

Kendo treeview context menu issue

3 Answers 82 Views
AJAX and Web 2.0
This is a migrated thread and some comments may be shown as answers.
Dayana Maliyakal
Top achievements
Rank 1
Dayana Maliyakal asked on 06 Aug 2014, 12:03 PM
Hi Telerik Team, 

I have a kendo treeview as follows:

@(Html.Kendo().TreeView()
.Name("treeview")
.HtmlAttributes(new {@class="demo-section" })
.DataTextField("Name")
.DataSource(dataSource => dataSource
.Read(read => read
.Action("Employees", "TreeView")
)
)
)

How to set context menu on below  treeview nodes?

With regards
Dayana


















3 Answers, 1 is accepted

Sort by
0
Nikola Zagorchev
Telerik team
answered on 11 Aug 2014, 09:20 AM
Hello Dayana,

This article explains how a context menu could be added.
I think you might also find this forum thread regarding the desired functionality of the Kendo controls useful. The demo could be found here. Right click activates the context menu. Another example could be found from this thread. Demo code here. This repository could be helpful as a reference as well.

Regards,
Nikola Zagorchev
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Richard
Top achievements
Rank 1
answered on 18 Feb 2015, 08:46 PM
I can't access the demo link?  Plus the other article is very outdated.  I dont reference Html.Telerik but use Html.Kendo.  Any suggestions as I am trying to figure out a way of adding a context menu to my Treeview.  I am using MVC 5 and the latest Telerik version.
0
Nikola Zagorchev
Telerik team
answered on 23 Feb 2015, 12:57 PM
Hi Richard,

This thread is quite old. I would suggest using the kendo specific forums here. You can also check out their demos here. The MVC wrappers demos here.The article from the link that is unavailable could be found here:
http://aspnet.wikidot.com/telerik-mvc:adding-a-context-menu-to-the-treeview
Hope this is useful. I recommend for Kendo wrappers or js questions to submit a thread in their forums.

Regards,
Nikola Zagorchev
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
AJAX and Web 2.0
Asked by
Dayana Maliyakal
Top achievements
Rank 1
Answers by
Nikola Zagorchev
Telerik team
Richard
Top achievements
Rank 1
Share this question
or