This is a migrated thread and some comments may be shown as answers.

How to set order of the tab items

2 Answers 72 Views
TabControl
This is a migrated thread and some comments may be shown as answers.
Lancelot
Top achievements
Rank 1
Lancelot asked on 25 Aug 2010, 10:04 AM
Hi Telerik!

My Form has a RabTabControl with many RadTabItem and I allow customers to reorder them. After reordering, the order is stored in isolated storage to I can arrange tab items whenever the form is loaded. I would like to know: "Is there a property or method to set order of tab items along stored order " Or "your approach to swap tab items when drag & drop to reorder them (
AllowDragReorder="True")".
I'm looking forward to hearing form you
Best Regards!
                

2 Answers, 1 is accepted

Sort by
0
Miroslav
Telerik team
answered on 26 Aug 2010, 01:09 PM
Hi Lancelot,

The order of the items depends solely on their order in the ItemsSource / Items collection. AllowDragReorder="true" allows the user action of reordering the items but it is again achieved by reordering them in the Items(Source) collection.

I can suggest sorting the items(source) before initializing the TabControl according to your saved data..

Regards,
Miroslav
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
Lancelot
Top achievements
Rank 1
answered on 28 Aug 2010, 05:32 AM
Hi Miroslav !
It's work for me, thanks for helping!
Best regards!
Tags
TabControl
Asked by
Lancelot
Top achievements
Rank 1
Answers by
Miroslav
Telerik team
Lancelot
Top achievements
Rank 1
Share this question
or