mouse events for asp controls

A

asper

How do i check if mouse is over a particular control on my aspx page?
I really want to use VB.NET not java. I use VS2005 asp 2.0
Thank you

ASPER
 
B

bruce barker \(sqlwork.com\)

this must be done in client script (usually javascript). youcan track the
mouse, and calc if its over a given control, but its easier to use mouse
enter and exit event handlers

<button onmouseover="this.style.color='red'"
onmouseout="this.style.color='black'">hello</button>

-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,535
Members
45,007
Latest member
obedient dusk

Latest Threads

Top