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

Show PopupControlContainer upon ToolsStripEX DropDown

Thread ID:





71315 Jan 25,2008 08:25 PM UTC Feb 10,2008 05:33 PM UTC WinForms 3
Tags: Tools
Asked On January 25, 2008 08:25 PM UTC

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 10:43 PM UTC

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 05:36 AM UTC

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 05:33 PM UTC

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.

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