Linkbutton - mouse curser

K

K B

Silly question but I can't find the answer. I have linkbuttons and I've
noticed that the mouse cursor doesn't change to a hand or an arrow when
I mouse over it...it just stays an i-beam. I'm just using the linkbutton
control in VS; I can't use hyperlinks for this.

Any suggestions appreciated.
Thanks,
KB
 
E

Eliyahu Goldin

Try something like

myButton.Atributes["onmouseover"]="this.style.cursor='hand'";
myButton.Atributes["onmouseout"]="this.style.cursor='auto'";

Eliyahu
 

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,536
Members
45,014
Latest member
BiancaFix3

Latest Threads

Top