473,320 Members | 2,073 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,320 software developers and data experts.

disable mouse scroll wheel > prevent problem with dropdown

Hi,

If on an asp.net page the user has just selected a value in a dropdownlist
and scrolls with the wheel of his mouse, the selected value of the
dropdownlist will change.

How could I avoid this.

So how could I disable the mouse scrolling that dropdownlist.
Or how could I disable the mouse-scroll on those pages.
Or...
all other ideas are welcome.

Thx for help,
Nic
Nov 19 '05 #1
1 3300
Forget azbout disabling the behavior of the mouse. The browser just doesn't
have that kind of clout. If you're really concerned (this is the default
behavior of a mouse), you can use JavaScript to remove the focus from the
select object (dropdown list). The mouse scrolls the list because the select
object has the focus, and that is how the select object is designed to
behave when the mouse scrolls.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Neither a follower
nor a lender be.

"nicholas" <mu********@hotmail.com> wrote in message
news:uY**************@TK2MSFTNGP15.phx.gbl...
Hi,

If on an asp.net page the user has just selected a value in a dropdownlist
and scrolls with the wheel of his mouse, the selected value of the
dropdownlist will change.

How could I avoid this.

So how could I disable the mouse scrolling that dropdownlist.
Or how could I disable the mouse-scroll on those pages.
Or...
all other ideas are welcome.

Thx for help,
Nic

Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: jv | last post by:
I have quite a few of continuous form and subform where I do allow scroll bars. I run into problems with the mouse wheel whenever the data on the form does not take up the whole page. In this...
6
by: GGerard | last post by:
Hello I have an Access 2000 form with the following properties: Record Source - Table1
1
by: Marcin | last post by:
Im using MS Access 2000. i have a main form and ona subform that is scrolled vertically. unfortunately i use mouse scroll to scroll this subform. I appreciate your help
2
by: nicholas | last post by:
On an aspx page I have a webform with an asp:DropDownList control. If the visitor selects a value in the dropdown and than want to scroll down the page, he accidently changes the selected value of...
8
by: rodchar | last post by:
hey all, can someone please tell me if you can disable the scroll button for a dropdownlist. For example, when you select an item in a dropdownlist and it still has focus and you accidently hit...
7
by: tommaso.gastaldi | last post by:
This is a curious question. I'd like to know your opinion. I am attaching a drawing resize to a mouse wheel event. Frankly, to me was most natural that, if I mouse wheel UP, the shape gets...
1
by: kallol | last post by:
I have a simple HTML page where I have a form with in a <div style="height: 600px; width: 100%; overflow: auto;">. The mentioned div styles are mandatory to get the expected behavior of the div. ...
1
by: AnotherFranklin | last post by:
I recently edited a 2003 Access Database using the 2007 version. When using it with 2007, using the scroll wheel on the mouse when one is a form will scroll the page up & down. However, one of...
1
by: Paul Brady | last post by:
First, apologies iif this is an old problem. I do read this group, but I may have missed it. When I open a form in A2K to put data into a record (or create a new record), all is well provided I...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.