Data loading indicator

4 posts, 0 answers
  1. Scott
    Scott avatar
    4 posts
    Member since:
    May 2014

    Posted 20 Mar 2015 Link to this post

    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?
  2. Tsvyatko
    Admin
    Tsvyatko avatar
    833 posts

    Posted 25 Mar 2015 Link to this post

    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.

     
  3. Scott
    Scott avatar
    4 posts
    Member since:
    May 2014

    Posted 25 Mar 2015 in reply to Tsvyatko Link to this post

    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?
  4. Tsvyatko
    Admin
    Tsvyatko avatar
    833 posts

    Posted 27 Mar 2015 Link to this post

    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.

     
Back to Top