troubleshooting Question

scroll event in ASP.NET listbox control

Avatar of aspwv
aspwvFlag for United States of America asked on
ASP.NET
5 Comments1 Solution1119 ViewsLast Modified:
I am new to ASP.NET/web development and am struggling with javascript/client-side events and more specifically, the ASP.NET listbox control.  My problems are 2... in a nutshell, the first is this:  I want to be able to know when a user scrolls an ASP.NET listbox so that I can scroll another listbox to the corresponding item...I have two listboxes with related information and  want the user to be able to scroll one of them manually.  I need to "auto-scroll" the other one to keep pace.  I do not know how to programmatically scroll a listbox and I cannot get an onscroll event handler to pick up the event even if I did.  But then again, I don't know if such an event exists, if I am using it correctly, etc.  That brings me to a second question...how do I know what events a given ASP.NET control will emit.  I am working in visual studio and can look on the "Events" tab of the properties page for a control but those events are server side...how do I know what client side events I can use (e.g. is there even a onscroll event for the listbox...and how would I know?)?
ASKER CERTIFIED SOLUTION
Justin_W

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros