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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

ActivateControl

Thread ID:

Created:

Updated:

Platform:

Replies:

1913 Dec 4,2002 12:58 AM Dec 4,2002 07:14 AM Windows Forms 1
loading
Tags: Tools
Kai Iske
Asked On December 4, 2002 12:58 AM

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 07:14 AM

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.

CONFIRMATION

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.

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

;