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.

PopupContainer BeforeCloseup REASON

Thread ID:

Created:

Updated:

Platform:

Replies:

72754 Apr 3,2008 02:54 AM Apr 9,2008 05:06 AM Windows Forms 1
loading
Tags: Tools
ERobishaw
Asked On April 3, 2008 02:54 AM

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 05:06 AM


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",

MessageBoxButtons.YesNo)==DialogResult.No)
arg.Cancel = true;
}


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

http://websamples.syncfusion.com/samples/Tools.Windows/F72754/main.htm

Please provide me more details if I misunderstood your requirement.

Regards,
Asem.



CONFIRMATION

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.

;