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

how to rebind radTreeview from Client-Side

2 Answers 252 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Frank Fu
Top achievements
Rank 1
Frank Fu asked on 18 Dec 2009, 11:07 PM
Hi,

I need to refresh a RadTreeView inside of a user control from client side. Is there any way to rebind the treeview in javascript?

Thanks,
Frank

2 Answers, 1 is accepted

Sort by
0
Schlurk
Top achievements
Rank 2
answered on 21 Dec 2009, 04:06 PM
I think the best way to do this would be through using the trackChanges and commitChanges client-side functions.
0
Frank Fu
Top achievements
Rank 1
answered on 21 Dec 2009, 04:40 PM
Thanks for the reply. But in my case, the change is happened on the server-side.

Here is my senario:
1. I put a treeview in a user control and the user control is in the master page. A context menu is attached to the treeview.
2. From the context menu, I popup a RadWindow to edit treeview node properties and persist to DB.
3. After popup closed, in RadWindow "closed" event, I need to refresh the treeview to get the update.

The only way I see now is to use AjaxRequest to call a server method. Any other ways?




Tags
TreeView
Asked by
Frank Fu
Top achievements
Rank 1
Answers by
Schlurk
Top achievements
Rank 2
Frank Fu
Top achievements
Rank 1
Share this question
or