// 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(); }