Hi, i have a min value of 0 and a max value of 5 . Ticks will show 0 1 2 3 4 5
when i change the values with the-/+ buttons the value will be change0,1,2,3,4,5
when i change the values throught moving the slider the values could be1,456 or2,678 or 4,873
how can i prevent this. i want that the values change in one stepe 0,1,2,3,4,5 and not in decimals
Hi,
You can specify the increment amount when button is clicked or arrow key is pressed on WebSlider by setting SmallChange property of the WebSlider. You also have to set SnapToSmallChange property of WebSlider to true. The following links from our website will give you more details:
<http://help.infragistics.com/NetAdvantage/ASPNET/2010.1/CLR3.5/?page=WebSlider_Change_WebSliders_Increment_Value.html ><http://help.infragistics.com/NetAdvantage/ASPNET/2010.1/CLR3.5/?page=Infragistics35.Web.v10.1~Infragistics.Web.UI.EditorControls.WebSlider~SnapToSmallChange.html>
You can achieve above using following lines of code:
this.WebSlider1.SmallChange = 1; this.WebSlider1.SnapToSmallChange = true;
Please let me know if you need any further details.