Update Treeview using ajaxRequest

2 posts, 0 answers
  1. Luca B
    Luca B avatar
    41 posts
    Member since:
    Oct 2012

    Posted 03 Jan 2012 Link to this post

    Hi all, I have an usercontrol that contains a treeview, a toolbar and a radwindow.
    My goal is simple: when the user clicks on a toolbar button, I want to prompt the user for a node name (using the radwindow), and then begin an ajaxRequest that should add the node to the treeview.
    I am not able to get the last step to work.
    When I invoke ajaxMan.ajaxRequest from client, the request is correctly handled by the server and the node is added to the treeview, BUT it doesn't show up on the client.
    I also tried to wrap the treeview in a RadAjaxPanel, but then I am not able to refresh it server-side.
    Any ideas?
    Thanks!
  2. Richard
    Richard avatar
    479 posts
    Member since:
    Nov 2011

    Posted 03 Jan 2012 Link to this post

    Luca:

    I'd suggest that you take a look at the Refresh nodes added on demand documentation page for RadTreeView. It should provide you with the ability to refresh the display on the client after the server-side modification occurs.

    Hope this helps!
Back to Top