RadListView with RadDataPager next page displays bottom of the page

3 posts, 0 answers
  1. Sakshi
    Sakshi avatar
    10 posts
    Member since:
    Jun 2012

    Posted 30 Jun 2012 Link to this post

    Hi,

    Anyone has an idea if this is a bug or need to set something?

    I have a RadListView with RadDataPager.
    When I click on the next icon of the pager on the bottom of my page, I want to see the top of the page, I verified the demo at below link  from telerik, the demo also shows the same,when you click on the next page icon, the page need to be loaded with data and top of the screen should appear.

    http://demos.telerik.com/aspnet-ajax/listview/examples/paging/integratedpaging/defaultcs.aspx 

    Right Now it loads the data and my screen will be same as before except with new data,as though nothing happened.

    Thanks for checking my post, and I appreciate if someone can help me out on this.

  2. Compton
    Compton avatar
    3 posts
    Member since:
    Feb 2012

    Posted 23 Oct 2012 Link to this post

    Did you ever find a workaround for this?
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Radoslav
    Admin
    Radoslav avatar
    1564 posts

    Posted 26 Oct 2012 Link to this post

    Hi Compton,

    The described behavior is expected because the ajax is used on the page. If you want to reload the page and scroll to top you could try removing the RadAjaxManager or any ajax on the page. The other option is to move the scroll manual on the top of the page. On the following link you could find additional information on how to change the scrollbar position:
    http://stackoverflow.com/questions/1247874/changing-scrollbar-position
    You could register start up script which calls the function containing the code from the link when the ListView fires page command. Please give it try and let me know if it helps you.

    All the best,
    Radoslav
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top