Issue regarding one Panel Draging into other

4 posts, 0 answers
  1. Haroon
    Haroon avatar
    38 posts
    Member since:
    Dec 2007

    Posted 17 Jan 2008 Link to this post

    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.

  2. Julian Benkov
    Admin
    Julian Benkov avatar
    1135 posts

    Posted 18 Jan 2008 Link to this post

    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
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Haroon
    Haroon avatar
    38 posts
    Member since:
    Dec 2007

    Posted 21 Jan 2008 Link to this post

    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.

  5. Julian Benkov
    Admin
    Julian Benkov avatar
    1135 posts

    Posted 22 Jan 2008 Link to this post

    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
Back to Top