This is a migrated thread and some comments may be shown as answers.

Data loading indicator

3 Answers 34 Views
DataBoundListBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Scott
Top achievements
Rank 1
Scott asked on 20 Mar 2015, 07:47 PM
I have a DataBoundListBox bound to an instance of an IncrementalLoadingCollection. I'd like to display a progress ring during the async fetch operation (the LoadMoreItemsAsync call) both during the initial load and during a refresh operation. I know I can use the EmptyTemplate/EmptyContent properties to achieve this (since that's what one of the samples does) but it seems like that would prevent me from using those properties when the content really is empty.

What's the right way to know that data is being loaded to display a progress indicator to the user?

3 Answers, 1 is accepted

Sort by
0
Tsvyatko
Telerik team
answered on 25 Mar 2015, 12:50 PM
Hi Scott,

Thank you for contacting us! Currently the best option is to use external busy indicator for displaying the progress. I have prepared sample project demonstrating how this can be achieved.

In the upcoming official release we will provide built-in support that will handle these scenarios.

Regards,
Tsvyatko
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
0
Scott
Top achievements
Rank 1
answered on 25 Mar 2015, 04:29 PM
Tsvyatko,

Thanks for the sample project, but unfortunately it's using what appears to be an unreleased version of the controls (version 2015.1.317.45 where the currently released version is 2015.1.226.45) so the EmptyContentDisplayMode enum does not have a value for None.

Also, binding the visibility works great if you only have a single IncrementalLoadingCollection in the view model. In my case, I have several collections. In the method used in the LoadMoreItemsAsync call, I can set the IsBusy property to true but, since there are multiple DataBoundListBox instances on the page, they all hide when any one is performing an action. Obviously, this isn't really the desired behavior.

When will this functionality make it into a release that I can use and, important for my scenario, will it work properly when there are multiple IncrementalLoadingCollections and multiple DataBoundListBox instances on the page?
0
Tsvyatko
Telerik team
answered on 27 Mar 2015, 09:50 AM
Hello Scott,

We have planned to include this in our next official release scheduled for the mid of April.

Regarding version 2015.1.317 - it is our latest internal build which can be accessed from Downloads section of Your Telerik Account.


If you have any further questions do not hesitate to contact us.

Regards,
Tsvyatko
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
Tags
DataBoundListBox
Asked by
Scott
Top achievements
Rank 1
Answers by
Tsvyatko
Telerik team
Scott
Top achievements
Rank 1
Share this question
or