I'm trying to enable tabs reordering, but it works only when items are set in xaml.
This works:
And this don't
How to make this work with binding?
This works:
<
t:RadTabControl
AllowDragReorder
=
"True"
x:Name
=
"radTabControl1"
>
<
t:RadTabItem
Header
=
"item1"
/>
<
t:RadTabItem
Header
=
"item2"
/>
<
t:RadTabItem
Header
=
"item3"
/>
</
t:RadTabControl
>
And this don't
<
t:RadTabControl
AllowDragReorder
=
"True"
x:Name
=
"radTabControl1"
ItemsSource
=
"{Binding list}"
/>
How to make this work with binding?
5 Answers, 1 is accepted
0
Accepted
Hello Roman,
I am unable to reproduce this issue in our environment. Could you please have a look at my test project and let me know if I am have missed something ?
Kind regards,
Petar Mladenov
the Telerik team
I am unable to reproduce this issue in our environment. Could you please have a look at my test project and let me know if I am have missed something ?
Kind regards,
Petar Mladenov
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? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0

Roman
Top achievements
Rank 1
answered on 11 May 2011, 02:31 PM
My code didn't work because I used List instead of ObservableCollection
0
Hello Roman,
Yes. I forgot to mention that ObservableCollection<> is very suitable in scenarios when you make changes both in the UI and in the ViewModel. ObservableCollection implements ICollectionChanged and IPropertyChanged interface and this way every change in the ViewModel is automatically reflected in the UI.
Kind regards,
Petar Mladenov
the Telerik team
Yes. I forgot to mention that ObservableCollection<> is very suitable in scenarios when you make changes both in the UI and in the ViewModel. ObservableCollection implements ICollectionChanged and IPropertyChanged interface and this way every change in the ViewModel is automatically reflected in the UI.
Kind regards,
Petar Mladenov
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? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0

Corey
Top achievements
Rank 1
answered on 08 Nov 2011, 09:04 PM
The DLLs you included in this demo are version 2011.1.0315.40.
I am currenting using version 2011.2.0920.35.
RadTabControl reordering is not working for my current version through Data Binding on the ItemsSource. If I reference your version of DLLs, it works.
Thanks,
Corey
I am currenting using version 2011.2.0920.35.
RadTabControl reordering is not working for my current version through Data Binding on the ItemsSource. If I reference your version of DLLs, it works.
Thanks,
Corey
0
Hello Corey,
Petar Mladenov
the Telerik team
We managed to reproduce this issue with the 920 (Q2 2011 SP) dlls. The good news is that this is already resolved and the fix will be included in the upcoming Q3 2011 Official Release.
Please excuse us for the inconvenience caused.
Petar Mladenov
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>