Author: DeborahK | Posted on: 1/26/2010 4:04:10 PM | Views : 309

I am moving an app from Silverlight back to ASP.NET. (Don't ask!) I really liked the ability to highlight ListBox items as the user moved the mouse over the items.
I have been Bing'ing all morning and cannot seem to find any way to do this in ASP.NET with an ASP:ListBox.
I tried setting the onmouseover event for the list items themselves. But that did nothing.
li.Attributes("onmouseover") = "this.style.cursor='hand';this.style.textDecoration='underline';"
I then tried setting onmouseover event for the list itself. I can get the event, but I don't know how to determine which item I am over. I only seem to have the selectedIndex. If I am just moving the mouse, I have no selectedIndex.
Any guestions?
THANKS!
...

Go to the complete details ...