471,579 Members | 1,290 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,579 software developers and data experts.

DIV Horizontal Scrolling Very Slow

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

Jan 25 '06 #1
2 4083
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

"Eduard" <Ed****@discussions.microsoft.com> a écrit dans le message de news:
10**********************************@microsoft.com...
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

Jan 25 '06 #2
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.
"Steve B." wrote:
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

"Eduard" <Ed****@discussions.microsoft.com> a écrit dans le message de news:
10**********************************@microsoft.com...
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


Jan 25 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by mr_burns | last post: by
4 posts views Thread by anna | last post: by
2 posts views Thread by Just D. | last post: by
14 posts views Thread by Dave | last post: by
3 posts views Thread by sumit | last post: by
2 posts views Thread by seajays | last post: by
reply views Thread by XIAOLAOHU | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by lumer26 | last post: by
reply views Thread by lumer26 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.