Version

TickmarkMouseDown Property

Gets sets name of javascript function which is called before mousedown event over tickmark html element.
Syntax
'Declaration
 
Public Property TickmarkMouseDown As String
public string TickmarkMouseDown {get; set;}
Example
// The client event TickmarkMouseDown takes two parameters sender and e
// sender  is the object which is raising the event
// e is the SliderTickmarkMouseEventArgs
    function WebSlider1_TickmarkMouseDown(sender, e) {

        var slider = $find("WebSlider1");

        //Checks if control is enabled or disabled
        var check = slider.get_enabled();

        //Gets main value as object
        var value = slider.get_value();

        //Gets percent between edge of track bar(working area) and a tickmark which is closest to location of mouse
        var resultVar = e.get_tickPercent();

        
    }
this.WebSlider1.ClientEvents.TickmarkMouseDown = "WebSlider1_TickmarkMouseDown";
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