Load on Demand from MVC Action

2 posts, 0 answers
  1. Nick
    Nick avatar
    86 posts
    Member since:
    Mar 2008

    Posted 26 Aug 2009 Link to this post

    Hi All,

    I'm following Atanas' blog entry on ASP.NET MVC - Passing JSON to controller actions and populating controls on demand which is extremely useful.

    Is there any way to populate the first tier of nodes from this action on client load?  Atanas' example has the first node added at design time which is something I'd like to avoid if possible

    Many thanks,

  2. Veselin Vasilev
    Veselin Vasilev avatar
    2992 posts

    Posted 28 Aug 2009 Link to this post

    Hi Nick,

    Yes, this is possible. You can create nodes using the client-side API of RadTreeView. You can check this online demo and this help topic.

    For your convenience I have attached the Index.aspx page with the amended code.

    All the best,
    Veselin Vasilev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. DevCraft R3 2016 release webinar banner
Back to Top