I need to figure out how to get a server side control to process the "OnMouseOver" event.
Since server side controls do not have the onmouseover event associated with them, how would you make for example, a DropDownList have a "OnMouseOver" event associate with it?
The DropDownList must be server side. I guess the idea here is to set client-side events on the server-side control.
Any help will be appreciated.
![]() |
0 |
![]() |
You may try something like this:
In server side code
DDL1.Attributes.Add("onmouseover", "javascript:alert('Hi')")
This posting is provided "AS IS" with no warranties, and confers no rights.
![]() |
0 |
![]() |
It works. Thanks.
![]() |
0 |
![]() |