imagebutton:change the cursor from the server

N

Naim Rizk

the imagebutton has a hand as the default cursor style.
how can i change the cursor from the server (without client side
script).

because here's the problem: I have an imagebutton. On the page load,
it's either enabled or disabled.
if it's enabled, no problem...

if it's disabled i don't want the hand cursor to appear when the mouse
is over the control but unfortunately i can't do this with javascript
onmouseover event because the control is disabled.
on the other hand if i don't disable the control, i can change the
cursor but i can't prevent the page to be postback.

so any idea ?
thx
 

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,537
Members
45,020
Latest member
GenesisGai

Latest Threads

Top