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

Load another treeview on NodeExpand

2 Answers 19 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Srinivas Nilagiri
Top achievements
Rank 1
Srinivas Nilagiri asked on 17 May 2010, 09:17 AM
I have two RadTreeView controls on a page and on RadTreeView1_NodeExpand I want to bind RadTreeView2 with some other data based on RadTreeView1 current node data. Even though the function to load RadTreeView2 is called, RadTreeView2 is not displayed. if I call the same function on RadTreeView1_NodeClick event then it is visible. How to make it visible on NodeExpand event? You help is much appreciated.

2 Answers, 1 is accepted

Sort by
0
Accepted
Yana
Telerik team
answered on 17 May 2010, 09:32 AM
Hi Srinivas,

When ExpandMode is set to "ServerSideCallBack", an asynchronous request is send to the server and  there's no way to update other controls except the expanding node in NodeExpand event handler. You should set ExpandMode to "ServerSide" to achieve the needed functionality.

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.
0
Srinivas Nilagiri
Top achievements
Rank 1
answered on 17 May 2010, 04:08 PM
Hi Yana, Thanks for the reply.
Tags
TreeView
Asked by
Srinivas Nilagiri
Top achievements
Rank 1
Answers by
Yana
Telerik team
Srinivas Nilagiri
Top achievements
Rank 1
Share this question
or