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
710
End edit in ultracombo after drop down closed
posted

Hello, very basic question: I have a UltraCombo (DropDownList)

I would like to have the UltraCombo exit edit mode after a selection happens (when the dropdown closes). I have tried many events, but it does not work: the selected item remains selected after dropdown closes. This is not good for my users who complain that the value can then change if they use the mouse wheel.

I have tried events like this, but without success. Thanks for your help.

   private void combo_MouseLeave(object sender, EventArgs e)

        {

            combo.UpdateData();

        }

 

        private void combo_AfterEditorButtonCloseUp(object sender, Infragistics.Win.UltraWinEditors.EditorButtonEventArgs e)

        {

 

            combo.UpdateData();

 

        }

 

        private void combo_AfterCloseUp(object sender, EventArgs e)

        {

            combo.UpdateData();

        }

Parents
  • 469350
    Suggested Answer
    Offline posted

    Hi,

    I'm not sure, but I am pretty sure that the mouse wheel behavior has nothing to do with edit mode. The control probably responds to the mouse wheel whenever it has focus. So if that's the case, then what you want is to set the Focus to the next control in the tab order when in the AfterCloseUp event.

Reply Children
No Data