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

set child node selected in RadTreeView

1 Answer 130 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Jayesh Goyani
Top achievements
Rank 2
Jayesh Goyani asked on 04 Apr 2011, 01:12 PM
hi,
i want to set child node selected in page_load.

i used load on demand (Page method).

http://demos.telerik.com/aspnet-ajax/treeview/examples/programming/loadondemandmodes/defaultcs.aspx

thanks in advance

1 Answer, 1 is accepted

Sort by
0
Nikolay Tsenkov
Telerik team
answered on 04 Apr 2011, 04:07 PM
Hi Jayesh,

Well, if you know the Text/Value of the node, you can handle the ClientLoad event, find the node using the findNodeByText/findNodeByValue method of the TreeView and then select it using the node.set_selected(true).


Regards,
Nikolay Tsenkov
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
Jayesh Goyani
Top achievements
Rank 2
Answers by
Nikolay Tsenkov
Telerik team
Share this question
or