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

Getting the dockingManager object from a UserControl dinamically

Thread ID:





74407 Jun 11,2008 01:13 PM UTC Jun 13,2008 10:00 AM UTC WinForms 1
Tags: Tools
Kamalakkannan Narayanan
Asked On June 11, 2008 01:13 PM UTC

I have added DockingManager to an usercontrol in design time.
At run time i have created the userControl object and trying to access all the controls added to it. But the control name differs
for eg:
I have added an GradiantPanel with name gpParent, while iam getting its name as dockHost_gpPrent while trying to acces as i said above.

Please help to access all the controls which i have added dynamically to the dockingManager of that usercontrol.

Also i want to know how to get the DockingManger control attached to the Usercontrol object, so that i can use controls array to get all the controls.

Mano J [Syncfusion]
Replied On June 13, 2008 10:00 AM UTC

Hi Kamalakkannan,

Thanks for using Syncfusion products.

Did you try using dockingManager's ControlsArray as shown below?

foreach (Control ctrl in this.dockingManager1.ControlsArray)

This will show the control name as mentioned (gpParent).

Please refer to the below sample and let me know if you see any problem.

Best Regards,



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