This is a migrated thread and some comments may be shown as answers.

Scroll Bar Problems

1 Answer 82 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Brygom
Top achievements
Rank 1
Brygom asked on 12 Apr 2010, 06:44 PM
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

1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 15 Apr 2010, 03:25 PM
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.
Tags
Splitter
Asked by
Brygom
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or