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

listening to the DropDownBarItem DropDown button click event

Thread ID:

Created:

Updated:

Platform:

Replies:

19895 Oct 6,2004 03:34 AM UTC Oct 7,2004 02:03 AM UTC WinForms 1
loading
Tags: Tools
celeong
Asked On October 6, 2004 03:34 AM UTC

Hi, I am using the DropDownBarItem that hosts a PopupControlContainer. I''m trying to simulate a undo/redo toolbar button that exists inside the VS.Net IDE. The PopupControlContainer consists of a Listbox and Label. I would like to populate the listbox only when it popup, by listening to the BeforePopup event. The problem is I do not know which dropdown button on the DropDownBarItems that has been clicked. I''m re-using the same container for the undo and redo BarItems. Is there a work-around so that we could know which DropDownBarItem has invoked the PopupControlContainer? or is there an event for that?

Administrator [Syncfusion]
Replied On October 7, 2004 02:03 AM UTC

Hi Celeong, I do understand that its hard to determine which of the DropDownBarItems has caused the PopupControlContainer to be displayed. A workaround here is to use a different PopupControlContainer associated with each DropDownBarItem. Now handle the DropDownBarItem.PopupControlContainer.BeforePopup event and add the ListBox appropriately to whichever PopupControlContainer has popped up. Please refer to the test sample attached that illsutrates this. Let me know if this works for you. Thanks for your interest in Syncfusion products. Regards, Guru Patwal Syncfusion, Inc.

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.

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

;