How to programmatically call PanelChanged on webTabPanel?

Setting TabPanel1.SelectedPanelIndex =1 does not call “panelChanged” event?
How to programmatically call PanelChanged on webTabPanel?

make a subclass of webtabpanel
and implement your own method/events to do it your way?

What I did is to drag the WebTabPanel to webpage. I create button with code “TabPanel1.SelectedPanelIndex =1”, Webtabpanel work ok, but it does not call the built-in event “PanelChanged”

I want to know how to detect if Panel is changed.

I don’t think you can change something like this without making your own subclass.