how to rebind radTreeview from Client-Side

3 posts, 0 answers
  1. Frank Fu
    Frank Fu avatar
    2 posts
    Member since:
    Jun 2009

    Posted 18 Dec 2009 Link to this post

    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. Schlurk
    Schlurk avatar
    812 posts
    Member since:
    May 2009

    Posted 21 Dec 2009 Link to this post

    I think the best way to do this would be through using the trackChanges and commitChanges client-side functions.
  3. Frank Fu
    Frank Fu avatar
    2 posts
    Member since:
    Jun 2009

    Posted 21 Dec 2009 Link to this post

    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?




Back to Top