Update Panel from Tree Panel selection

  1. #1

    Update Panel from Tree Panel selection

    Hi,

    I browsed this forum and I could not quite find what I'm
    looking for (maybe I missed some posts). So, what I want to achieve is
    (I'm pretty sure it is possible, but can't figure it out now):

    In an .aspx page I have one TreePanel control and one regular Panel
    control. By selecting an item from the TreePanel I would like to have
    the regular Panel refreshed and retrieving the relevant information (it
    does not matter how the information is retrieved) for the item selected
    in the TreePanel (see the mockup attached).
    Also, if it not too
    much, if some changes are performed in the values contained in the
    regular Panel the TreePanel should be updated as well (basically update
    the node text value or delete/add nodes).
    Would it be possible to provide some advice on how to achieve this?


    Note: I reviewed the SiteMap under the TreePanel example and the Center
    Panel is refreshed by loading an .aspx page. Another .aspx page within
    an iframe is not my intent in what I want to achieve.


    Thank you for your support!

    Marius
  2. #2

    RE: Update Panel from Tree Panel selection

    Hi,

    Handle TreePanel Click event which gives clicked node and refresh Panel depends your logic.*


    <Click Handler="refreshPanel(node);"/>

    To update node text use
    node.setText(...);

    To delete node
    node.remove();

Similar Threads

  1. Replies: 1
    Last Post: Oct 26, 2012, 8:52 AM
  2. [CLOSED] Tree Panel: Multiple selection with check boxes
    By gokcemutlu in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Sep 16, 2011, 2:07 PM
  3. Replies: 3
    Last Post: Jan 06, 2011, 4:46 PM
  4. Replies: 1
    Last Post: Jan 23, 2009, 6:43 AM
  5. Replies: 3
    Last Post: Sep 13, 2008, 10:09 AM

Posting Permissions