Auto Scroll to Top

2 posts, 0 answers
  1. Yi
    Yi avatar
    6 posts
    Member since:
    Jul 2013

    Posted 13 Jan 2014 Link to this post

    I wanna to make Auto Scroll to Top. Press a button, the view would move to the top of the current page.

    My solution is:
    window.scrollTo(0, 0);

    However, it didn't work.

    Any other methods to make it?
  2. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 16 Jan 2014 Link to this post

    Hello Yi,

    If you're using Kendo UI Mobile, you should use the scrollTo method of the view scroller.

    Regards,
    Steve
    Telerik
    You've missed the Icenium Visual Studio Integration keynote? It has been recorded and posted here.
    Looking for tips & tricks directly from the Icenium team? Check out our blog!
    Share feedback and vote for features on our Feedback Portal.
Back to Top