Scroll Bar Problems

2 posts, 0 answers
  1. Brygom
    Brygom avatar
    15 posts
    Member since:
    May 2009

    Posted 12 Apr 2010 Link to this post

    Hello! I have a small problem, I have a grid within a RadPane when I slide down and select a row in the grid the scroll bar is coming back up and I lose the selected row.
    As I can do to stop the scroll bar fixed and prevent a return to the top?

    Thanks for the help.
    Best regards.

    Bryan
  2. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 15 Apr 2010 Link to this post

    Hi Brygom,

    Would you please check whether you have set the PersistScrollPosition of the pane to true and if not - set it and test again?

    If this des not help I am not sure what causes this problem and what I can assume without having your code is that you are using AJAX and this is the reason for the issue. Losing the scroll position is a general problem when using AJAX and it is not directly related to RadControls. You can test my assumption by disabling AJAX in your demo for test purposes and check whether the problem disappears.

    If my assumption is correct what I suggest is to save the scroll position before the AJAX update  e.g in a hidden field and when the content is loaded to reset it back. You can find more information about this and also other techniques on how to persists the scroll position on the net, e.g you can start from here:

    http://www.google.bg/#hl=bg&source=hp&q=scroll+position+ajax&meta=&rlz=1R2WZPA_enBG347&aq=f&oq=scroll+position+ajax&fp=a0599798b4eb5972

    If my assumptions and suggestions do not help I will really need to examine a sample fully runnable reproduction demo (you can use a fake programmatic datasource for the grid) - please open a new support ticket and send me such along with detailed reproduction steps and I will do my best to help.

    Regards,

    Svetlina
    the Telerik team

     


    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top