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.

Show PopupControlContainer upon ToolsStripEX DropDown

Thread ID:





71315 Jan 25,2008 03:25 PM Feb 10,2008 12:33 PM Windows Forms 3
Tags: Tools
Asked On January 25, 2008 03:25 PM

Using a ToolsStripEX I want to show a PopupControlContainer using a Drop Down type menu button.
(For variuos reasons, I don't want to use the XPToolMenu)

In the DropDownOpening, how do I show the PopupContainer at the proper placement?

I can't seem to determine the toolStripDropDownButton's location.

Sri Rajan [Syncfusion]
Replied On January 29, 2008 05:43 PM

Hi ERobishaw,

Thank you for your interest in Syncfusion products.

Please use the below code snippet to show a PopupControlContainer when you open the drop down dropdown button in ToolsStripEX.

private void toolStripDropDownButton1_DropDownOpening(object sender, EventArgs e)
Point pt=new Point(this.toolStripDropDownButton1.Bounds.X+this.toolStripDropDownButton1.Bounds.Width,this.toolStripDropDownButton1.Bounds.Y+this.toolStripDropDownButton1.Bounds.Height+40);

Please refer the below sample for more details.

Please let me know if this helps.


Replied On January 30, 2008 12:36 AM

Thanks, one thing:

Is there an easy way to have to toolstrip button stay orange (looking like its selected) while the popup is showing? I'm looking to emulate the behavior of the XPToolbar control's buttons w/ a popup in them.

Administrator [Syncfusion]
Replied On February 10, 2008 12:33 PM

Hi ERobishaw,

Sorry for the delayed response.

You can have toolstripbutton to stay selected while the popup is showing using following code snippet.


private void toolStripDropDownButton1_MouseLeave(object sender, EventArgs e)
if (!this.toolStripDropDownButton1.Pressed)


Sample reference

Please refer the sample that illustrates the same.




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.

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.