Ticket Q146311
Visible to All Users

GridViewCommandColumnCustomButton ButtonType.Image Cursor Problem

created 16 years ago

Hi,
I'm using a GridViewCommandColumn with ButtonType.Image. I add a custom button (GridViewCommandColumnCustomButton) and set it's Image.Url proiperty. I also handle the grids client side CustomButtonClick event. This works fine but I want the mouse cursor to change to a 'hand' when the user hovers the mouse over one of the button images. At the moment it stays as the default mouse pointer which is counter intuitive.
I realise I could set the CellStyle.Cursor property, but the link only works when the user clicks the custom button image, and not the surrounding cell area (padding etc), so again this could be confusing for a user. Can I accomplish this somehow?
Many thanks,
Ben S

Comments (1)

    Found the solution: Use the grid views Styles.CommandColumnItem.Cursor property.

    Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

    Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.