allows only one tab to be selected at a time. Which means that as soon as you trigger a change in the selection through modifications in the ViewModel
, the RadTabControl
triggers its selection changing logic trying to change the selection. And in order to allow the control to swiftly change the IsSelected
values of both tabs, I'd recommend using a TwoWay
Also, I noticed that you've set the Items and ItemsSource
collections of the control. However, please note that you can't set both properties simultaneously. Instead, you need to decide whether you'll use the Items collection by defining RadTabItems
in xaml or code behind or you need to populate the RadTabControl
from a collection with business items. The ItemsSource
property allows you to use a business collection to dynamically generate RadTabItems
that wrap the business data as demonstrated in this tutorial
In your case you can remove the ItemsSource
property altogether. Please give this a try and also use a TwoWay
binding for the IsSelected
properties and let me know if you still experience issues with your implementation.
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>