473,387 Members | 1,520 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 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 4205
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: mr_burns | last post by:
Hi, Is it possible to disble horizontal scrolling using CSS? I want to try and use two backgrounds, one tiling vertically and part of the body background, which will not force scrolling, but one...
4
by: anna | last post by:
How to tell if a horizontal scrollbar is present? I only want to use scrollTo if horizontal scrollbar is present. window.scrollbars.visibility doesn't specify which scrollbar is present, so it...
2
by: Just D. | last post by:
Does anybody know how to disable the horizontal scrolling on ASPX form? What JAVA script should be used for that? The standard methods don't help and I'm looking for some JAVA function to fire it...
14
by: Dave | last post by:
My web site is not particularly theme-based, but it contains an Art Gallery I'd like to display in a different perspective. I would like to horizontally scroll it, rather than vertically - as if...
3
by: sumit | last post by:
Hi, I made a data grid vertically as well as horizontal scrollable as number of columns are very large!! But when i scroll horizontally then header is not visible as it also gets scrolled...
0
by: Dan Hinsley | last post by:
I just got one of the new Microsoft Mice that has a "tilt wheel" for horizontal scrolling. This works in a listbox in my VB.NET app, but doesn't work for a datagrid that does have a horizontal...
3
by: lolo | last post by:
hello. happy new year. I'm trying to build a website for my wife and she is adament on having a horizontal thumbnail scrolling div. great. I have a good vertical scrolling thing, but can't...
3
by: j0rd4n | last post by:
I have a user control that needs to allow vertical scrolling but not horizontal scrolling. In the user control's resize event, I need to adjust the size of all the children controls. For this to...
2
by: seajays | last post by:
Hi - I've managed to get this site working in Firefox and IE6, without any horizontal scrolling, but for some reason IE7 is insisting on horizontal scrolling by quite a wide margin. Does anyone...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.