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

Load on Demand from MVC Action

1 Answer 51 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Nick
Top achievements
Rank 1
Nick asked on 26 Aug 2009, 10:49 AM
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,
Nick

1 Answer, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 28 Aug 2009, 09:01 AM
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.
Tags
TreeView
Asked by
Nick
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Share this question
or