imagebutton:change the cursor from the server

Discussion in 'ASP .Net Web Controls' started by Naim Rizk, Sep 12, 2003.

  1. Naim Rizk

    Naim Rizk Guest

    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

    *** Sent via Developersdex http://www.developersdex.com ***
    Don't just participate in USENET...get rewarded for it!
     
    Naim Rizk, Sep 12, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. David Hearn
    Replies:
    2
    Views:
    6,130
    David Hearn
    Aug 10, 2004
  2. =?Utf-8?B?VG9tYXMgS2VwaWM=?=

    Changing DEFAULT cursor to WAIT cursor in ASP

    =?Utf-8?B?VG9tYXMgS2VwaWM=?=, Apr 5, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    2,378
    Bruce Barker
    Apr 5, 2005
  3. invy
    Replies:
    4
    Views:
    422
    CBFalconer
    Dec 28, 2006
  4. dmaziuk
    Replies:
    3
    Views:
    630
    Chris Gonnerman
    Jan 25, 2011
  5. Julia

    changing cursor of ImageButton

    Julia, Jun 26, 2006, in forum: ASP .Net Web Controls
    Replies:
    2
    Views:
    436
    Julia
    Jun 27, 2006
Loading...

Share This Page