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

ObjectDataSource to Treeview, from JS?

1 Answer 31 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Silvia
Top achievements
Rank 1
Silvia asked on 22 Oct 2011, 12:33 AM
Is it possible to assign an ObjectDataSource to a TreeView control, from Javascript? This is because I´m returning said ObjectDataSource from a JSON call. The data takes a while to load, so I wanted to load it asynchronously.

What can I call on the TreeView (or anywhere else) to load the returned ObjectDataSource into the TreeView?

1 Answer, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 24 Oct 2011, 10:18 AM
Hi Silvia,

Here is a sample project that shows one way to populate RadTreeView from JSON on the client.

Hope this will help.

Regards,
Plamen Zdravkov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
TreeView
Asked by
Silvia
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Share this question
or