Last post Jul 26, 2012 04:34 PM by itlori
May 08, 2008 08:04 AM|_Azrael_|LINK
Hi does anyone know how to change the cursor style of an ASP.NET control to "hand"? I have a button and i want it's mouse over to have the hand cursor in server side using C#.
Any help would be greatly appreciated. Thank you so much in advance.
Thanks and Regards,
May 08, 2008 09:30 AM|ramblor|LINK
You can do that using css. Assign a CssClass to your button and then in a stylesheet or inline in the page define the class:
<asp:Button ID="Button1" runat="server" Text="Click Me" CssClass="ButtonClass" />
Jul 26, 2012 04:34 PM|itlori|LINK
I know you posted this years ago but I just had to say THANK YOU! You can't believe how many other threads are out there on this same issue but none provided this perfect answer to what is such a simple process!