I couldn't reproduce your issue on our side but I am not really sure if I understand your scenario correctly.
Basically when I bind the RadComboBox.SelectedItem
and the RadTabControl.SelectedItem
properties with TwoWay
binding and I implement INotifyPropertyChanged
in my business class, the control works as expected.
However, by default the RadTabControl
creates only one ContentPresenter
for the currently selected TabItem
and uses it to display the content of this TabItem
. Then when you select another RadTabItem
, its content is rendered in the same ContentPresenter
and therefore the content of the previously selected item is removed from the visual tree thus not holding its state.
If you want to change that behavior and keep each RadTabItem
you can set the RadTabControl
property to True
. That might help you get over your issues.
Still, I attached the sample project I created to test your scenario so that you can have a look at it and let me know if it works for you or if I am missing something.
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Public Issue Tracking
system and vote to affect the priority of the items