Refresh pane from other pane

2 posts, 0 answers
  1. Adam Finster
    Adam Finster avatar
    3 posts
    Member since:
    Mar 2008

    Posted 25 Feb 2013 Link to this post


    I have a basic radSplitter setup, with a "navigation" pane on the left and a "content" pane on the right, divided by a split bar. We'll call this page "Main.aspx".

    In the navigation pane, I have a radTreeView control which builds up nodes in groups based on database records. Clicking on a treeview node sets the content pane's ContentURL to a specific aspx page based on the node & parameters, etc. Within this content pane, I can step the user through a wizard-type interface.

    If the user edits an item in the content pane or completes the wizard, I would like to be able to refresh the TreeView control via some sort of javascript, similar to what is found at  without refreshing the entire page and losing the reference to the page in the content pane. This would update the treeview with the new or changed information.

    Complex as it may be, the only real solution I can think of is to refresh the entire page while holding a value in Session. After the treeview builds, it can inspect the session value, highlight the node in question, and load the content pane base on the session value.

    Do you have any better ideas?
  2. Dobromir
    Dobromir avatar
    1633 posts

    Posted 27 Feb 2013 Link to this post

    Hi Adam,

    Indeed, the KB article that you have linked is the recommended approach to avoid full page reload. For your convenience I have prepared sample page demonstrating how to ajaxify RadTreeView from within the content page. Please find it attached.

    Kind regards,
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. DevCraft R3 2016 release webinar banner
Back to Top