Toolwindow doesn't Dock Fill the RadDock Control

5 posts, 0 answers
  1. Ravi Prakash
    Ravi Prakash avatar
    21 posts
    Member since:
    Jan 2010

    Posted 07 May 2010 Link to this post

    Hi ,

    I have done an application,in that we have 3 split panels,in the 3rd split panel i have added Rad Dock control .In this Rad dock we are adding 3 Tool Windows programatically.My problem is when any of the Tool window is Docked it is not occupying the whole Rad Dock space[means Dock fill].and if all the 3 tool windows are Auto hide[means not dock able] we want the Split panel 2 should occupy half of the space of Split panel3.

    Please find the  attached images.

    Thank you,
    Ravi
  2. Nikolay
    Admin
    Nikolay avatar
    1803 posts

    Posted 13 May 2010 Link to this post

    Hi Ravi Prakash,

    Please find the answer to your question in the following forum thread:
    http://www.telerik.com/community/forums/winforms/dock/toolwindows-not-draggable-when-it-is-placed-in-splitpanel.aspx

    In case you need further assistance, feel free to contact me.

    Kind regards,
    Nikolay
    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. UI for WinForms is Visual Studio 2017 Ready
  4. msulis
    msulis avatar
    17 posts
    Member since:
    Apr 2007

    Posted 31 May 2010 Link to this post

    This may not help you specifically, but in my case it was solved by setting the RadDock's MainDocumentContainerVisible to false. This seems to be needed if all your regions are simply toolwindows, and there's no "main" MDI type zone defined.
  5. Seshu
    Seshu avatar
    3 posts
    Member since:
    Nov 2012

    Posted 25 Feb 2014 Link to this post

    I have Split container with split panels. I have a user control with a tree control in it.
    I would like dock it to left panel (same size of the panel). How can I dock it to parent panel?
    I am using leftTopPanel.Controls.Add(new test()); to add control. And test() is my user control.

    How can I dock this control to parent panel?

    Thanks for the help
    Seshu.
  6. Dess
    Admin
    Dess avatar
    1601 posts

    Posted 28 Feb 2014 Link to this post

    Hello Seshu,

    Thank you for contacting us.

    You can use the UserControl.Dock property to dock it to the parent panel:
    public Form1()
    {
        InitializeComponent();
     
        UserControl1 uc = new UserControl1();
        uc.Dock = DockStyle.Fill;
        this.radSplitContainer1.SplitPanels[0].Controls.Add(uc);
    }

    I hope this information helps. Should you have further questions, I would be glad to help.

    Regards,
    Desislava
    Telerik
Back to Top
UI for WinForms is Visual Studio 2017 Ready