Version

MarginDoubleClick Property

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

        var slider = $find("WebSlider1");

        //Gets minimum value as number
        var minvalue = slider.get_minValueAsDouble();

        //Gets maximum value as number
        var maxvalue = slider.get_maxValueAsDouble();

        //Checks which button is involved in event
        var bool = e.isMinus();

        if (bool == true) {
            alert("The minimum value of the slider is " + minvalue);
        }
        else {
            alert("The maximum value of the slider is " + maxvalue);
        }
        
        }
Me.WebSlider1.ClientEvents.MarginDoubleClick = "WebSlider1_MarginDoubleClick"
this.WebSlider1.ClientEvents.MarginDoubleClick = "WebSlider1_MarginDoubleClick";
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