Version

FormatToolTip Property

Gets sets name of javascript function which is called before tooltip is displayed. It allows to modify appearance of tooltip and its text.
Syntax
'Declaration
 
Public Property FormatToolTip As String
public string FormatToolTip {get; set;}
Example
WebDataGrid1.Behaviors.VirtualScrolling.VirtualScrollingClientEvents.FormatToolTip = "WebDataGrid_FormatToolTip"
WebDataGrid1.Behaviors.VirtualScrolling.VirtualScrollingClientEvents.FormatToolTip = "WebDataGrid_FormatToolTip";
// The client event 'FormatToolTip' takes two parameters sender and e
// sender  is the object which is raising the event
// e is the VirtualScrollingFormatToolTipEventArgs 

function WebDataGrid_FormatToolTip(sender, e) {

    //Sets the text in the tooltip to color red.
    e.set_text('<span style="color:red">' + e.get_text() + '</span>');          

}
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