[2005]: how to cancel Ajax TabContainer ClientActiveTabChanged event or Ajax TabPanel OnClientClick event


Hi,

I have TabContainer, I need when I click on the second TabPanel, to be able to make some changes on the first TabPanel before I change the ActiveTabIndex.

So please u can help me either in one or both of the following ways:

1/ tell me how I can intercept the OnActiveTabChanged changing event (before the change takes place) or the event that takes place before the OnClientClick of the TabPanel, so that I be able to perform the necessary changes on the current Active TabPanel before I set the ActiveTabIndex programmatically to the 2nd one;

2/ and/or tell me how I can cancel the ClientActiveTabChanged event or the TabPanel OnClientClick event so that I make the modifications on the current active tab before I change the value of ActiveTabIndex

P.S: All this on the client side please.

Thank you.