Version

Edit Two Values

WebSlider™ can edit two values, allowing you to edit multiple values or a range of values. To allow your end users to edit a second value, set the EnableSecondaryValue property to True. Once you allow your end user to edit a second value, set the SecondaryValue property to provide a default value.

The example code shows you how to enable a secondary value.

WebSlider Edit Two Values 01.png

In Visual Basic:

Me.WebSlider1.EnableSecondaryValue = True
' Set primary value's default value
Me.WebSlider1.Value = 50
' Set secondary value
Me.WebSlider1.SecondaryValue = 0

In C#:

this.WebSlider1.EnableSecondaryValue = true;
// Set primary value's default value
this.WebSlider1.Value = 50;
// Set secondary value
this.WebSlider1.SecondaryValue = 0;