DIV Horizontal Scrolling Very Slow

G

Guest

I have a ASP.Net datagrid wrap in the following div:
<DIV id="divPart2" style="OVERFLOW: hidden">.

Another div controls the horizontal scrolling:
<DIV id="scroll1" style="OVERFLOW: scroll; WIDTH: 800px; LINE-HEIGHT: 0px;
HEIGHT: 17px" onscroll="javascript:
document.getElementById('divPart2').scrollLeft = this.scrollLeft;"> scrolls
the datagrid horizontally.

When the horizontal scroll box is dragged or any of the scrollbar arrows is
clicked, the datagrid scrolls at a normal speed. However, when you click on
the scroll bar outside the scroll box, the horizontal scrolling is very slow.
The scrollLeft value is a sequential number starting from 1. This problem
happens only in WinXP but not in Win2000 and Win2003 server.

Appreciate your help.
Ed
 
S

Steve B.

Take a look inside the performance settings tab on the client computer.
There is an option that "smooth" the scrolling.
This option is activated on WinXP by default, but not on Servers editions.

Steve
 
G

Guest

Hi Steve,

I tried unchecking "smooth scrolling" but it did not fix the problem.
However, when I changed the performance setting to "Adjust for best
performance", it corrected the problem, although it changed the appearance of
the scroll bar. I will check with the users if this is an acceptable
solution.

Thanks for your response.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,566
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top