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

Toolwindow doesn't Dock Fill the RadDock Control

4 Answers 254 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Ravi Prakash
Top achievements
Rank 1
Ravi Prakash asked on 07 May 2010, 01:30 PM
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

4 Answers, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 13 May 2010, 09:36 AM
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.
0
msulis
Top achievements
Rank 1
answered on 31 May 2010, 08:39 PM
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.
0
Seshu
Top achievements
Rank 1
answered on 25 Feb 2014, 04:00 PM
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.
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 28 Feb 2014, 01:00 PM
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
Tags
Dock
Asked by
Ravi Prakash
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
msulis
Top achievements
Rank 1
Seshu
Top achievements
Rank 1
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or