How to set order of the tab items

3 posts, 0 answers
  1. Lancelot
    Lancelot avatar
    5 posts
    Member since:
    Dec 2009

    Posted 25 Aug 2010 Link to this post

    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 ( Snippet
    AllowDragReorder="True")".
    I'm looking forward to hearing form you
    Best Regards!
                    
    
  2. Miroslav
    Admin
    Miroslav avatar
    922 posts

    Posted 26 Aug 2010 Link to this post

    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
  3. DevCraft banner
  4. Lancelot
    Lancelot avatar
    5 posts
    Member since:
    Dec 2009

    Posted 28 Aug 2010 Link to this post

    Hi Miroslav !
    It's work for me, thanks for helping!
    Best regards!
Back to Top