Scroll to top?

Thread is closed for posting
2 posts, 1 answers
  1. Jessi
    Jessi avatar
    6 posts
    Member since:
    May 2014

    Posted 03 Jul 2014 Link to this post

    I want to scroll to the first item in the list. I don't see any thing in the documentation to scroll to the first item in the databoundlistbox. Is this possible?

    LongListSelector has "ScrollTo", but databoundlistbox does not seem to have one.
  2. Answer
    Dimitrina avatar
    442 posts

    Posted 08 Jul 2014 Link to this post

    Hi Jessi,

    In order to create a "go to top" button you have to use the BringInToView method. After you create the button, you  should subscribe for the tap event and call the BringInToView method with the first item from collection I would recommend examining the  demo named "performance" which demonstrates  this functionality  with the  databoundlistbox control.

    Please give it a try and let me know how it goes.


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top