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

g RadScriptManager Keeps HTTP Posting causing Scrolling of page not smooth

2 Answers 30 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Catto
Top achievements
Rank 1
Catto asked on 11 Jun 2013, 08:42 PM
Hello;

As an end user when visiting the web page the scrolling vertically of the page is not smooth. It flickers and jumps back.
When I open Fiddler or Firebug and look at the HTTP requests there is are constant  posts from the RadScriptManager about every second. I think this causes the scrolling issue.
I think the cause is a timer_tick for a clock that is causing the scrolling issue.
What are some ideas to resolve this issue and allow scrolling to work normally?

Thank you;

2 Answers, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 14 Jun 2013, 01:56 PM
Hi,

 RadScriptManager is not performing such requests so would you please share which other controls are you using on the page so we could be more helpful?

Regards,
Plamen
Telerik
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 the blog feed now.
0
msigman
Top achievements
Rank 2
answered on 19 Jun 2013, 07:26 PM
Hi Catto,

As Plamen said, this is not really caused by RadScriptManager.  However, I understand that you have a timer on the page doing AJAX postbacks every second.  As you suspect, these are no doubt what's causing the jerky scrolling.  One approach would be to disable the feature that causes the scroll position to change during a postback, as described in this post: http://www.telerik.com/community/forums/aspnet-ajax/ajax/how-do-you-prevent-browser-scrolling-after-ajax-postback.aspx

// Prevent MS Ajax from changing scroll position after ajax postback.  
function scrollTo(x,y) {}  
Tags
Ajax
Asked by
Catto
Top achievements
Rank 1
Answers by
Plamen
Telerik team
msigman
Top achievements
Rank 2
Share this question
or