Version

ButtonMouseOver Property

Gets sets name of javascript function which is called when html element of minus or plus button gets mouseover event of a browser.
Syntax
'Declaration
 
Public Property ButtonMouseOver As String
public string ButtonMouseOver {get; set;}
Example
// The client event ButtonMouseOver takes two parameters sender and e
// sender  is the object which is raising the event
// e is the SliderButtonMouseEventArgs
      
function WebSlider1_ButtonMouseOver(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();

      //Checks which button is involved in the event.
      //True for minus button and false for plus button.
      var button = e.isMinus();
      
      if(button == true)
      {
           window.defaultStatus =(minvalueAsDouble + "  is the minimum value of the slider");
      }
      else
      {
           window.defaultStatus = (maxvalueAsDouble + "  is the maximum value of the slider");
      }
      
      }
Me.WebSlider1.ClientEvents.ButtonMouseOver = "WebSlider1_ButtonMouseOver"
this.WebSlider1.ClientEvents.ButtonMouseOver = "WebSlider1_ButtonMouseOver";
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