You'll want to listen for the itemClick event.

I don't know about your exact situation, but it might make for a
better user experience if you cleared the selected item from tree A
when the user selects and item in tree B and vice versa.  That way
there is only one selected item visible at a time. Since you only have
one form visible at a time, this would tie the trees and the form area
together nicely.  If you took that route you could keep listening on
the change event.

--- In [email protected], "markgoldin_2000" 
<[EMAIL PROTECTED]> wrote:
>
> I am using Tree control for my navigation needs.
> I have implemented a change event handler that would show a form when a 
> node is clicked. Now I am adding another Tree control that does the 
> same: show a form when a node is clicked. Both trees show form in the 
> same area. Since change event does not fire when the same node is 
> clicked again, I cannot show a form when I am clicking the same node in 
> the first tree after I showed a form clicking on the second one.
> Are there other events that I could use?
> 
> Thanks for help.
>


Reply via email to