g RadScriptManager Keeps HTTP Posting causing Scrolling of page not smooth

3 posts, 0 answers
  1. Catto
    Catto avatar
    3 posts
    Member since:
    Jul 2010

    Posted 11 Jun 2013 Link to this post


    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. Plamen
    Plamen avatar
    3080 posts

    Posted 14 Jun 2013 Link to this post


     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?

    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.
  3. msigman
    msigman avatar
    141 posts
    Member since:
    Apr 2008

    Posted 19 Jun 2013 Link to this post

    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) {}  
Back to Top