Hallo,
I have a object data source with a high band depth. Because of the huge data I want to load the data in a other thread. This is my way:
But I have several problems:
Now my question: Is it possible to load the data in the backgound thread? If yes: How?
If you know it: I'm using CSLA
My lists implements following interfaces:
IList<T>, ICollection<T>, IEnumerable<T>, IList, ICollection, IEnumerable, IBindingList, ICancelAddNew, IRaiseItemChangedEvents
But not the INotifyPropertyChange interface.
Thanks for idea with the INotifyPropertyChange. I will test it.
Hi,what type of lists do you use to hold your business objects? And implementing your business objects the INotifyPropertyChange interface?If the data loading functions are working well but only the ultragrid will not be updated after changing objects in the lists, maybe it is a problem of notifying property changings to the grid.
Tomorrow I will do some tests because in the near future I'm getting the same problem. Maybe we can solve the problem together :-)
Typical error is not synchronizing with the UI thread (which may result in different strange effects). Posting the code you'll definitely help understanding what's going on in your app
Hi,
I'm holding my data in BusinessObjects. I'm replacing my dummy in my object.
The possibility "Loading data when [+] is clicked" is in my case not good. I want to load the data complete. But I want to give the user the possibility to view the data which is already loaded.
But thank's for reply
Hi,how do you hold the data? Do you using a dataset? And how do you replace the dummies with the real data?
myDataSet.Tables["Orderdetails"].Merge(childDataTable, true, MissingSchemaAction.Add);
The dmmies will be replaced using the Merge function. Maybe this will help.....