We have a RadTabStrip control that has listboxes and combo boxes located on each TabItem.
The issue we are running in to is populating the BindingSources for each combo box on the RadTabStrip.TabSelected event.
On form load, we have the following code:
The routine that handles the radTabStrip1.SelectedTab event has the following code:
When the SelectedTab changes to tabItem2 on the form load event, the BindingSource does not get populated with any data, even though the code is being run.
Even more interesting, if you breakpoint the code 'this.inTabComboSource.DataSource = dm2;', you can see that the BindingSource.Count = 0, BUT.... the BindingSource.DataSource property has 10 items in it!
This ONLY happens when you programmatically switch the SelectedTab. If the user clicks on the tab to switch it, it works perfect! Is there some cross thread issues going on that I am not seeing?
After the form loads, if you manually switch the tabs, the BindingSource will be populated, and you will get the items in the combo box and list box.
Has anyone else run into this problem? If so, have you been able to solve it?