Click here to Skip to main content
15,891,777 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In my application I'm using five Image buttons, in that some buttons are some times disabled. But my question is when the button is disabled if I move my cursor to that button it will show hand symbol. Here I don't want to view hand symbol if I point my cursor to that button.

So How can I fix this problem please?


Thanks in Advance
Posted
Updated 26-Sep-13 23:32pm
v3

use the below code if you disabling it from code behind

btnSearch.Style.Add  ("cursor", "default");     
 
Share this answer
 
XML
<style type="text/css">
       .cssClass
       {
           cursor:default;

       }
   </style>




<asp:linkbutton id="lnkSubmit" runat="server" text="Display" enabled="false" cssclass="cssClass" xmlns:asp="#unknown">
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900