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

Scroll problem on Page after DetailTableDataBind with mode ServerOnDemand

1 Answer 13 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Rick
Top achievements
Rank 1
Rick asked on 08 Aug 2012, 09:22 AM
Hello. I have a problem that occurs after filling detailtable of RadGrid  in the mode of ServerOnDemand. In the event handler RadGrid_DetailTableDataBind is filled detailtable. My RadGrid  contained in ContentPage. After filling detailtable occur scroll offset of ContentPage to 0. Property AllowScroll  of RadGrid is false. Property SaveScrollPosition does not help save position scrolling on page. I suspect that some JavaScript in our big project setting scrollTop of page to 0. I've seen demo project demolink and would the same save scroller. 
Which function of your JavaScript code is saved position of scrolling page? And which 
function of your JavaScript code  is sets position of scrolling for page?

1 Answer, 1 is accepted

Sort by
0
Marin
Telerik team
answered on 13 Aug 2012, 07:40 AM
Hello,

 The client-side code in the grid does not change the scroll position of the page. Both properties AllowScroll and SaveScrollPosition refer to the scroll that is on the HTML element of the grid when the grid itself has scrolling enabled. So there is no function in the grid that modifies the scroll position of the page.

All the best,
Marin
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.
Tags
Ajax
Asked by
Rick
Top achievements
Rank 1
Answers by
Marin
Telerik team
Share this question
or