Version

FormatValueLabel Property

Gets sets name of javascript function which is called when control builds string for value-label.
Syntax
'Declaration
 
Public Property FormatValueLabel As String
public string FormatValueLabel {get; set;}
Example
// The client event FormatValueLabel takes two parameters sender and e
// sender  is the object which is raising the event
// e is the SliderFormatValueLabelEventArgs
     function WebSlider1_FormatValueLabel(sender, e) {

         var slider = $find("WebSlider1");

         //Gets format used for value labels
         var valuelabelFormat = slider.get_valueLabelFormat();

         window.status = "The format of the ValueLabel is  " + valuelabelFormat;
         
         //Gets suggested value for label
         var label = e.get_label();

         //Gets value to format as object
         var value = e.get_value();

 
     }
Me.WebSlider1.ClientEvents.FormatValueLabel = "WebSlider1_FormatValueLabel"
this.WebSlider1.ClientEvents.FormatValueLabel = "WebSlider1_FormatValueLabel";
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