Version

ItemHovered Property (DataMenuClientEvents)

Defines a handler for ItemHovered client event
Syntax
'Declaration
 
Public Property ItemHovered As String
public string ItemHovered {get; set;}
Example
WebDataMenu1.ClientEvents.ItemHovered = "WebDataMenu1_ItemHovered"
WebDataMenu1.ClientEvents.ItemHovered = "WebDataMenu1_ItemHovered";
// The client event 'ItemHovered' takes two parameters sender and e
// sender  is the object which is raising the event
// e is the DataMenuItemCancelEventArgs
function WebDataMenu1_ItemHovered(sender, e) {

    //Gets the DataMenuItem object that is hovered
    var Item = e.getItem();
    
    //Gets the text of the hovered item
    var ItemText = Item.get_text();

    window.status = "Item '" + ItemText + "' hovered.";
    
}
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also