472,983 Members | 2,568 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,983 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 4170
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...
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
4
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

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.