// The client event ThumbMouseOver takes two parameters sender and e // sender is the object which is raising the event // e is the SliderThumbMouseEventArgs function WebSlider1_ThumbMouseOver(sender, e) { var slider = $find("WebSlider1"); //Checks which thumb is involved in event //True means secondary thumb and false means main thumb var thumb = e.isSecondary(); if (thumb == true) { //Gets value at the secondary thumb var secondaryValue = slider.get_secondaryValue(); window.status = "Secondary Value is " + secondaryValue; } else { //Gets value at the main thumb var mainValue = slider.get_value(); window.status = "Main Value is " + mainValue; } }
Me.WebSlider1.ClientEvents.ThumbMouseOver = "WebSlider1_ThumbMouseOver"
this.WebSlider1.ClientEvents.ThumbMouseOver = "WebSlider1_ThumbMouseOver";
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