Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
415
BeforeDropDown event does not fire when inside an ultragrid
posted

I have a UltraCalender combo on my form. Using code it is added to a column on my ultragrid. When I run the app I can see both the combo on the form, and the one inside the grid. When I click the one on the form the BeforeDropDown event fires. When I click the one in the grid the event does not fire.

I really hope this is not a bug...

  • 69832
    Suggested Answer
    Offline posted

    No, it isn't; when embedded in a grid the control's events do not fire. I don't remember but maybe the grid's BeforeCellListDropDown fires...if that doesn't work, you can hook the CalendarComboEditor's BeforeDropDown event. You can cast the column.EditorResolved to type Infragistics.Win.UltraWinSchedule.CalendarCombo.CalendarComboEditor and you will see that this class exposes a BeforeDropDown event.