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

PopupContainer BeforeCloseup REASON

Thread ID:





72754 Apr 3,2008 06:54 AM UTC Apr 9,2008 09:06 AM UTC WinForms 1
Tags: Tools
Asked On April 3, 2008 06:54 AM UTC

When you close a popup, you have to specify a reason.

How can I get that REASON in the BeforeCloseUP event of the popupContainer control?

Administrator [Syncfusion]
Replied On April 9, 2008 09:06 AM UTC

Hi ERobishaw,

Thanks for using Syncfusion products.

If your intention is to remain the PopUp to be open when we click or select the control while closing the PopUp, you can do as follows.

private void dropDown_BeforeCloseup(object sender, CancelEventArgs arg)
if (MessageBox.Show("Close the dropdown list?", "Check",

arg.Cancel = true;

Please refer the sample in the below link that illustrates the above.


Please provide me more details if I misunderstood your requirement.



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