Scrollbar jumps uncontrollably

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Dec 2008
Posts: 37
Reputation: kischi is an unknown quantity at this point 
Solved Threads: 0
kischi kischi is offline Offline
Light Poster

Scrollbar jumps uncontrollably

 
0
  #1
Feb 19th, 2009
Hi I have a scrollbar on my page with a lot of text. And sometimes when I start scrolling, it jumps up again.

You can see what I mean on: http://radiojazz.dk/udsendelser.aspx

I have tried to write:
  1. MaintainScrollPositionOnPostback="true"
on the top of my aspx page

but it won't work, for that, does anyone have any other ideas?
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 2,052
Reputation: serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light 
Solved Threads: 118
Featured Poster
serkan sendur serkan sendur is offline Offline
Postaholic

Re: Scrollbar jumps uncontrollably

 
0
  #2
Feb 22nd, 2009
i remember having a similar error last year when i made excessive use of ajax. such errors caused by javascript. try to remove unneccassary javascripts from your page, and if also remove ajax update panels and such.
Due to lack of freedom of speech, i no longer post on this website.
Reply With Quote Quick reply to this message  
Join Date: Dec 2008
Posts: 37
Reputation: kischi is an unknown quantity at this point 
Solved Threads: 0
kischi kischi is offline Offline
Light Poster

Re: Scrollbar jumps uncontrollably

 
0
  #3
Feb 23rd, 2009
I don't have any javascript or any ajax.
I only have C#

Any other ideas? :-D
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 2,052
Reputation: serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light 
Solved Threads: 118
Featured Poster
serkan sendur serkan sendur is offline Offline
Postaholic

Re: Scrollbar jumps uncontrollably

 
0
  #4
Feb 23rd, 2009
you are using update panel, which adds javascript :

i copied these from your webpage :

  1. <script src="/ScriptResource.axd?d=mSjW9JANqbhCsElyz1V52TzyOvpnaCOJPu_mzsHkeJ8DDzPS6SIawxkro_B_SxotuXAhSxWMXllh4TesVL_AWLEy24GteHVc0IhLWKzMqac1&amp;t=633662346476406250" type="text/javascript"></script>
  2. <script type="text/javascript">
  3. //<![CDATA[
  4. if (typeof(Sys) === 'undefined') throw new Error('ASP.NET Ajax client-side framework failed to load.');
  5. //]]>
  6. </script>
  7.  
  8. <script src="/ScriptResource.axd?d=mSjW9JANqbhCsElyz1V52TzyOvpnaCOJPu_mzsHkeJ8DDzPS6SIawxkro_B_Sxot0IS9s2FTzIVg00RLpWcPxt20mgd445hoHumqpsWl8mY0GlAXaUwVS28hiAicJsI40&amp;t=633662346476406250" type="text/javascript"></script>
  9. <script src="/ScriptResource.axd?d=mSjW9JANqbhCsElyz1V52TzyOvpnaCOJPu_mzsHkeJ8DDzPS6SIawxkro_B_SxotVex1U7VHZFN6DKJ5mmf-Kw2s8QtzSwncEP7EThtX2N41&amp;t=633662346476406250" type="text/javascript"></script>
  10.  
  11. <a href="Default.aspx"> <div class="top"></div></a>
  12.  
  13.  
  14.  
  15.  
  16.  
  17. <span id="menu"><a href="default.aspx">Forside</a></span>
  18. <span id="menu"><a href="udsendelser.aspx">Udsendelser</a></span>
  19. <span id="menu"><a href="http://83.133.64.106:8000/listen.pls">Netradio</a></span>
  20. <span id="menu"><a href="venner.aspx">Radio Jazz Venner</a></span>
  21. <span id="menu"><a href="omradiojazz.aspx">Om Radio Jazz</a></span>
  22. <span id="menu"><a href="links.aspx">Links</a></span>
  23. <span class="dato_master">
  24.  
  25. <span id="ctl00_date">23. februar 2009</span>
  26.  
  27.  
  28. </span>
  29. <span class="ur">
  30.  
  31. <span id="ctl00_lblcurrenttime">06:19:05</span>
  32. </span>
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42. <script type="text/javascript">
  43. //<![CDATA[
  44. Sys.WebForms.PageRequestManager._initialize('ctl00$ScriptManager1', document.getElementById('aspnetForm'));
  45. Sys.WebForms.PageRequestManager.getInstance()._updateControls(['tctl00$UpdatePanel1'], [], [], 90);
  46. //]]>
  47. </script>
  48.  
  49. <div id="ctl00_UpdatePanel1">
  50.  
  51. <span id="ctl00_Timer1" style="visibility:hidden;display:none;"></span>
Due to lack of freedom of speech, i no longer post on this website.
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 2,052
Reputation: serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light 
Solved Threads: 118
Featured Poster
serkan sendur serkan sendur is offline Offline
Postaholic

Re: Scrollbar jumps uncontrollably

 
0
  #5
Feb 23rd, 2009
try to remove update panels, script manager from your webpage, you will see the scroll issue resolved.
Due to lack of freedom of speech, i no longer post on this website.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC