I did try the solution but it only fix for situation where decimal are handled. In my case there is no decimals.
I came up wit hthe following:
I've found that the setting of the steps are "discrete steps", what it's actually means is left to be clearly defined (for my understanding). But when then minimum value of the slider is 0 ,then you need to add 1 to the actual value of your steps.
i.e : if slider1.Max =5 and slider1.Min =0 and slider1.steps=5 then the value 2 will be skipped in favor of 3.
The rationale behind if im right is that it actually divide the range in 2 equal part and if the mean point is a decimal it rounds it to the higher integer and jump that one.
raymon2683
Member
6 Points
25 Posts
Re: ASP.NET AJAX Slider skips steps
May 04, 2012 02:07 PM|LINK
Thanks,
I did try the solution but it only fix for situation where decimal are handled. In my case there is no decimals.
I came up wit hthe following:
I've found that the setting of the steps are "discrete steps", what it's actually means is left to be clearly defined (for my understanding). But when then minimum value of the slider is 0 ,then you need to add 1 to the actual value of your steps.
i.e : if slider1.Max =5 and slider1.Min =0 and slider1.steps=5 then the value 2 will be skipped in favor of 3.
The rationale behind if im right is that it actually divide the range in 2 equal part and if the mean point is a decimal it rounds it to the higher integer and jump that one.