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
615
SelectionChanged event on UltraComboEditor not fired at the right time.
posted

I have a Winform with an UltraToolbarsManager (toolbarsManager) control, if I change the UltraComboEditor customerCombo control value (selecting a value from the dropdownlist) and then select an option from the toolbar, the customerCombo_SelectionChanged event is not fired until I close the window. How to fire the event BEFORE toolbarsManager_ToolClick event? Thanks.

By the way, I'm using NetAdvantange for .NET version 12.2.20122.2006

Parents
  • 469350
    Offline posted

    UltraToolbarsManager, like any toolbar, doesn't take focus. It can't because if it did, you would not be able to implement any buttons that rely on the current active control on the form. For example: cut, copy, and paste would be impossible, since you wouldn't know which control to apply them to.

    If you select an item from the list, I would think that SelectedChanged would fire immediately, though. I don't see any reason why that should not fire until the control loses focus. But... if that's happening for whatever reason, you probably just have to call the Validate method on the form to validate any controls with pending changes.

Reply Children