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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

DockingManager issues

Thread ID:





65285 Jul 25,2007 07:01 PM UTC Aug 1,2007 04:01 PM UTC WinForms 2
Tags: Tools
Asked On July 25, 2007 07:01 PM UTC

I am using Essential studio I am using the docking manager and have set my windows to float and tab upon each other. I create the control programatically and then add it to the docking manager. When I click the tab the control disapears. I can only think it is being docked onto the main form. And I am unable to make it visible again. Is this a version problem or is there a way I can only allow a control to float or tab upon other controls and not the main form?



Ajish [Syncfusion]
Replied On July 31, 2007 11:54 PM UTC

Hi John,

I was unable to reproduce the issue. We tested this issue with the following sample,

Sample: http://websamples.syncfusion.com/samples/Tools.Windows/F65285/main.htm

Here is the video file on the steps that I followed in order to test this issue.


Kindly take a look at the sample and provide us with more details to reproduce the issue. This would help us investigate further on this issue.


Replied On August 1, 2007 04:01 PM UTC

Well I did figure out that once you double click on a tab it docks with the parent form. I figured out a way to prevent the control to be docked on the main form by using this code

private void dockingManager1_DragAllow(object sender, Syncfusion.Windows.Forms.Tools.DragAllowEventArgs arg)
DockHost dhost = arg.Control.Parent as DockHost;
DockHostController dhc = dhost.InternalController as DockHostController;
if(dhc.ParentController is DockTabController)
DockTabControl docktab = (dhc.ParentController as DockTabController).TabControl;
foreach(DockTabPage tabpage in docktab.TabPages)
arg.Cancel = true;

I can also prevent the caption bar double click by using float only. Is there a way to have the control that is tabbed open up in a seperate window when the tab is double clicked instead of redocking with the parent form?


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