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

Issue regarding one Panel Draging into other

3 Answers 34 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Haroon
Top achievements
Rank 1
Haroon asked on 17 Jan 2008, 10:16 AM

Hi

I am using a RadDockingManager and just faced an issue

That’s is like if I drags a docking panel (say RadPanel1) into the other docking panel (say RadPanel2)  at run time then RadPanel1 acquires the properties of RadPanel2. For example the major problem in this is that I have RadPanel1’s docking position as “bottom” while the docking position property of RadPanel2 is “Left” and now if the user drags the RadPanel1 widows and place it at the bottom of RadPanel2 then on auto hiding mode the panel collapsed towards left and but what I want is that the RadPanel1 should continue collapsing down (even if it is place inside RadPanel2). Can u please help me in this issue?

P.S. I even tried to change the property of RadPanel1.DockPosition to bottom after been place in RadPanel2. which don’t works even.

Regards,
Haroon.

3 Answers, 1 is accepted

Sort by
0
Julian Benkov
Telerik team
answered on 18 Jan 2008, 12:30 PM
Hello Haroon,

Thank you for writing.

Please directly set the Dock property of RadPanel2 to Bottom using the following code snippet:

dockingManager1.SetDock(dockPanel1, DockPosition.Bottom); 

In this case, the AutoHide position will be set to Bottom.

I hope this was helpful. If you have any additional questions, please contact us.

Kind regards,
Julian Benkov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Haroon
Top achievements
Rank 1
answered on 21 Jan 2008, 06:37 AM

Hi Julian Benkov and whole Telerik team,

Thank you so your quick response.

I did try to implement the code you sent me but unfortunately didn't work for me.
As per your code it changes my RadPanel1 docking position to bottom as well (which is not desired). What I want is that the RadPanel1 continue docking to left while my RadPanel2 start docking to the bottom of RadPanel1. Please guide me in this matter.

Regards,

Haroon.

0
Julian Benkov
Telerik team
answered on 22 Jan 2008, 09:19 AM
Hi Haroon,

Thank you for writing.

This is not supported behavior when RadPanel2 is docked to host RadPanel1. In this case RadPanel2  inherits its AutoHide position from its host. In future releases we will consider including API for manipulation AutoHide position.

Sorry for the inconvenience.

If you have additional questions, please let us know.

All the best,
Julian Benkov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Dock
Asked by
Haroon
Top achievements
Rank 1
Answers by
Julian Benkov
Telerik team
Haroon
Top achievements
Rank 1
Share this question
or