Kendo treeview context menu issue

4 posts, 0 answers
  1. Dayana Maliyakal
    Dayana Maliyakal avatar
    27 posts
    Member since:
    Jan 2010

    Posted 06 Aug 2014 Link to this post

    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


















  2. Nikola Zagorchev
    Admin
    Nikola Zagorchev avatar
    6 posts

    Posted 11 Aug 2014 Link to this post

    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.

     
  3. Richard
    Richard avatar
    26 posts
    Member since:
    Sep 2014

    Posted 18 Feb 2015 in reply to Nikola Zagorchev Link to this post

    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.
  4. Nikola Zagorchev
    Admin
    Nikola Zagorchev avatar
    6 posts

    Posted 23 Feb 2015 Link to this post

    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.

     
Back to Top