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

RadTreeView and RadAjaxManager

4 Answers 88 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Tamir
Top achievements
Rank 1
Tamir asked on 05 Mar 2010, 02:08 AM
Hi,
I have a tree view and two panels on a page. I am doing ajax postbacks on node click. I would like only the top level nodes in the tree to update one panel and all other nodes to update the second panel. How can i achieve that?
Currently I am using RadAjaxManager to ajaxify the whole tree, so every node click updates both panels.

Thanks,
 
Tamir

4 Answers, 1 is accepted

Sort by
0
Dimitar Milushev
Telerik team
answered on 09 Mar 2010, 04:42 PM
Hi Tamir,

You can handle the TreeView's OnClientNodeClicked event and manually trigger the Ajax update depending on the clicked node's level.

Greetings,
Dimitar Milushev
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
Martin Smith
Top achievements
Rank 1
answered on 24 Mar 2010, 05:23 PM
That would mean a separate trip back to the server, no?

I have a similar problem - I want the onClickNode on the tree, to update both the tree (which it does) and a label. It's not updating the label.

(the label can be updated from from a button) 


0
Martin Smith
Top achievements
Rank 1
answered on 24 Mar 2010, 06:01 PM
I got it working from ClickNode, but not NodeExpand.
0
Yana
Telerik team
answered on 25 Mar 2010, 12:44 PM
Hi Martin Smith,

You cannot update the other controls on the page in NodeExpand event if you have ExpandMode set to ServerSideCallBack, you should use ServerSide in this case.

Best wishes,
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
Tamir
Top achievements
Rank 1
Answers by
Dimitar Milushev
Telerik team
Martin Smith
Top achievements
Rank 1
Yana
Telerik team
Share this question
or