We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Docking Control Question

Thread ID:





189 Apr 23,2002 01:04 PM UTC Apr 23,2002 05:17 PM UTC WinForms 1
Tags: Tools
Asked On April 23, 2002 01:04 PM UTC

I'm trying to adding the docking control functionality to an existing application and this does not seem to be a very possible action. I'm not sure if everything needs to be incorporated into a Docking Client panel then add the docking manager or what. Add to that, that when I simply try to add the docking manager to the existing application, I'm getting a invalid cast error. I need some assistance on this.

Prakash S [Syncfusion]
Replied On April 23, 2002 05:17 PM UTC

Doug, The DockingClientPanel class should be used only with those forms that do not have the Form.MdiContainer property set. Assuming that your form is a non-MDIContainer form, docking support may be added through the following sequence of steps, 1. Add the DockingManager component to the form. 2. Add an instance of the DockingClientPanel control to the form. 3. Resize the DockingClientPanel control so that it is large enough to accomodate the non-dockable controls on the form. Move all non-dockable controls from the form to the DockingClientPanel class. 4. Turn on the EnableDocking property for the applicable controls that still remain on the form. These will be transformed into docking windows. 5. Finally set the DockingClienPanel.SizeToFit property to TRUE. As for getting an error message when adding an instance of the DockingManager, this seems to be specific to your application. I will look into your sample and provide you with an update. Prakash Syncfusion, Inc.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon