11 Replies Latest reply on Dec 21, 2006 10:23 AM by phi2265

    Populate a canvas when a tree-leaf node is clicked

    pixelflip

      I'm trying to populate a canvas or a list container with images when a tree-leaf node is clicked. I got the tree control working alright so far (populated via an external XML) but I'm having a hard time figuring out how to populate the adjacent container when a leaf node from a tree is clicked by a user. I know I'm supposed to code this in the 'change' event but am having a difficult time trying to figure out how to do this. I looked at the source code in some of the sample apps but I couldn't find anything that resemble what I'm trying to do.

      Since each leaf node would be unique, each one of them would trigger an external load of images (via http service) ... and so the url would be unique as well for each.

      'Appreciate the help from anyone who could help.

      Thanks.