Version

ValueChanged Property (SliderClientEvents)

Gets sets name of javascript function which is called after value was changed.
Syntax
'Declaration
 
Public Property ValueChanged As String
public string ValueChanged {get; set;}
Example
// The client event ValueChanged takes two parameters sender and e
// sender  is the object which is raising the event
// e is the SliderValueChangedEventArgs 

function WebSlider1_ValueChanged(sender, e) {

    var slider1 = $find("WebSlider1");

    var slider2 = $find("WebSlider2");
    
    //Gets new value of WebSlider1
    var newvalueSlider1 = e.get_newValue();

    //Sets the value of WebSlider2 to the new value of WebSlider1
    slider2.set_value(newvalueSlider1);
}
Me.WebSlider1.ClientEvents.ValueChanged = "WebSlider1_ValueChanged"
this.WebSlider1.ClientEvents.ValueChanged = "WebSlider1_ValueChanged";
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