Version

ValueChanging Property (SliderClientEvents)

Gets sets name of javascript function which is called before value is changed.
Syntax
'Declaration
 
Public Property ValueChanging As String
public string ValueChanging {get; set;}
Example
// The client  event ValueChanging takes two parameters sender and e
// sender  is the object which is raising the event
// e is the SliderValueChangingEventArgs
function WebSlider1_ValueChanging(sender, e) {
    var slider = $find("WebSlider1");

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

   //Gets maximum value as number
    var maxvalueAsDouble = slider.get_maxValueAsDouble();
   
   //Gets old value as object
    var oldvalue = e.get_oldValue();
   
   //Gets old value as percent
    var oldvalueAsPercent = e.get_oldValueAsPercent();
   
   //Gets new value as object
    var newvalue = e.get_newValue();

   //Gets new value as percent
    var newvalueAsPercent = e.get_newValueAsPercent();
    
    
 }
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