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
2077
UltraCombo with data binding - performance issue when bound to 20k records
posted

Hi,

On a form I have 4 UltraCombos (2 x product code, product name) bound to a 2 properties (product1 code, product2 code) on a entity. The combos' data source is made of 20k product records. The combos are bound to 2 bindingsources, one for product1, the other for product2.

The editing form load extremely slow when the two properties on the entity is bound using DataBindings to the combo's values.

What can I do to speed it up?

The form is created only once, when the app is started. The products list is bound to the BindingSources at the same time. The form is shown only when the user add a new entit, or modifies an existing one.

Parents
No Data
Reply
  • 469350
    Offline posted

    Hi,

    I'm a little fuzzy on exactly how you have thing set up. You say you have 4 UltraCombos bound to 2 properties? How does that work? The other two combo's are unbound?

    When you say ' bound' are you referring to the list? Or are you binding the Value or Text property on the control? If the latter, does not binding the ValueText make any difference to the performance? 

    Does the form load faster if you don't bind the Combos, but still load the data from the data source?

    Are you handling any events on the combos?

    Have you read the WinGrid Performance Guide? UltraCombo is derived from the same base class as UltraGrid, so many of the same performance issues apply.

    Also, what version are you using?

Children