RadDataBoundListBox uses the off-thread Manipulation
approach to boost scrolling performance so you should not experience any performance issues when the UI thread is locked. However, I presume you are talking about the asynchronous way the DataService
Xxx collections download data that is different compared to other approaches. This however, is functionality that depends on the way you have implemented the data downloading in your app, RadDataBoundListBox does not handle this. It simply visualizes the data and tells you when to fetch new portion of it from your source, be it a Web Service or a local collection.
As for using List<T> or ObservableCollection<T> with RadDataBoundListBox: it simply does not matter what your source collection is. If you are using ObservableCollection<T> you can add the first 20 items you want to display and when you receive the DataRequested event you should download the next 20 and append them to your ObservableCollection when they come.
As you may have already seen, our examples that use the OnDemand
functionality do not
really use the DataService
classes as a source. They are simply used to fetch data from a webservice. We have an ObservableCollection
that is bound to the ItemsSource
property of the control and fill this collection on the UI
thread with the data that has been fetched from the Web Service
In case you think I do not completely understand your scenario, I would recommend you to prepare a sample project where you demonstrate the case so that I can directly take a look and see how I can help.
In order to attach files you should open a new support ticket.
Thanks for your time.
All the best,
the Telerik team
Sharpen your .NET Ninja skills
! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>