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

How to change order in RadPaneGroups

4 Answers 140 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Maurizio
Top achievements
Rank 2
Maurizio asked on 19 Nov 2014, 09:34 AM
I want to change the order of RadPanes in a RadPaneGroup. Obviously others already had the same problem:

http://www.telerik.com/forums/how-to-change-tab-order-in-radpanegroup

In it above post. There is a Link to your PITS given, that does not work. So how is the status, now that the issue occurred four years ago?


(BTW: PITS looks shitty when you visit it wit an Opera Browser)

4 Answers, 1 is accepted

Sort by
0
Maurizio
Top achievements
Rank 2
answered on 19 Nov 2014, 12:57 PM
Since RadPaneGroup.Items is a CollectionView, I tried to set a SortDescription, hoping that the items (Panes) would stay in alphabetical order after pinning and unpinning:


myPaneGroup.Items.SortDescriptions.Add(new System.ComponentModel.SortDescription("CustomerName", System.ComponentModel.ListSortDirection.Ascending));


- in vain. Instead of sorting, the whole PaneGroup vanishes to Nirvana...
0
George
Telerik team
answered on 20 Nov 2014, 03:10 PM
Hi Peter,

Reordering of panes is already implemented for RadDocking control, however is disabled by default. You could enabled it by setting RadDocking.AllowDragReorder property. For more information please refer to the following link.

Hope this helps.

Regards,
George
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Maurizio
Top achievements
Rank 2
answered on 20 Nov 2014, 05:59 PM
Hi George,

thats not what I want. I want to to a programmatic reordering, not Drag&Drop reordering. 

The problem is the following: I want the tabs to stay in exactly this order: Pane1, Pane2, Pane3. When the user pins Pane1 and then unpins it again, I'll get the order Pane2, Pane3, Pane1, because Pane1 seems to be added to the list of tabs at the end.

How can I do a programmatic reordering - or even better how can I tell the RadPaneGroup: "Keep your panes exactly in this order!"

0
George
Telerik team
answered on 24 Nov 2014, 03:40 PM
Hi Peter,

The described behavior is not supported with the current RadDocking version. However there is a feature request which is already logged in our feedback portal here where you can vote for it and we will consider implementing it for our next releases if it gets high customers demand. We are not aware of any workarounds at this point.

Regards,
George
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Docking
Asked by
Maurizio
Top achievements
Rank 2
Answers by
Maurizio
Top achievements
Rank 2
George
Telerik team
Share this question
or