Bind TreeList to local data

4 posts, 0 answers
  1. Jason
    Jason avatar
    9 posts
    Member since:
    Jan 2009

    Posted 26 Nov 2014 Link to this post

    Is there a way to bind a TreeList to a local datasource like you can with the grid?

    With the grid, you can do this: @(Html.Kendo().Grid(Model)

    The TreeList doesn't seem to like that.

  2. Dimiter Madjarov
    Dimiter Madjarov avatar
    2306 posts

    Posted 27 Nov 2014 Link to this post

    Hello Jason,

    Indeed the MVC TreeList currently does not have a helper for binding it to local data. You could use the JavaScript implementation instead.

    Dimiter Madjarov

    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. Ziraat Teknoloji A.S.
    Ziraat Teknoloji A.S. avatar
    1 posts
    Member since:
    Jul 2007

    Posted 26 Jul 2018 in reply to Dimiter Madjarov Link to this post


    Is this still the same? Should we use the JavaScript implementation?

  4. Konstantin Dikov
    Konstantin Dikov avatar
    2466 posts

    Posted 30 Jul 2018 Link to this post

    Hi Ziraat,

    The TreeList still does not support server binding and the only option for local binding is to use the Kendo UI TreeList.

    Konstantin Dikov
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top