Tab Selected event is not triggered by @bind-SelectedItem change

Hi, I have notice that the tab event "Selected" is only triggered if the tab is manually clicked by the user. I use @bind-SelectedItem="@selectedTabIndex" and I am changing this by clicking a button. This does cause the tab to change, but the Selected event is not fired when the tab changes. How can I do this please?

Thanks


1 Reply

SK Satheesh Kumar Balasubramanian Syncfusion Team January 13, 2022 02:31 PM UTC

Hi Sam, 
  
We let you know that tab Selected event will trigger for component interaction only, not for SelectedItem property changes. Also, if you change the SelectedItem property you will aware of which tab index you are navigating. In this case, you need to use tab Selected event. If you still want to use Selected event, please share more details about why you want to use tab Selected event. 
  
Regards, 
Satheesh Kumar B 


Loader.
Up arrow icon