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

Create and load radtree in clientscript

1 Answer 27 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
ankool
Top achievements
Rank 1
ankool asked on 26 Mar 2010, 06:49 PM
Hi,
 
Is it possible to create a rad tree and then load it in javascript.

Something like,

   var tree = new Telerik.Web.UI.RadTreeView();
    var treedata = ".....";   // string compatible with radtree xml format
tree.load(treedata);

or tree.set_element(treedata);

Please let me know, whether any one of create or load is possible in javascript.
Thanks in advance !!!

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 29 Mar 2010, 09:57 AM
Hello,

RadTreeView is server control and cannot be created on the client. Only nodes can be added client-side as it's shown here.

All the best,
Yana
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
TreeView
Asked by
ankool
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or