Version

Change WebSlider’s Increment Value

Your end user can change WebSlider’s value in various different ways; they can click the increment buttons, drag the thumb, and click the track or tick marks. In addition, keyboard keys, such as the arrow and page keys, can change WebSlider’s value.

There are several properties you can set to specify the amount of change in WebSlider’s value when your end user clicks a button or presses a key.

  • SmallChange  — Specifies the increment amount when your end user clicks a button or presses an arrow key.

  • LargeChange  — Specifies the increment amount when your end user presses PAGE UP or PAGE DOWN.

The following example code demonstrates how to set the small and large increments of WebSlider.

In Visual Basic:

Me.WebSlider1.SmallChange = 1
Me.WebSlider1.LargeChange = 5

In C#:

this.WebSlider1.SmallChange = 1;
this.WebSlider1.LargeChange = 5;