PDA

View Full Version : Select TreeItem without firing SelectionChange



smfed
21 Apr 2009, 2:10 AM
Hi,

I am applying MVC, so i am having lots of events firing:) I have TabPanel and Tree and when i click on the tree a NewTab item is created (unless it is already on tab panel) the content of TaabItem is filled via AJAX when i change the Tab I want the Tree selection to change to highlight the TreeItem corresponding to the selected TabItem.

Long story short when TabItem is changed TreeItem is selected but this in turn fires SelectionChange event which i don't want. Can i cancel this event somehow or it would be better if i can add some flag to this event like tabItem was already loaded.

Thanks and regards,
Stepan