I am using ultradockmanager with 12 dockapanes set as left tabs. The issue is when I drag a tab and when I leave the order of the tabs are changed. Please tell me how to resolve this. I need to preserve the order of the tabs always, even when some of the tabs are floating, and then docked it should go to the same position as before.
Thanks in Advance
jeni
Here is the sample
Hello Jeni,
I made small sample for you. Could you please take a look at the attached sample and video file for more details and let me know if you have any questions.
Regards
Hello
I would like to know the parameters of RepositiontoPane(). Please describe it on the basis of the sample given
Tab1 -- UltraPanel1
Tab2 -- UltraPanel2
Tab3 -- UltraPanel3
I am using AfterDockChange event, can you please mention the exact event that is raised on the drag and finally on drop of the tabs.
Jeni
At that moment we have not such kind functionality by default, but maybe you could try one of these two options below:
option 1: you could try to use ultraDockManager1.ControlPanes[0].RepositionToPane() method, and when you docked your pane, you could set desired posion.
option 2; you could save your UltraDockManager`s layout using ultraDockManager1.SaveAsXML("..\\..\\Test.xml"); method. After that when you dock back your pane, you could load the layout using ultraDockManager1.LoadFromXML("..\\..\\Test.xml"); method. By this way you will keep the same layout.
Let me know if you have any questions.