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


Thread ID:





1913 Dec 4,2002 05:58 AM UTC Dec 4,2002 12:14 PM UTC WinForms 1
Tags: Tools
Kai Iske
Asked On December 4, 2002 05:58 AM UTC

Hi, I have a problem with ActivateControl() of the DockingManager: I have created a Form with a couple of docked windows with one docking window being tabbed (2 docking windows in one group). In my Form_Load I call up ActivateControl() to have one of the two tabbed windows being the active one. I have then cleared the Isolated Storage to make sure no data is available (and because of SP1). When I now run the application, I get an Assertion: "control has not been enabled for docking". Well, I thought, check whether the control is docked: IsFloating(); same thing: Assertion. Am I missing anything here? Regards Kai Iske DWS Investments

Prakash S [Syncfusion]
Replied On December 4, 2002 12:14 PM UTC

Kai, The Form.Load event is not a good place to perform any custom initialization of the docking windows layout, as the docking windows are in an as yet uninitialized state. You will have to do your initialization from a handler for the DockingManager.NewDockStateEndLoad event. Please refer to the following Tools KB article, http://www.syncfusion.com/KB/Tools/Tools_c35c.asp#q564q The latest Essential Suite 1.5 Service Pack 1 release includes a fix for the ActivateControl() method. Please download the 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