I added a toolbar and noticed it showed a normal "pointer" for the cursor yet the menu above it all used a "hand" icon. I couldn't figure out why all of the sudden one menu control would use a pointer and the other a hand. The toolbar has tooltips, the menu doesn't. Come to find out when a MenuItem has Items it no longer uses a pointer and instead changes to a hand icon. So in the attached sample, the "Home" button on the toolbar will have a "hand" icon because it has items and all the other buttons will be a normal pointer because they do NOT have items. It makes for a very inconsistent configuration between the menu, toolbar, and items with/without items belonging to it.
If a menu item has an action (an URL or command attached to it), the cursor is Hand, otherwise - Default. This behavior is by design and it's common to many elements of our controls. If you what to explicitly set the cursor, please use the ItemStyle.Cursor and SubMenuItemStyle.Cursor properties.
Thank you for the response and suggestion. Unfortunately it doesn't work. I first tried setting "pointer" for the cursor style which I thought was better for cross browser support in using a pointer instead of a hand, that didn't set a pointer at all! Then I set it to "default" and seems to work, but then not after moving the mouse pointer over the text portion of the toolbar "home" item as in the attached screenshot.
Attachments: Screen shot, ASCX markup
Is your intention to post an answer to your own question?
- If so, then proceed.
- If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
- If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.