Version

ThumbMouseDown Property

Gets sets name of javascript function which is called when html element of thumb gets mousedown event of a browser.
Syntax
'Declaration
 
Public Property ThumbMouseDown As String
public string ThumbMouseDown {get; set;}
Example
// The client event ThumbMouseDown takes two parameters sender and e
// sender  is the object which is raising the event
// e is the SliderThumbMouseEventArgs
 function WebSlider1_ThumbMouseDown(sender, e) {

     var slider = $find("WebSlider1");

     //Checks which thumb is involved in the 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();

      }
     else {
         //Gets value at the main thumb
         var mainValue = slider.get_value();
       
     }
 }
Me.WebSlider1.ClientEvents.ThumbMouseDown = "WebSlider1_ThumbMouseDown"
this.WebSlider1.ClientEvents.ThumbMouseDown = "WebSlider1_ThumbMouseDown";
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