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
305
Ultra Combo throwing Destination Array was not enough long error.
posted

Hi Team,

This is regarding UltraCombo Control (Under Namespace - Infragistics.Win.UltraWinGrid, version 13.1)

Scenario :

The ultracombo control is subscribed to dynamic data updates on the fly.

consider the control is initialized with 1500 count on the screen, after sometime say service send some updates with 700 count. The Subscribed event say ListChange() is called where the control's datasource is assigned again.

say,

ultracombo1.DataSource = NewUpdateDataList;

Now if user try to type and search for some records at some cases it throws exception. 

Below exception is given :

Requesting the team to shed some light why its working in a weird way.

Please help me understanding what are the possible causes for this issue.

Thanks,

Pratik

Parents
No Data
Reply
  • 469350
    Offline posted

    Hi Pratik, 

    What exactly do you mean by "The ultracombo control is subscribed to dynamic data updates on the fly." The UltraCombo has a DataSource and it listens to notifications from the IBindingList interface. That's the only subscription to notifications that I am aware of. 

    From your description, this has strong connotations of a threading issue. You mentioned a service and that you are rebinding the UltraCombo to a new data source. My guess is that your service is running on another thread and you are crossing threads here without proper marshaling.

Children