The SelectedIndexChanged event of DockTabControl is firing multiple times

Why is the SelectedIndexChanged event DockTabControl firing multiple times when just ONE tab is selected? 

here is the code: that assigns the event:

                        _docktab.SelectedIndexChanged += _docktab_SelectedIndexChanged;


but the event fires multiple times, even though all I do is change the selected tab

              private void _docktab_SelectedIndexChanged(object sender, EventArgs e)
             {
                    ........
             }

1 Reply 1 reply marked as answer

AI Anirudhan Iyyappan Syncfusion Team July 7, 2020 12:54 PM UTC

Hi joe lewis, 
 
Thank you for contacting Syncfusion support. 
 
We have checked your query “SelectedIndexChanged event of DockTabControl is firing multiple times”. But unfortunately we are unable to replicate this issue in our side. For further references, please refer to the below sample and video. 
 
 
 
If we have misunderstood any of your query, then please let us know and share more information based on this issue or please modify the above sample in such a way that issue replicates, and let us know you current syncfusion Dll’s. So, that we can analyze and let you know a solution ASAP. 
 
Regards, 
Anirudhan 


Marked as answer
Loader.
Up arrow icon