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
210
UI irresponsive after item selection in UltracomboEditor
posted

Hi, in my winform app i have several UltraComboEditor and whenever a user select a different item the UI get irresponsive because the UltraComboEditors retains focus and prevent other controls to get focused. This only happens when the user select a different item, if users click the same current item everithing is ok.

I have the UltraComboEditor bound to bindingsource controls which have the datasource as collections of bussines objects loaded from db, in those BO i overrided the ToString() property and that is the text displayed in the UltraComboEditors, no DisplayMember/ValueMember  used here, those UltraComboEditors are binded to a properties which reference entities.

Thanks for your help.

Elio

 

 

Parents
No Data
Reply
  • 469350
    Offline posted

    Hi Elio,

    Are you binding any properties of the control, like Value, in addition to binding the list? One reason this might be happening is if the ValueMember of the combo does not match the data type the value is bound to. The underlying data source might be raising an exception because of mismatched data types which the BindingManager is catching.

    Another thing to check is the LimitToList property. Has that been set to true? 

    Are you handling the Validating event of the control and cancelling that? 

Children