New Item added to DataBound list not shown until scrolling

2 posts, 0 answers
  1. Kevin
    Kevin avatar
    6 posts
    Member since:
    Jun 2016

    Posted 09 May 2017 Link to this post

    I think this might be a bug, but I have found an problem with the carousel. If I add a new Item to the collection it is displayed in the carousel as expected. If I now remove this Item from the list and Add a new Item I see an empty carousel and I have to scroll first before I see the item.
  2. Dilyan Traykov
    Dilyan Traykov avatar
    1073 posts

    Posted 12 May 2017 Link to this post

    Hello Kevin,

    This behavior is actually expected as the control is designed this way. Similar scenarios have been discussed in the following threads: thread 1, thread 2.

    As suggested there, if you need to manually center the new item, you should call the BringDataItemIntoView on the newly added item.

    Do let me know if this works for you.

    Dilyan Traykov
    Telerik by Progress
    Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Back to Top