Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > mouse events for asp controls

Reply
Thread Tools

mouse events for asp controls

 
 
asper
Guest
Posts: n/a
 
      07-14-2006
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


 
Reply With Quote
 
 
 
 
bruce barker \(sqlwork.com\)
Guest
Posts: n/a
 
      07-14-2006
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)

"asper" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
dynamically adding controls with events (but events are not firing) SevDer ASP .Net 2 11-13-2007 06:33 AM
Heres a mouse theres a mouse what a mouse do? unholy Gaming 37 09-17-2006 08:59 AM
mouse events in asp controls asper ASP .Net Web Controls 1 07-14-2006 05:03 PM
runtime events that generate other controls and events newbye ASP .Net 0 07-06-2006 06:27 PM
Events Events Events Please Help Chris ASP .Net Web Controls 0 08-30-2005 08:21 PM



Advertisments