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

ControlBar docking with toolbars

Thread ID:





58397 Mar 23,2007 08:16 AM UTC Apr 4,2007 07:45 AM UTC WinForms 2
Tags: Tools
Administrator [Syncfusion]
Asked On March 23, 2007 08:16 AM UTC


We want to use the ControlBar control as a task pane much like in Excel, docked to the right of the form.

However, since we are using a ToolStripContainer (the standard WinForms one) to contain the ToolStripEx controls, we can not get the ControlBar to sit underneath the toolbars. Instead it takes up all the space on the right up to the main menu.

I suspect since the main menu is managed by the same manager as the ControlBar, it knows the ControlBar should sit underneath it whereas it just considers the ToolStripContainer as another panel that fills the space to the right.

Since I can't embed the ControlBar within a sub UserControl (like I can with the DockingManager) can you suggest any way we can get our ControlBar task pane to sit underneath any toolbars we have? Otherwise, it just looks strange. A screen shot is attached.



P.S. We did originally have our app using the BarManager add toolbars but we found the controls too basic - can we add the standard controls such as ToolStripTextBox to a BarManager's toolbar?

taskpane problem.zip

Golda Rebecal [Syncfusion]
Replied On March 27, 2007 06:41 AM UTC

Hi Jas,

You can use the MainFrameBarManager's Detached CommandBar to host any control and you can use the ControlBar so that it will be placed underneath the CommandBar.

Please have a look at the attached sample and let me know if this meets your requirement.

Thanks for your interest in Syncfusion products.


Best Regards,

James Sandys-Lumsdaine
Replied On April 4, 2007 07:45 AM UTC

Thanks for the reply and example - I shall see if that helps out my problem.


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