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
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
0
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.
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
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.
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.